Appendix A API Commands
ChartScan User’s Manual A-25
EXAMPLE
PRINT#1, “OUTPUT07; F0,0X”
‘ Set Data Format to Engineering Units, degrees C
PRINT#1, “OUTPUT07;*C”
‘ Clear current channel configuration
PRINT#1,"OUTPUT07;C1,1,-100.0,
100.0, 0.5"
‘ Configure channel for T/C type J with low setpoint of -
100.0 °C, high setpoint of 100.0 °C and hysteresis of
0.5 °C
PRINT#1,"OUTPUT07;C33-34,11"
‘ Configure channels 33 and 34 for Volts type (100 mV
range) and no setpoints
PRINT#1,"OUTPUT07;C65,2"
‘ Configure channel 65 for T/C type K with no setpoints
PRINT#1,"OUTPUT07;X"
‘ Execute the above configuration (The unit is now
scanning the above configuration)
PRINT#1,"OUTPUT07; U13X"
‘ Get the last readings of configured channels
PRINT#1,"ENTER07"
‘ Retrieve response
INPUT A$
‘ Screen shows
+0034.40
-0103.00
+0012.30
+0004.60