Appendix A API Commands
ChartScan User’s Manual A-5

Deferred Commands, Order of Execution

The immediate commands take effect immediately when they are interpreted. Even so, they must be
followed by an Execute (X) command to terminate the command string for correct operation. For
example: K00001X
Deferred commands are not executed until the X command has been successfully parsed and
interpreted. Upon interpretation of the X command, the order of execution of all deferred commands is
as follows:
Order
Function
1
V
Set User Terminator
2
Q
Set Query Terminator
3
F
Set Data Format
4
M
Set SRQ Mask
5
N
Set Event Mask
6
L
Set Trigger Level
7
Channel Setup Commands
A
Assign Alarm Output
A#
Enable (1) or Disable (0) Alarm Stamping
I#
Enable (1), or Disable (0) Digital Input Stamping
C
Configure Channels
*C
Clear Channel Configuration
D#
Set Relay Make Time
F#
Set Burst Mode Frequency
M#
Set Measuring Mode
W#
Set Averaging Weight
8
P
Program Trigger Times
9
I
Set Scan Interval
10
Y
Set Counts
11
T
Set Trigger Configuration
12
@
Trigger On Command
Note: Data acquisition may begin once the Set Trigger Configuration (T) command has been
defined. The above order of deferred commands ensures the configuration of acquisitions will
take place before any data is acquired.