API Command Reference
Appendix A
A-42
NetScan User’s Manual
R#
- Read Last Readings
TYPE
System
EXECUTION
Immediate
SYNTAX
R#chans
Queries the last readings from the HLL Registers for specified channels.
chans
may be in two forms:
chan
(for a single channel where
1
<
chan
<
max
), or
first-last
(for a range of channels where
1
<
first
<
last
<
max
),
where max = 128 for NetScan.
DESCRIPTION
The Read Last Readings (
R#
) command will return a subset of the Query Last (
U13
) command. It allows the
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 (
U13
) command, whereby each reading conforms to the reading output format specified
by the Set Data Format (
F
) command. In addition, each channel is terminated by the HLL terminator
hll
, as
specified with the Set Query Terminator (
Q
) command.
Note: If the specified channel, or a range of channels, is not currently defined in the scan group as configured by
the Channel Configuration (
C
) command, a conflict error will be flagged.
EXAMPLES
PRINT#1,"C1-16,1X"
‘ Configure channels 1 - 16 for T/C Type J
PRINT#1,"F1,0X"
‘ Set format for engineering units degrees C
PRINT#1,"R#16X"
‘ Get the last reading for channel 16
LINE INPUT #1, R$
PRINT R$
‘ Screen shows
+0103.20
(channel 16 is 103.2
°
C)
PRINT#1,"R#1-4X"
‘ Get the Last readings for channels 1 - 4
LINE INPUT #1, R$
PRINT R$
‘
Screen shows
-0003.70
(channel 1 is -3.7
°
C)
+0005.60
(channel 2 is 5.6
°
C)
+0010.20
(channel 3 is 10.2
°
C)
+0024.40
(channel 4 is 24.4
°
C)
S
- Set Real Time Clock
TYPE
System
EXECUTION
Immediate
SYNTAX
Stime
Set the unit’s internal real-time clock where
time
is in the standard time/date
stamp format:
HH:MM:SS:T,mm/dd/yy
where
H
is hours,
MM
is
minutes,
SS
is seconds,
T
is tenths of a second,
mm
is month,
dd
is day, and
yy
is year.
S?
Query
Stime
as defined above.
DESCRIPTION
The Set Real Time Clock (
S
) command is used to set the unit’s internal real-time clock. The
time
argument
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”
‘ Current date and time
Содержание OMB-NETSCAN 1500
Страница 6: ...iv NetScan User s Manual...
Страница 18: ...1 12 Configuring and Starting NetScan NetScan User s Manual Notes...
Страница 38: ...3 8 General Information and Specifications NetScan User s Manual Notes...
Страница 82: ...4 44 ChartView Software Reference NetScan User s Manual Notes...
Страница 111: ...NetScan User s Manual Calibration 6 13 1 Connect an applicable calibration harness to each card Refer to figure below...
Страница 118: ...6 20 Calibration NetScan User s Manual...
Страница 140: ...A ii NetScan User s Manual...
Страница 192: ...API Command Reference Appendix A A 52 NetScan User s Manual Notes...
Страница 237: ...Appendix D Registers Data Formats Queries NetScan User s Manual D 13...
Страница 244: ...NetScan Program Examples Appendix E E 2 NetScan User s Manual...
Страница 248: ...ASCII Code Summary Appendix F F 4 NetScan User s Manual Notes...
Страница 250: ...NetScan Error Messages Appendix G G 2 NetScan User s Manual Notes...
Страница 252: ...Abbreviations Appendix H H 2 NetScan User s Manual Notes...
Страница 254: ...NetScan User s Manual...