CALCulate:COMPare:TYPE {EQUal | NEQual} [, (@<ch_list>)]
CALCulate:COMPare:TYPE? [, (@<ch_list>)]
Configures the selected channels to generate an alarm when a specific bit patterns or bit patterns change is detec-
ted. This command is used in conjunction with the CALCulate:COMPare:DATA command which sets the data bit pat-
terns and the CALCulate:COMPare:MASK command which sets the mask bit patterns.
Parameter Typical return
{EQUal | NEQual}
Default: NEQual
EQU or NEQ
Sets the comparison mode for the specified channels to EQUal: CALC:COMP:TYPE EQU, (@301:302)
– Selects EQUal to generate an alarm or interrupt when the data read from the selected channel is equal to
CALCulate:COMPare:DATA, after masking by CALCulate:COMPare:MASK.
– Selects NEQual (not equal) to generate an alarm or interrupt when the data read from the bank is not equal to
CALCulate:COMPare:DATA, after masking by CALCulate:COMPare:MASK.
– Bits masked off as 0 ("don't care") by CALCulate:COMPare:MASK are ignored.
– A Factory Reset (*RST command) clears the digital pattern and turns off the pattern comparison mode.
Keysight DAQ970A/DAQ973A Programming Guide 65
2 SCPI Programming