Omega Vehicle Security 1400 CD Player User Manual


 
API Commands Appendix A
A-62 ChartScan User’s Manual
X
- Execute
TYPE
System
EXECUTION
Immediate
SYNTAX
X
Execute 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 buffer 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, perform a Serial
Poll for the ready bit (4).
If multiple system commands are used in the same string, each use of the command must be followed by the
Execute (
X
) command. Any number of Execute commands may be inserted into the same command string.
EXAMPLE
PRINT#1,"CLEAR07"
‘ Clear the unit
PRINT#1,"OUTPUT07;*C"
‘ Clear the current channel configuration
PRINT#1,"OUTPUT07;C1-16,1 C17,2
C18-32,3"
‘ Send channel configuration
PRINT#1,"OUTPUT07;U4"
‘ Get HLL for the new channel configuration
‘ (ERROR light turns ON)
PRINT#1,"OUTPUT07;X"
‘ Instruct the unit to execute its command input buffer.
Now the unit has its new channel configuration
PRINT#1,"OUTPUT07;E?X"
‘ Find out what caused the error
PRINT#1,"ENTER07"
‘ Retrieve Error response
INPUT 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)