Chapter 3
Local Command Set
©
National Instruments Corporation
3-23
StatusState?
Purpose
Get a device’s current self-test status.
Query Syntax
StatusState? <logical address>
<logical address>
is the logical address for the device.
Response
Program response:
<val>
<CRLF>
The value of
<val>
is equivalent to the value of the field in the device’s status register
containing the Ready and Passed bits.
<val>
can be interpreted as follows:
0
The device is Failed and not Ready.
1
The device is Passed and not Ready.
2
The device is Failed and Ready.
3
The device is Passed and Ready.
Console response:
Device at Logical Address <logical address> is Failed and not
Ready
<CRLF>
or
Device at Logical Address <logical address> is Passed and not
Ready
<CRLF>
or
Device at Logical Address <logical address> is Failed and Ready
<CRLF>
or
Device at Logical Address <logical address> is Passed and Ready
<CRLF>
Example
Get self-test status for device at Logical Address 48.
StatusState? 48