Omega Engineering OMB-NETSCAN 1500 User Manual page 184

Ethernet/internet-based data logging & control instrument
Table of Contents

Advertisement

API Command Reference
start
referred to as the Start Trigger. When the unit has recognized that a Start Trigger has been encountered, it will
begin acquiring scans at that point. The first of these scans, the Start Trigger scan, will be time/date stamped for
later reference. Also, when the Start Trigger is recognized, the Triggered Bit (
and the TRIGGER light on the front panel will turn on.
Setting the
after an acquisition. The
unless the re-arm flag is set to
Note: If the trigger start event is level or alarm, at least one pre-trigger scan must be programmed to initiate
stop
defines the event that is to take place in order for the unit to stop acquiring scans. This event is referred to
as the Stop Trigger. When the unit has recognized that a Stop Trigger has been encountered, it will stop
acquiring scans at that point (unless post-stop count is defined; see
Stop Trigger scan, will be time/date stamped for later reference. Also, when the Stop Trigger is recognized, the
Trigger Bit (
Setting the
with Post-Stop Count (
acquisition immediately terminated.
re-arm
parameter is set, then after the Stop Trigger is recognized and the acquisition terminated a new acquisition (with
the same configuration) will be enabled automatically. In other words, after the termination of the previous
acquisition, the unit will immediately begin another acquisition of the same configuration. Otherwise, if the
parameter is not set, new acquisitions will remain disabled after the initial acquisition has terminated.
sync
determines if the Start Trigger should be synchronized with the internal Pre-Trigger Scan Interval (
command value. If the Pre-Trigger Count (
if the Start Trigger should be synchronized with the internal Pre-Trigger Timebase Interval. If so, then the Start
Trigger, regardless of what point in time it occurred, will be synchronized with the next occurrence of the Pre-
Trigger Scan Interval "tick." In other words, if the real Start Trigger occurs between Pre-Trigger Scan Interval
"ticks," then the acquisition will not begin until the next "tick" of the Pre-Trigger Scan Interval. Otherwise, the
acquisition will begin as soon as the Start Trigger is encountered.
EXAMPLE
PRINT#1, "I12:00:00:0,
00:01:00.0X"
PRINT#1, "Y100,10000,0X"
PRINT#1, "T1,7,0,1X"
PRINT#1, "@X"
A-44
defines the event that is to take place in order for the unit to begin acquiring scans. This event is
start
parameter to
0
will disable the acquiring of scan; this may be performed at any time during or
start
parameter will automatically be set to
1
.
scanning in order for the event to be recognized.
02
) of the Status Byte will be cleared and the TRIGGER light on the front panel will turn off.
parameter to
will have the same effect as setting the
stop
0
Y
) command set to
determines if, after the initial acquisition, the acquisition should be re-enabled automatically. If this
command). The last scan collected, the
Y
0
. In both cases, the Start Trigger scan will be collected and the
Y
) command is defined, this parameter will be examined to determine
' Collect scans once every 12 hours then when Start
Trigger occurs collect them once every minute
' Set pre-trigger count to 100, post-trigger count to 10000
and define no post-stop count
' Start Trigger On (
trigger count (10000) and synchronize the Start
Trigger to the pre-trigger timebase interval
' Issue Start Trigger (acquisition may begin as much as 12
hours from now because we synchronized with pre-
trigger timebase interval)
02
) of the Status Byte will be set
0
upon the termination of an acquisition
parameter to
(Stop on Count)
stop
1
@
) command, Stop Trigger on post-
NetScan User's Manual
Appendix A
I
)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents