:STATus:QUEStionable:ENABle
Description
This command gets or sets the enable mask of the questionable register. Bits of the event register only show in the summary bit, if the corresponding enable bit is 1
. If a bit in the enable register is set to 1
and the corresponding event bit transition occurs, the summary bit will be set.
Syntax | Parameter |
---|---|
:STATus:QUEStionable:ENABle |
<numeric > |
Parameters | accepted format | possible Errors |
---|---|---|
<numeric > |
Range from 0 to 65535 |
OutOfRangeError |
Bit value | code | description |
---|---|---|
Bit 0 - 1 | VOLTage |
The quality of the voltage measurement can not be guaranteed. |
Bit 1 - 2 | CURRent |
The quality of the current measurement can not be guaranteed. |
Bit 2 - 4 | TIME |
The quality of the time measurement can not be guaranteed. |
Bit 3 - 8 | POWer |
The quality of the power measurement can not be guaranteed. |
Bit 4 - 16 | TEMPerature |
The quality of the temperature measurement can not be guaranteed. |
Bit 5 - 32 | FREQuency |
The quality of the frequency measurement can not be guaranteed. |
Bit 6 - 64 | PHASe |
The quality of the phase measurement can not be guaranteed. |
Bit 7 - 128 | MODulation |
The quality of the modulation can not be guaranteed. |
Bit 8 - 256 | CALIbration |
The quality of the calibration can not be guaranteed. |
Bit 9 - 512 | Not used |
This bit is not used. |
Bit 10 - 1024 | Not used |
This bit is not used. |
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 | Command Warning |
Not used by now. |
Bit 15 - 32768 | Not used |
The usage of the most significant bit is not allowed since some controllers may have difficulty reading a 16 bit unsigned integer. |
Sample usage
Enable all changes in the questionable event register to be reported in the summary bit.
Input:
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":STAT:QUES:ENAB 65535\n");