:STATus:OPERation:CONDition
Description
This command returns the content of the operation condition register.
Note
Reading the register has no effect on the content of the register.
Note
This regiser represents all ongoing operations and the current state of the device.
If the device is NOT locked most of the bits are not relevant and do NOT reflect the current
state of the device. In the unlocked state only bit 9
and bit 10
are important.
Syntax | Response |
---|---|
:STATus:OPERation:CONDition? |
<numeric > |
Response value | description |
---|---|
<numeric > |
value of the operation condition register in range from 0 to 32767 |
Bit value | Code | Description |
---|---|---|
Bit 0 - 1 | CALIbrating |
The device is calibrating. |
Bit 1 - 2 | SETTling |
This bit is not used. |
Bit 2 - 4 | RANGing |
This bit is not used. |
Bit 3 - 8 | SWEeping |
The device is performing a sweep. |
Bit 4 - 16 | MEASuring |
The device is performing a measurement. |
Bit 5 - 32 | Waiting for TRIGger Summary |
The device is waiting for a trigger signal. |
Bit 6 - 64 | Waiting for ARM Summary |
This bit is not used. |
Bit 7 - 128 | CORRecting |
This bit is not used. |
Bit 8 - 256 | Not used |
This bit is not used. |
Bit 9 - 512 | REQuesting device lock |
The device lock is requested (the internal calibration is currently running). |
Bit 10 - 1024 | LOCKing device |
The device is locked (in use). |
Bit 11 - 2048 | Not used |
This bit is not used. |
Bit 12 - 4096 | Not used |
This bit is not used. |
Bit 13 - 8192 | INSTrument Summary |
A summary of the instruments register. |
Bit 14 - 16384 | PROGram Running |
This bit is not used. |
Bit 15 - 32768 | Not used |
This bit is not used. |
Sample usage
Input:
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":STAT:OPER:COND?\n"); Console.WriteLine(visaSession.RawIO.ReadString());