EasyManuals Logo

HP 34970A User Manual

HP 34970A
429 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #251 background imageLoading...
Page #251 background image
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}[,(
@<ch_list>)]
:COMPare:TYPE? [(
@<ch_list>)]
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
CALC:COMP:MASK. The default is “NEQual”. The digital input channels
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
:COMPare:DATA <
data>[,(@<ch_list>)]
:COMPare:DATA? [(
@<ch_list>)]
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.
5
Chapter 5 Remote Interface Reference
Alarm System Overview
253

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 34970A and is the answer not in the manual?

HP 34970A Specifications

General IconGeneral
BrandHP
Model34970A
CategorySwitch
LanguageEnglish

Related product manuals