: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 > | MINimum | MAXimum } |
Range from 0 to 65535 |
Numeric data error |
Note
Negative parameter values are treated as two's complement. Positive parameters exceeding the predefined range are bitwise AND masked with the maximal allowed value.
Bit value | Code | Description |
---|---|---|
Bit 0 - 1 | VOLTage |
The quality of the voltage measurement can not be guaranteed. This bit is set when an overload was detected during measurement. |
Bit 1 - 2 | CURRent |
This bit is not used. |
Bit 2 - 4 | TIME |
This bit is not used. |
Bit 3 - 8 | POWer |
This bit is not used. |
Bit 4 - 16 | TEMPerature |
This bit is not used. |
Bit 5 - 32 | FREQuency |
This bit is not used. |
Bit 6 - 64 | PHASe |
This bit is not used. |
Bit 7 - 128 | MODulation |
This bit is not used. |
Bit 8 - 256 | CALIbration |
The quality of the calibration can not be guaranteed. This bit is set when the frequency range of an active full range calibration is not covering the frequency range of a performed measurement. |
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 |
This bit is not used. |
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");
Related commands
:STATus:QUEStionable:CONDition
:STATus:QUEStionable:NTRansition
:STATus:QUEStionable:PTRansition