Omega Engineering OMB-CHARTSCAN 1400 User Manual page 134

Portable data recorder
Table of Contents

Advertisement

API Commands
Command
Set Trigger Level
L
Set SRQ Mask
M
Set Measuring Mode
M#
Set Event Mask
N
Set Digital Outputs
O
Program Trigger Times
P
Query
?
Set Query Terminator
Q
Query Card Data
QC?
A-8
Syntax
Sets the level against which the testing of channel readings should
Lchan,
be performed where
level,
<
hyst
chan
where max = 128 for ChartScan/1400.
is the level against which the readings are tested to
level
determine if the level has been exceeded.
is the hysteresis level.
hyst
Query the the current level settings
L?
Use the IEEE 488 Service Request (SRQ) mechanism to inform
Mmask
the IEEE 488 bus controller of certain conditions, where
is in the form of the number
summed from the following conditions:
- Power-on default mask value.
000
- SRQ On Alarm.
001
- SRQ On Trigger Event.
002
- SRQ On Ready.
004
- SRQ On Scan Available.
008
- SRQ On Message Available (MAV).
016
- SRQ On Event Detected.
032
- SRQ On Buffer Overrun.
128
Query the SRQ mask.
M?
Specify measuring mode. Valid options for
M#mode
cycle integration / high-speed multi-channel mode, and
Single channel high-speed burst mode.
Directly sets the Event Status Enable Register (ESE) where
Nmask
is in the form of the number
summed from the following conditions:
- Clear event mask
000
- Acquisition complete
001
- Stop Event
002
- Query Error
004
- Device Dependent Error
008
- Execution Error
016
- Command Error
032
- Buffer 75% Full
064
- Power On
128
Query the Event mask.
N?
Set any of the 32 digital outputs (separated into four 8-bit banks)
Obank1,
to a specified setting, where
bank2,
argument in the form of the number
bank3,
<
when converted to binary format represents the desired
bank4
255
settings for the 8-bit bank.
Query current state of digital output.
O?
Set the trigger start and/or stop times for an acquisition configured
Pstart,
for start and/or stop on absolute time, where
stop
are in the standard time/date stamp format:
mm/dd/yy
is tenths of a second,
T
Query current start and stop times.
P?
Query present configuration or mode of command preceding the
?
Set the query terminators with the following parameters:
Qresp,
the response terminator,
hll,
is the terminator which follows each scan output, and
scan,
the terminator which follows each trigger block output.
block,
determines whether or not a separator character should be
sep
sep
used. Valid options for
returned buffered scan data when it is read, and
separator whose value is determined by the current Set User
Terminator (
when it is read.
Query current terminator settings.
Q?
Read back card ID and calibration information from the card
QC?
previously selected by the Select Card (
Description
is the channel number such that
chan
,
max
such that
nnn
such that
nnn
(
bankn
nnn
where
is hours,
is minutes,
H
MM
is month,
mm
is the channel terminator,
hll
are:
- Place no separators in
sep
0
) command setting into the returned buffer data
V
Appendix A
<
1
mask
<
<
is
000
nnn
255
are:
- Line
mode
0
-
1
mask
<
<
is
000
nnn
255
=
,
,
,
) is an
n
1
2
3
4
such that
<
000
nnn
and
start
stop
HH:MM:SS:T,
is seconds,
SS
is day, and
is year.
dd
yy
?
is
resp
scan
is
block
- Place a
1
) command.
C#
ChartScan User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-chartscan-1400

Table of Contents