API Commands
Appendix A
A-52
ChartScan 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 ChartScan/1400.
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,"OUTPUT07;C1-16,1X"
‘ Configure channels 1 - 16 for T/C Type J
PRINT#1,"OUTPUT07;F1,0X"
‘ Set format for engineering units degrees C
PRINT#1,"OUTPUT07;R#16X"
‘ Get the last reading for channel 16
PRINT#1,"ENTER07"
‘ Screen shows
+0103.20
(channel 16 is 103.2
°
C)
LINE INPUT #2, R$
PRINT R
PRINT#1,"OUTPUT07;R#1-4X"
‘ Get the Last readings for channels 1 - 4
PRINT#1,"ENTER07"
‘
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)
LINE INPUT #2, R$
PRINT R#
Содержание OMB-CHARTSCAN 1400
Страница 1: ...August 2002 OMB CHARTSCAN 1400 Portable Data Recorder p n OMB 483 0901 Rev 3 1...
Страница 6: ...iv ChartScan User s Manual...
Страница 24: ...ChartScan User s Manual...
Страница 32: ...2 8 General Information ChartScan User s Manual Notes...
Страница 56: ...3 24 ChartScan User s Manual Notes...
Страница 117: ...ChartScan User s Manual Calibration 6 13 1 Connect an applicable calibration harness to each card Refer to figure below...
Страница 124: ...6 20 Calibration ChartScan User s Manual...
Страница 126: ...A ii ChartScan User s Manual...
Страница 136: ...API Commands Appendix A A 10 ChartScan User s Manual Notes...
Страница 176: ...API Commands Appendix A A 50 ChartScan User s Manual...
Страница 230: ...Appendix C Registers Data Formats Queries ChartScan User s Manual C 13...
Страница 237: ...Registers Data Formats Queries Appendix C C 20 ChartScan User s Manual Notes...
Страница 257: ...E 2 ChartScan User s Manual Notes...
Страница 265: ...ASCII Code Summary Appendix F F 8 ChartScan User s Manual Notes...
Страница 269: ...Abbreviations Appendix H H 2 ChartScan User s Manual Notes...
Страница 271: ...ChartScan User s Manual...