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
Summary of Contents for OMB-NETSCAN 1500
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...