Appendix A
API Command Reference
NetScan User’s Manual
A-11
@
- Trigger On Command
TYPE
Acquisition
EXECUTION
Deferred
SYNTAX
@
Trigger upon receipt of an
@
DESCRIPTION
The Trigger On (
@
) command will start or stop the acquisition accordingly when the
start
or
stop
arguments
of the Set Trigger Configuration (
T
) command is set to
1
(trigger on). The
T
command is used as a trigger
source and follows the same rules as other trigger sources as defined by the
T
command. The
@
command is
valid only when an acquisition is configured where either the start and/or stop event is defined as the Trigger On
command. If this command is issued when the acquisition is not configured for stop and/or start Trigger On
command, an error condition will occur.
EXAMPLE
PRINT#1, “T1,1,0,0X”
‘ Configure an acquisition with both start and stop trigger
being Trigger On command
PRINT#1, “@X”
‘ Start the acquisition
SLEEP 10
‘ Wait 10 seconds to collect data
PRINT#1, “@X”
‘ Stop the acquisition
*B
- Flush Acquisition Buffer
TYPE
Buffer
EXECUTION
Immediate
SYNTAX
*B
Flush any data currently in the acquisition buffer
DESCRIPTION
The Flush Acquisition Buffer (
*B
) command will flush any data currently in the acquisition buffer. Upon execution
of this command, all data currently in the acquisition buffer will be deleted and is unavailable to be read. This
command should only be used when it is determined that the data in the acquisition buffer is no longer needed or
may be corrupt. Once this command is executed, data in the acquisition buffer is irrevocably lost.
EXAMPLE
PRINT#1,"U1X"
‘ Serial Poll the unit
INPUT#1, A$
‘ Get the Serial Poll response
IF (VAL(A$) AND 128) = 128 THEN
‘ Check for Buffer Overrun
PRINT#1,"*BX"
‘ Data may be corrupt, flush the acquisition buffer
ENDIF
Содержание 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...