C-Link Protocol Commands
I/O Configuration
Thermo Electron Corporation Model 48i Instruction Manual B-37
analog vout range channel
This command reports the analog voltage output channel range, where
channel is between 1 and 6 inclusive, according to Table B-10.
Send: analog vout range 2
Receive: analog vout range 2 3
set analog vout range channel range
This command sets analog voltage output channel to the range, where
channel is between 1 and 6 inclusive, and range is set according to Table
B-10. The example below sets channel 2 to the 0-10 V range.
Send: set analog vout range 2 3
Receive: set analog vout range 2 3 ok
dig in
This command reports the status of the digital inputs as a 4-digit
hexadecimal string with the most significant bit (MSB) being input 16.
Send: dig in
Receive: dig in 0xff7f
din channel
This command reports the action assigned to input channel and the
corresponding active state. The example below reports the input 1 to be
assigned an index number 3 corresponding to action of “set background”
mode with the active state being high.
Send: din 1
Receive: din 1 3 SET BACKGROUND high
set din channel index state
This command assigns digital input channel (1-16) to activate the action
indicated by index (1-35), when the input transitions to the designated state
(high or low). Use “list din var” command to obtain the list of supported
index values and corresponding actions.
Table B-10. Analog Voltage Output Range Values
Range Output Range
10-1 V
2 0-100 mV
3 0-10 V
40-5 V
0 [cannot be set to this, but may report] Undefined