Omega Engineering OMB-NETSCAN 1500 User Manual page 182

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

Advertisement

API Command Reference
TYPE
EXECUTION
SYNTAX
DESCRIPTION
The Read Last Readings (
specifying of specific channels within the current channel configuration. This command is useful for querying
specific channels without having unwanted channels returned. The response to this command takes the same
form as the Query Last (
by the Set Data Format (
specified with the Set Query Terminator (
Note: If the specified channel, or a range of channels, is not currently defined in the scan group as configured by
EXAMPLES
PRINT#1,"C1-16,1X"
PRINT#1,"F1,0X"
PRINT#1,"R#16X"
LINE INPUT #1, R$
PRINT R$
PRINT#1,"R#1-4X"
LINE INPUT #1, R$
PRINT R$
TYPE
EXECUTION
SYNTAX
DESCRIPTION
The Set Real Time Clock (
follows the same format as the standard time/date stamp input format as specified in the Data Format section of
Appendix D.
The Set Real Time Clock command is used to set the battery backed internal real-time clock of the unit. In order
for the time/date stamped data to be accurate, the internal real-time clock must be set to an accurate time/date.
Once set, however, the battery-backed real-time clock will remember the current time, even when powered-off.
EXAMPLE
PRINT#1, "S14:00:00.0,4/30/93X"
A-42
R#
System
Immediate
R#chans
Queries the last readings from the HLL Registers for specified channels.
chans
chan
first-last
R#
) command will return a subset of the Query Last (
U13
) command, whereby each reading conforms to the reading output format specified
F
) command. In addition, each channel is terminated by the HLL terminator
the Channel Configuration (
C
- Set Real Time Clock
S
System
Immediate
Stime
Set the unit's internal real-time clock where
S?
Query
S
) command is used to set the unit's internal real-time clock. The
- Read Last Readings
may be in two forms:
(for a single channel where
(for a range of channels where
where max = 128 for NetScan.
) command.
Q
) command, a conflict error will be flagged.
' Configure channels 1 - 16 for T/C Type J
' Set format for engineering units degrees C
' Get the last reading for channel 16
' Screen shows
' Get the Last readings for channels 1 - 4
'
Screen shows
-0003.70
+0005.60
+0010.20
+0024.40
stamp format:
HH:MM:SS:T,mm/dd/yy
minutes,
SS
is seconds,
T
is tenths of a second,
dd
is day, and
yy
is year.
Stime
as defined above.
1
<
chan
<
max
), or
<
<
1
first
U13
) command. It allows the
(channel 16 is 103.2 °C)
+0103.20
(channel 1 is -3.7 °C)
(channel 2 is 5.6 °C)
(channel 3 is 10.2 °C)
(channel 4 is 24.4 °C)
is in the standard time/date
time
where
H
is hours,
mm
is month,
time
' Current date and time
NetScan User's Manual
Appendix A
<
),
last
max
hll
, as
MM
is
argument

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents