Appendix B
Configuration Aspects for Programmers
ChartScan User’s Manual
B-19
This response indicates that the first available scan is -0000076, which is a pre-trigger scan. This scan can be
retrieved as follows:
PRINT#1,”OUTPUT 07;R1X”
‘ Get the -0000076 scan
PRINT#1,”ENTER 07”
‘ Get the scan
INPUT A$
‘ Screen shows (4 channels configured) …
+1234.50-0234.20+0984.00+0323.30
PRINT#1,”OUTPUT 07; U6X”
‘ Now get status of current read trigger block
PRINT#1,”ENTER 07”
‘ Get the response
INPUT A$
‘ Screen shows…
000001,001233,-0000075,12:34:54.200,03/23/97,00000767,12:54:12.900,03/24/97,00001156,01
Notice that the current read pointer has now advanced to pre-trigger location -000075 and that the total scan
count has been decremented to 001233.
To retrieve data after a trigger event has occurred, ChartScan provides multiple query functions. The R
command can be used to read the last scan in the data buffer (R1), the last block in the data buffer (R2) or all the
data available (R3). The U6 command will query the current trigger block for a variety of information, such as
the trigger block number, current scan in block, the scan number that trigger occurred, etc. See the U command
description in the Command Reference section for details.
Summary of Contents for OMB-CHARTSCAN 1400
Page 1: ...August 2002 OMB CHARTSCAN 1400 Portable Data Recorder p n OMB 483 0901 Rev 3 1...
Page 6: ...iv ChartScan User s Manual...
Page 24: ...ChartScan User s Manual...
Page 32: ...2 8 General Information ChartScan User s Manual Notes...
Page 56: ...3 24 ChartScan User s Manual Notes...
Page 124: ...6 20 Calibration ChartScan User s Manual...
Page 126: ...A ii ChartScan User s Manual...
Page 136: ...API Commands Appendix A A 10 ChartScan User s Manual Notes...
Page 176: ...API Commands Appendix A A 50 ChartScan User s Manual...
Page 230: ...Appendix C Registers Data Formats Queries ChartScan User s Manual C 13...
Page 237: ...Registers Data Formats Queries Appendix C C 20 ChartScan User s Manual Notes...
Page 257: ...E 2 ChartScan User s Manual Notes...
Page 265: ...ASCII Code Summary Appendix F F 8 ChartScan User s Manual Notes...
Page 269: ...Abbreviations Appendix H H 2 ChartScan User s Manual Notes...
Page 271: ...ChartScan User s Manual...