HP 34970A User Manual page 251

Data acquisition / switch unit
Table of Contents

Advertisement

Chapter 5 Remote Interface Reference
Alarm System Overview
Digital I/O Alarm Commands
See also "Using Alarms With the Multifunction Module" in chapter 4
starting on page 130.
CALCulate
:COMPare:TYPE {EQUal|NEQual}[,(
:COMPare:TYPE? [(
Select the comparison mode for alarms on the specified DIO channels.
Select EQUal to generate an alarm when the data read from the port is
equal to CALC:COMP:DATA after being masked by CALC:COMP:MASK .
Select NEQual (not equal) to generate an alarm when the data read
from the port is not equal to CALC:COMP:DATA after being masked by
. The default is " NEQual ". The digital input channels
CALC:COMP:MASK
are numbered "s01" ( LSB ) and "s02" ( MSB ), where s represents the slot.
The :TYPE? query returns the comparison mode setting on the specified
DIO
channels. Returns " EQU " or " NEQ ".
CALCulate
data
:COMPare:DATA <
:COMPare:DATA? [(
Specify the digital pattern for comparisons on the specified DIO
channels. You must specify the digital pattern as a decimal value
between 0 and 255 (binary data is not accepted). The digital input
channels are numbered "s01" ( LSB ) and "s02" ( MSB ), where s represents
the slot number. The :DATA? query returns the comparison pattern as a
decimal value.
@
<
ch_list
ch_list
@
<
>)]
ch_list
>[,(
@
<
>)]
@
ch_list
<
>)]
>)]
253
5

Advertisement

Table of Contents
loading

Table of Contents