Assign digital alarm output – Measurement Computing TempScan/1100 User Manual
Page 219

TempScan / MultiScan User’s Manual
889897
API
Command Reference A-23
A
- Assign Digital Alarm Output
TYPE
System
EXECUTION
Deferred
SYNTAX
Achans,
output
Set alarm condition where
chans
is the channel(s) to assign to the digital
output.
chans
may be in two forms:
chan
(for a single channel where
1
<
chan
<
max) or
first-last
(for a range of channels where
1
<
first
<
last
<
max
), where
max
=
992
for the TempScan/1100 and
max
=
744
for the
MultiScan/1200.
output
is the digital output number with which to associate the channel(s),
where
1
<
output
<
32
. The value of
0
(null) will unassign a digital alarm
condition by disassociating the channel(s) from any digital output.
A?
Query channels assigned to digital output.
DESCRIPTION
The Assign Digital Alarm Output (
A
) command is used to assign alarm states of a particular channel, or range of
channels, to individual outputs of the 32 available digital alarm outputs.
To use the alarms, the relevant channels must be part of the channel scan. After an acquisition has been
configured and armed, the alarms will be enabled and monitored. Since alarming is totally independent of
buffered operations, the assignment of trigger events or scan intervals is not required.
If preferred, an alarm event for a specific channel can be used as a stimulus for a digital (TTL) output signal. In
turn, this signal can be used to set off an audible alarm (user-supplied) or to communicate to another device that
the alarm state has occurred.
Thirty-two (32) digital alarm outputs are available via the TempScan/1100 or MultiScan/1200 rear-panel DB50
connector. Although analog input channels on the Exp/10A or Exp/11A expansion unit can be used to stimulate
alarms, neither of these expansion units provides digital alarm outputs. Consequently, regardless of the number
of connected expansion units, the TempScan/1100 or MultiScan/1200 system can only provide 32 digital alarm
outputs.
Note: To enable alarm monitoring prior to, or have an alarm condition serve as, the Trigger or Stop event, you
must first configure the acquisition with at least one Pre-Trigger scan.
EXAMPLE
PRINT#1,"OUTPUT07;C1-32, 1,
-100.0, 100.0, 1.0X"
‘ Configure Channels 1 - 32 with a low setpoint of -100.0, a
high setpoint of 100.0, and a hysteresis of 1.0
PRINT#1,"OUTPUT07;A1,1X"
‘ Assign Channel 1 alarm to digital output 1
PRINT#1,"OUTPUT07;A2-16,2X"
‘ Assign Channels 2 - 16 alarms to digital output 2
PRINT#1,"OUTPUT07;A17-25,3X"
‘ Assign Channels 17 - 25 alarms to digital output 3
PRINT#1,"OUTPUT07;A26-32,32X"
‘ Assign Channels 26 - 32 alarms to digital output 32