Appendix C
Configuration Aspects for Programmers
NetScan User’s Manual
C-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,”R1X”
‘ Get the -0000076 scan
LINE INPUT#1,A$
‘ Get the scan
PRINT A$
‘ Screen shows (4 channels configured) …
+1234.50-0234.20+0984.00+0323.30
PRINT#1,”U6X”
‘ Now get status of current read trigger block
LINE INPUT#1,A$
‘ Get the response
PRINT 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, the NetScan 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-NETSCAN
Page 6: ...iv NetScan User s Manual...
Page 18: ...1 12 Configuring and Starting NetScan NetScan User s Manual Notes...
Page 38: ...3 8 General Information and Specifications NetScan User s Manual Notes...
Page 82: ...4 44 ChartView Software Reference NetScan User s Manual Notes...
Page 118: ...6 20 Calibration NetScan User s Manual...
Page 140: ...A ii NetScan User s Manual...
Page 192: ...API Command Reference Appendix A A 52 NetScan User s Manual Notes...
Page 237: ...Appendix D Registers Data Formats Queries NetScan User s Manual D 13...
Page 244: ...NetScan Program Examples Appendix E E 2 NetScan User s Manual...
Page 248: ...ASCII Code Summary Appendix F F 4 NetScan User s Manual Notes...
Page 250: ...NetScan Error Messages Appendix G G 2 NetScan User s Manual Notes...
Page 252: ...Abbreviations Appendix H H 2 NetScan User s Manual Notes...
Page 254: ...NetScan User s Manual...