API Command Reference Appendix A
A-50 NetScan Users Manual
X - Execute
TYPE System
EXECUTION Immediate
SYNTAX XExecute preceding command string.
DESCRIPTION
Most commands are interpreted and processed as they are received but are not executed until the Execute (X)
command is issued. Commands sent without an X are stored in an internal buf f er and are not executed until an
X is received.
While a command line is being interpreted, the front panel LEDs will not be updated. These LEDs will only be
updated when the unit is in a ready state. In order to determine if the unit is in a ready state, perf orm a Serial
Poll for the ready bit (4).
If multiple system commands are used in the same s tring, each use of the command must be followed by the
Execute (X) command. Any number of Execute commands may be inserted i nt o the same command string.
EXAMPLE
PRINT#1,"C" Clear the current channel configuration
PRINT#1,"C1-16,1 C17,2 C18-32,3" Send channel configuration
PRINT#1,"U4" Get HLL for the new channel configuration
(ERROR light turns ON)
PRINT#1,"X" Instruct the unit to execute its command input buffer.
Now the unit has its new channel configuration
PRINT#1,"E?X" Find out what caused the error
INPUT#1,A$ Retrieve Error response
PRINT A$ Screen shows E128 - Conflict Error due to fact that no
channels were configured (C is a deferred command)
when the U4 was executed (U4 is an immediate
command)