Omega Engineering OMB-NETSCAN 1500 User Manual page 177

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

Advertisement

Appendix A
TYPE
EXECUTION
SYNTAX
DESCRIPTION
Most commands have a corresponding Query (
command letter. Query commands place their responses into the output queue until the controller retrieves
them. They respond with the present configuration or mode of a previously executed command. When
appropriate, the response from a Query command is in the form of a command string which, if it were executed,
would put the unit into the configuration it was in when the Query was executed.
For instance, the response of the User Terminator Query (
<
0
val
unit, it would set the User Terminator to the same value that it had when the Query was issued. Query
responses are always fixed-length strings in a pre-defined format.
Any number of Query commands can be combined into one string to create a specialized status command that
responds with only the information of interest for a given application.
Query commands are immediate. Their responses are generated as soon as they are interpreted, before any
other commands, including the Execute (
Note: Even though Query commands generate their responses as soon as they are interpreted, they must still
EXAMPLE
PRINT#1, "V1 X V? X"
INPUT#1, A$
PRINT A$
PRINT#1, "V0 X V? X"
INPUT#1, A$
PRINT A$
PRINT#1, "V4 V? X"
INPUT#1, A$
PRINT A$
PRINT#1, "V? X"
INPUT#1, A$
PRINT A$
NetScan User's Manual
System
Immediate
?
Query the present configuration or mode of the command preceding the
<
. This response is in the form of the Set User Terminator (
255
be followed by an Execute (
X
execution, refer to the
X
command reference presented later in this appendix.
?
- Query
?
) command formed by appending a question mark (
V?X
) command is in the following form:
X
) command.
) command for proper termination. For more information on command
' Get the response of current User Terminator
' Retrieve response
' Screen shows
' Change User Terminator and get response
' Retrieve response
' Screen shows
' Change User Terminator and get response - No
intermediate
' Retrieve response
' Screen shows
because the immediate command
before the deferred command
' Get User Terminator response
' Retrieve response
' Screen shows new User Terminator
API Command Reference
) command and, if it is sent to the
V
V1
V0
X
command
User Terminator. Response is still
V0
V?
was executed
V4
V4
?
?
) to the
Vval
where
V0
A-37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents