Omega Engineering OMB-NETSCAN 1500 User Manual page 148

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

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents