Measurement Computing TempScan/1100 User Manual
Page 223

TempScan / MultiScan User’s Manual
889897
API
Command Reference A-27
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 Type J thermocouple 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 Type K thermocouple 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$
+0034.40
-0103.00
+0012.30
+0004.60
‘ Screen shows the last readings