Omega Engineering OMB-NETSCAN 1500 User Manual page 178

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

Advertisement

API Command Reference
TYPE
EXECUTION
SYNTAX
DESCRIPTION
The Set Query Terminator (
resp
: This argument specifies the response terminator for general purpose queries issued by the controller.
These queries are queries that do not request High/Low/Last or Acquisition Buffer data. This terminator is used
in all query responses unless the query refers to data in the High/Low/Last registers or the Acquisition Buffer. In
these cases, these types of queries have separate terminators as described below.
hll
: This argument specifies the channel terminator to be used for queries which request data residing in the
High/Low/Last registers. When this terminator is specified, the terminator will be inserted between each channel
response when a High/Low/Last register query request is made. The queries that request High/Low/Last register
data are
scan
: This argument specifies the terminator which will follow each scan that is output when a query request is
made for Acquisition Buffer data. When a query request is made for Acquisition Buffer data, this terminator will
be used to terminate each scan as it is output to the interface. This will be true except for the last scan in the
block. In this case, the trigger block terminator will be used to terminate the scan and the block. The only query
command which requests Acquisition Buffer data is the Read Buffered Data (
block
request is made for Acquisition Buffer data. When a query request is made for Acquisition Buffer data, this
terminator will be used to terminate each trigger block as it is output to the interface. This terminator will be in
effect during Read Buffer Data (
output will be terminated by the defined trigger block terminator rather than the scan terminator.
Each of the above four arguments may be defined with one of the following terminator types, where
user-defined terminator corresponding to the numeric (ASCII) value
(
V
) command:
sep
: This argument specifies whether or not a separator character should be placed between each returned
reading in the buffer scan data. This field will be in effect during Read Buffer Data (
this field is interpreted as follows:
Place a separator, whose value is determined by the current Set User Terminator (
returned buffer data when it is read.
A-38
Q
- Set Query Terminator
System
Deferred
Qresp,
Set the query terminators with the following parameters:
hll,
scan,
block,
sep
sep
Q?
Query current terminator settings.
Q
) command is used to set the following query terminators:
U4
,
U5
,
U13
, and
R#
. Remember, the Read Last Readings (
: This argument specifies the terminator which will follow each trigger block that is output when a query
R
) commands. It should be noted that the last scan in the trigger block to be
Terminator Type
0
1
2
3
4
5
6
7
8
9
10
0
- Place no separators in returned buffered scan data when it is read, and
response terminator,
hll
is the channel terminator,
which follows each scan output, and
each trigger block output.
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
- Place a separator whose value is determined by the
1
current Set User Terminator (
data when it is read.
Terminator Description
resp
scan
block
is the terminator which follows
V
) command setting into the returned buffer
R#
) command is an HLL register query.
R
) command.
, as defined by the Set User Terminator
val
(None)
CR LF
CR LF
LF CR
LF CR
CR
CR
LF
LF
USER
USER
R
) commands. The value of
V
) command setting, into the
NetScan User's Manual
Appendix A
is the
is the terminator
USER
is the
1
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents