:CONFigure:STATus?
Flex Apps:
FlexOTO
FlexOTO Instance:
Hardware Diagram
Query Syntax
:CONFigure:STATus?
Query Response
{CORR | INV | QUES}
Description
Queries the status of the Hardware Diagram.
CORR
- The Hardware Diagram setup is correct and can be used for creating a test plan.
INV
- The Hardware Diagram is invalid.
QUES
- The Hardware Diagram is questionable. Use the
:CONFigure:STATus:REASon?
child query to return a string that describes how to remedy the problem with the Hardware Diagram.
Example Python Code
Copy
import pyvisa as visa # import VISA library
visa_address = 'TCPIP0::localhost::hislip0,4880::INSTR'
if 'CORR' in visa_address.query(':CONFigure:STATus?'):
visa_address.write('*CLS')
print('The Hardware Diagram is correct!')
else:
print(visa_address.query(':CONFigure:STATus:REASon?'))