Chapter 5 Remote Interface Reference

Alarm System Overview

CALCulate

>[,(@<x

 

:COMPare:MASK <

>)]

:COMPare:MASK? [(@<x

>)]

 

Specify the v vz

for comparisons on the specified DIO channels.

You must specify the

parameter as a decimal value between

0 and 255 (binary data is not accepted). Specify 1’s for active bits or 0’s for “don’t care” bits. The digital input channels are numbered “ 01” (LSB) and “ 02” (MSB), where represents the slot number. The :MASK? query returns the mask pattern as a decimal value.

CALCulate

 

 

:COMPare:STATe {OFFON}[,(@<x

>)

:COMPare:STATe? [(@<x

>)]

 

Disable or enable the comparison mode on the specified DIO channels.

Note that the specified channels y have to be part of the scan list to generate an alarm. Alarms are evaluated continuously as soon as you enable them. Alarms are evaluated constantly on the multifunction

module, but alarm data is stored in reading memory during a scan. The :STAT? query returns the state of the comparison mode.

Returns “0” (OFF) or “1” (ON).

254

Page 252
Image 252
HP 34970A manual CALCulate COMPareMASK COMPareMASK? @x, CALCulate COMPareSTATe OFFON,@x COMPareSTATe? @x