Command Reference Manual
TSAT 3000 Command Line Interpreter
January 2013
Page 31 of 41
3.10.3 Analog to Digital / Digital to Analog converter control
sys adc get <sampleCount> <raw/volt> <sample1>…<sampleN> [verbose]
DEBUG
Read output from the Analog to Digital Converter.
Parameters:
<sampleCount>
Number of requested samples.
<raw/volt>
“raw”: Output from the AD converter as a digital value. Range 0-FFFh.
“volt”: Output from the AD converter as voltage. Range 0-2.5V.
<sample1>…
<sampleN>
Channel numbers [0-7] on the AD converter.
[verbose]
Set debug output ON
Example:
Get all 8 channels on the AD Converter, represented as voltages.
CLI>
sys adc get 8 volt 0 1 2 3 4 5 6 7
0.1483 0.3204 1.2347 0.0665 0.5145 0.5518 0.3650 0.0458
CLI>
sys adc status
Display LNB and BUC current power usage.
sys dac set <dev> <channel> <value> [powerdown] [latchdac]
DEBUG
Set Digital to Analog Converter values.
Parameters:
<dev>
Device number 0 or 1. There are 2 DAC’s in the system.
<channel>
Channel number 0-3. There are 4 channels on each DAC.
<value>
New DAC channel value 0-4095.
[powerdown]
“powerdown”: Shuts the DAC chip off.
[latchdac]
“latchdac”: Do not latch the new value until a command without
“latchdac” is executed.