Appendix B
Configuration Aspects for Programmers
ChartScan User’s Manual
B-25
The
R2
command will read the oldest available trigger block in the Acquisition Buffer. For instance, continuing
with the previous example:
PRINT#1,"OUTPUT07; U6X"
‘ Request the current status of the Acquisition Buffer
PRINT#1,"ENTER07"
‘ Retrieve it.
INPUT A$
‘ Screen shows...
PRINT A$
0000006,0020215,-00000099,12:51:43.100,03/24/97,00000100,01:53:01.300,03/24/97,00000250,01
The above response indicates that there are 6 trigger blocks currently defined in the Acquisition Buffer and there
are 20215 total scans in the buffer. Furthermore, it shows that the current read pointer is at scan # -99 in the 1st
trigger block and that there are 350 scans in this trigger block. To retrieve that trigger block, perform the
following:
PRINT#1,"OUTPUT07;R2X"
‘Request the oldest trigger block
PRINT#1,"ENTER07"
‘ Retrieve it.
INPUT A$
‘ Screen shows (4 channels x 350 scans) 1400 readings
PRINT A$
+0234.20-0019.40+0001.40+0023.60....
PRINT#1,"OUTPUT07; U6X"
‘ Request the current status of the Acquisition Buffer
PRINT#1,"ENTER07"
‘ Retrieve it.
INPUT A$
‘ Screen shows...
PRINT A$
0000005,0019865,-00000100,02:15:34.100,03/24/97,00000100,04:51:10.300,03/24/97,00000250,01
Notice that there are now only 5 trigger blocks in the buffer and that there are only 19,865 scans in the buffer.
Also note that the current read pointer is at the beginning of what was the next trigger block. That trigger block
is now the current trigger block.
The
R3
command will read all available data within the Acquisition Buffer. For instance, continuing with the
previous example:
PRINT#1,"OUTPUT07; U6X"
‘ Request the current status of the Acquisition Buffer
PRINT#1,"ENTER07"
‘ Retrieve it.
INPUT A$
‘ Screen shows...
PRINT A$
0000005,0019865,-00000100,02:15:34.100,03/24/97,00000100,04:51:10.300,03/24/97,00000250,01
The above response indicates that there are 5 trigger blocks currently defined in the Acquisition Buffer and there
are 19,865 total scans in the buffer. It also shows the current read pointer at the -100 scan in the 1st trigger
block and that their are 351 scans in this trigger block (101 + 250); i.e., 101 scans from -100 to 0, plus the 250
scans from 1 to 250. To retrieve all the scan data within the buffer:
PRINT#1,"OUTPUT07;R3X"
‘ Request all scan data in the buffer.
PRINT#1,"ENTER07"
‘ Retrieve it.
INPUT A$
‘ Screen shows (4 channels x 19865 scans) 79460 readings
PRINT A$
+0234.20-0019.40+0001.40+0023.60....
PRINT#1,"OUTPUT07; U6X"
‘ Request the current status of the Acquisition Buffer
PRINT#1,"ENTER07"
‘ Retrieve it.
INPUT A$
‘ Screen shows...
PRINT A$
0000000,0000000,-9999999,00:00:00.000,00/00/00,-0999999,00:00:00.000,00/00/00,-0999999,00
Notice that the Buffer Status String is null indicating that the Acquisition Buffer is completely empty.
For more information on using the
R
command refer to
Appendix A.
Содержание 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...