Appendix C
Configuration Aspects for Programmers
NetScan User’s Manual
C-21
Acquisition Buffer Interrogation
Note:
In the following sections “current trigger block” always refers to the trigger block that is currently
being read.
The current status of the acquisition buffer may be interrogated at any time by issuing the Buffer Status String
(U6) command. As mentioned earlier, the U6 command is a user query command which will return information
regarding the current state of the acquisition buffer. The acquisition buffer holds scan data that has been
initiated by one or more trigger events. This data is held in trigger blocks within the buffer. Each trigger block
defines one acquisition that has taken place. An acquisition consists of the following:
•
pre-trigger scans (optional)
•
post-trigger scans
•
post-stop scans (optional)
The trigger blocks may be variable in length. The Buffer Status String command provides the interface in which
the current trigger block configuration may be queried.
The Buffer Status String is queried with the U6 command, returning 10 fields as indicated by the following
figure and corresponding list. The values in the figure represent a U6 response when the acquisition buffer is
empty.
1 - Number of Trigger Blocks Available This field represents the total number of trigger blocks currently
contained within the buffer. A block need not be complete to be included in this total, it only needs to be
triggered. If their are no trigger blocks available, Blocks Available will be 0000000.
2 - Number of Scans Available This field represents the total number of scans available at the time the U6
command was issued. It should be noted that pre-trigger data is not available to the user until the defined trigger
event has taken place. This total represents the total number of scans available across all trigger blocks in the
acquisition buffer. If their are no scans available in the buffer, Scans Available will be 0000000.
3 - Current Read Pointer This field represents the current position within the current trigger block. This
pointer is relative to the trigger point, which is always oriented at location 0. If, pre-trigger scans are being read,
the Current Pointer will be less than 0. Likewise, if post-trigger scans are being read, the Current Read Pointer
will be greater than 0. If the current scan to be read is the trigger scan, the Current Read Pointer will be
00000000. If the Current Read Pointer is undefined, its value will be -0999999.
4 - Trigger Time and Date Stamp This field represents the Time/Date that the trigger event occurred for the
current trigger block. This field takes on the same format as other time/date trigger stamp fields described
elsewhere in this manual. If the trigger event has not occurred, this field will have the value
00:00:00.00,00/00/00.
5 - Stop Event Pointer This field represents the location in the current trigger block that the stop event
occurred. This pointer will always be relative to the trigger point with the trigger point always oriented at
location 0. Since the stop event must always occur after the trigger event this pointer will always be greater than
0. If the stop event has not yet occurred at the time of the U6 query, this field will have the value of -0999999.
6 - Stop Event Time and Date Stamp This field represents the Time/Date that the stop event occurred for the
current trigger block. This field takes on the same format as other time/date stamp fields described elsewhere in
this manual. If the stop event has not yet occurred at the time of the U6 query, this field will have the value
00:00:00.00,00/00/00.
Содержание OMB-NETSCAN
Страница 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...