Measurement Computing TempScan/1100 User Manual
Page 89

TempScan / MultiScan User's Manual
879596
System Configuration 4-31
Data Output Terminators
In addition to formatting the data readings themselves, you can format the output arrangement between
data readings with various data output (or query) terminators. The Set Query Terminator (
Q
) command is
used to set the following data output terminators:
• Response Terminator: This terminator is used for general purpose queries which do not request
High/Low/Last (HLL) 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. Such queries
have their own specific terminators as described below.
• Channel Terminator: This terminator is used for queries which request data residing in the
High/Low/Last (HLL) Registers. When this terminator is specified, the terminator will be inserted
between each channel response.
• Scan Terminator: This terminator follows each scan that is output when a query request is made for
Acquisition Buffer data. When this terminator is specified, this terminator will be used to terminate
each scan as it is output to the unit. This will be true except for the last scan in the Trigger Block. In
this case, the Trigger Block terminator will be used to terminate the scan and the Trigger Block.
• Trigger Block Terminator: This terminator follows each Trigger Block that is output when a query
request is made for Acquisition Buffer data. When this terminator is specified, this terminator will be
used to terminate each Trigger Block as it is output to the unit.
• Separator Terminator: This terminator is a reading separator character which should be placed
between each returned reading in the Acquisition Buffer scan data. The valid options for this
terminator include the following values:
0
- Place no separators in returned buffered scan data when it
is read, and
1
- Place a separator into the returned buffer data when it is read. The separator is a user-
defined terminator corresponding to the ASCII decimal value
val
, as defined by the Set User
Terminator (
V
) command.
Data Output Terminator Usage
Command
Command Options
Argument
resp
hll
scan
block
sep
Read Buffered Data
R1
X O
R2,R3
O X O
Read Last Readings
R#chan
X
R#first-last
O X
User Status
U4,U5,U13
O X
All Other Commands
All Other Options
X
This table summarizes the usage of query terminators with all possible commands in printable ASCII
format, where the table symbols indicate the following meanings:
• The symbol X indicates that the terminator is asserted at the end of the response.
• The symbol O indicates that the terminator is asserted within the response to separate channel and scan
readings.
• A blank cell indicates that the terminator does not affect the command.
Note: Data in Binary format is not printable. The Binary data must be converted to ASCII format
for printability. Consequently, no query terminators are used in Binary format.
Note: The only Acquisition Buffer query commands are the Read Buffered Data (
R
) commands
R1
,
R2
, and
R3
. Meanwhile, the only High/Low/Last (HLL) Register query commands are the
User Status (
U
) commands
U4
,
U5
, and
U13
, and the Read Last Readings (
R#
) command.