Measurement Computing TempScan/1100 User Manual
Page 205

TempScan / MultiScan User’s Manual
889897
API
Command Reference A-9
Command
Syntax
Description
Obank1,
bank2,
bank3,
bank4
Set any of the 32 digital outputs (separated into four 8-bit
banks) to a specified setting, where
bankn
(
n
=
1
,
2
,
3
,
4
)
is an argument in the form of the number
nnn
such that
000
<
nnn
<
255
when converted to binary format
represents the desired settings for the 8-bit bank.
O
Set Digital Outputs
O?
Query current state of digital output.
Pstart,
stop
Set the Trigger and/or Stop times for an acquisition configured
for start and/or stop on absolute time, where
start
and
stop
are in the standard Time/Date input format:
hh:mm:ss:t,MM/DD/YY
where
hh
is in hours,
mm
is in
minutes,
ss
is in seconds,
t
is in tenths of a second,
MM
is
the month,
DD
is the day, and
YY
is the year.
P
Program Trigger Times
P?
Query current start and stop times.
Qresp,
hll,
scan,
block,
sep
Set the query terminators with the following parameters:
resp
is the response terminator,
hll
is the channel terminator,
scan
is the scan terminator, and
block
is the Trigger
Block terminator.
sep
is the separator terminator which determines whether or
not a separator character should be used. Valid options for
sep
are:
0
- Place no separators in returned buffered scan
data when it is read, and
1
- Place a separator whose value
is determined by the current Set User Terminator (
V
)
command setting into the returned buffer data when it is
read.
Q
Set Query Terminator
Q?
Query current terminator settings.
QC?
Query Card Data
QC?
Read back the card identification and calibration information
from the scanning card previously selected by the Select
Card (
C#
) command.
Rtype
Read scan data from the Acquisition Buffer where
type
is the
type of data request being made. Valid options for
type
are:
1
- Read the oldest scan currently residing in the
Acquisition Buffer,
2
- Read the oldest complete Trigger
Block currently residing in the Acquisition Buffer, and
3
-
Read all the scan data that currently resides in the
Acquisition Buffer.
R
Read Buffered Data
R?
Query the contents of the Acquisition Buffer.
R#
Read Last Readings
R#chans
Queries the last readings from the HLL Registers for specified
channels.
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.
Stime
Set the internal real-time clock where
time
is in the standard
Time/Date input format:
hh:mm:ss:t, MM/DD/YY
where
hh
is in hours,
mm
is in minutes,
ss
is in seconds,
t
is in tenths of a second,
MM
is the month,
DD
is the day, and
YY
is the year.
S
Set Real-Time Clocks
S?
Query the internal real-time clock.
Tstart,
stop,
re-arm,
sync
Configure an acquisition of scan data with the following
parameters:
start
is the start event and
stop
is the stop event
re-arm
determines if the unit should continue acquiring after
the first acquisition completes, where
1
is on and
0
is off.
sync
determines if acquisition events should be synchronized
with the internal timebases, where
1
is on and
0
is off.
T
Set Trigger
Configuration
T?
Query the present trigger configuration