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
Summary of Contents for OMB-CHARTSCAN 1400
Page 1: ...August 2002 OMB CHARTSCAN 1400 Portable Data Recorder p n OMB 483 0901 Rev 3 1...
Page 6: ...iv ChartScan User s Manual...
Page 24: ...ChartScan User s Manual...
Page 32: ...2 8 General Information ChartScan User s Manual Notes...
Page 56: ...3 24 ChartScan User s Manual Notes...
Page 124: ...6 20 Calibration ChartScan User s Manual...
Page 126: ...A ii ChartScan User s Manual...
Page 136: ...API Commands Appendix A A 10 ChartScan User s Manual Notes...
Page 176: ...API Commands Appendix A A 50 ChartScan User s Manual...
Page 230: ...Appendix C Registers Data Formats Queries ChartScan User s Manual C 13...
Page 237: ...Registers Data Formats Queries Appendix C C 20 ChartScan User s Manual Notes...
Page 257: ...E 2 ChartScan User s Manual Notes...
Page 265: ...ASCII Code Summary Appendix F F 8 ChartScan User s Manual Notes...
Page 269: ...Abbreviations Appendix H H 2 ChartScan User s Manual Notes...
Page 271: ...ChartScan User s Manual...