Omega Vehicle Security 1400 CD Player User Manual


 
API Commands Appendix A
A-60 ChartScan User’s Manual
V
- Set User Terminator
TYPE
System
EXECUTION
Deferred
SYNTAX
Vval
Set the User Terminator value to any character whose numeric value (ASCII
value)
val
is in the range
0
to
255
.
V?
Query the present user terminator value.
DESCRIPTION
The Set User Terminator (
V
) command is used to set the User Terminator value to any character whose numeric
value (ASCII value) is in the range
0
to
255
. The User Terminator may be used by the Set Query Terminator (
Q
)
command to specify a user-defined terminator for any of the defined terminator types or as a reading separator
for the Read Buffered Data (
R
) command.
EXAMPLE
PRINT#1, “OUTPUT07;Q1,0,1,1,1X”
‘ Set the reading separator flag ON
PRINT#1, “OUTPUT07;F0,0X”
‘ Data format is engineering units, degrees C
PRINT#1, “OUTPUT07;V44X”
‘ Set the User Terminator to be a comma (
,
)
PRINT#1,"OUTPUT07;C1-4,1X"
‘ Configure channels 1 - 4 as T/C type J
PRINT#1,"OUTPUT07;I00:00:01.0,
00:00:00.1”
‘ Configure scan interval
PRINT#1,"OUTPUT07;Y0,1000,0X"
‘ Configure acquisition counts
PRINT#1,"OUTPUT07;T1,8,0,0X"
‘ Configure acquisition, start trigger is Trigger On (@)
command, stop trigger is Counts
PRINT#1,"OUTPUT07;@X"
‘ Trigger the acquisition
PRINT#1,"OUTPUT07;R1X”
‘ Read a Scan
PRINT#1,"ENTER07"
‘ Retrieve the Scan
INPUT A$
‘ Screen shows
+0020.30, +0023.80,
+0034.90, +0013.50
PRINT#1, “OUTPUT07;V58X”
‘ Set the User Terminator to be a colon (
:
)
PRINT#1,"OUTPUT07;R1X
‘ Read a Scan
PRINT#1,"ENTER07"
‘ Retrieve the Scan
INPUT A$
‘ Screen shows
+0020.30: +0023.80:
+0034.90: +0013.50