This is an old revision of the document!
Command:RDADC (RA)
- MS2000 Syntax and Function
-
Shortcut RA Format RA [X] [Y] [Z] [F] Returns the present values on the MS-2000's 4-channel
ADC. The X and Y channels are used for the joystick. The Z and F channels may be used for special applications, for example Autofocus orADC_LOCKandADC_FOLLOWmodes of controlling the stage. Special firmware is required for these applications.If the system has Video Autofocus, the user can query the focus score with the Z parameter, for example
RDADC Z?.If the system has a temperature sensor, the user can query the temperature in 1/100 degrees Celsius with the T parameter ie
RDADC T?If there are two temperature sensors present, one connected to channel-1 and the other connected to channel-2 of anADEPTHub (I2C breakout board), then the M parameter also becomes active, for exampleRDADC T? M?would answer with:A 2565 2389meaning sensor-1 has read 25.65C and sensor-2 has read 23.89C.Example
RA X Y :A 128 128
Shows typical ADC values for a centered joystick.
- Tiger and TGPMT Syntax and Function
-
Shortcut RA Format [addr#]RA [X?] [Y?] Units integer Type Card-Addressed Remembered Not Applicable On a
TGPMTcard in a Tiger Controller, this is a Read Only command. It reportsPMTsignal read through anADConboard theTGPMTcard.X? Returns the'' ADC'' reading of
PMT0Y? Returns the
ADCreading ofPMT1ADC Specification can be found here.
Example
If the
TGPMTcard address was 7,7RDADC X? Y? :A 2 1
“2” is the
ADCreading fromPMT0, and “1” is theADCreading fromPMT17RA X? Y? :A 2 1
