User Tools

Site Tools


commands:rdadc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
commands:rdadc [2025/06/16 14:03] – fill out table brandoncommands:rdadc [2025/06/16 14:35] (current) – add module reqs brandon
Line 4: Line 4:
  
 ^Shortcut  |RA |  ^Shortcut  |RA | 
-^Format  |RDADC [X] [Y] [Z] [F] |+^Format  |RDADC [X?] [Y?] [Z?] [F?] [T?] [M?] |
 ^Units    |Integer| ^Units    |Integer|
 ^Remembered |Not Applicable| ^Remembered |Not Applicable|
Line 10: Line 10:
 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 or ''ADC_LOCK'' and ''ADC_FOLLOW'' modes of controlling the stage.  Special firmware is required for these applications. 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 or ''ADC_LOCK'' and ''ADC_FOLLOW'' modes of controlling the stage.  Special firmware is required for these applications.
  
-If the system has [[:video_autofocus|Video Autofocus]], the user can query the focus score with the Z parameter, for example ''RDADC Z?''.+**X?:** Returns the ''ADC'' reading of the joystick X axis.
  
-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?''+**Y?:** Returns the ''ADC'' reading of the joystick Y axis. 
 + 
 +**Z?:** If the system has [[:video_autofocus|Video Autofocus]], the user can query the focus score with the Z parameter, for example ''RDADC Z?''. 
 + 
 +**T? / M?:** 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 an ''ADEPT'' Hub (I2C breakout board), then the M parameter also becomes active, for example ''RDADC T? M?'' would answer with '':A 2565 2389'' meaning sensor-1 has read 25.65C and sensor-2 has read 23.89C. If there are two temperature sensors present, one connected to channel-1 and the other connected to channel-2 of an ''ADEPT'' Hub (I2C breakout board), then the M parameter also becomes active, for example ''RDADC T? M?'' would answer with '':A 2565 2389'' meaning sensor-1 has read 25.65C and sensor-2 has read 23.89C.
  
Line 28: Line 32:
  
 ^Shortcut  |RA|  ^Shortcut  |RA| 
-^Format  |[addr#]RDADC  [X?] [Y?]|+^Format  |[addr#]RDADC  [X?] [Y?] [Z?] [F?] [T?] |
 ^Units    |Integer| ^Units    |Integer|
 ^Type    |Card-Addressed  | ^Type    |Card-Addressed  |
Line 35: Line 39:
 On a ''TGPMT'' card in a Tiger Controller, this is a __Read Only__ command. It reports ''PMT'' signal read through an ''ADC'' onboard the ''TGPMT'' card.  On a ''TGPMT'' card in a Tiger Controller, this is a __Read Only__ command. It reports ''PMT'' signal read through an ''ADC'' onboard the ''TGPMT'' card. 
  
-**X?** Returns the ''ADC'' reading of ''PMT0''+**X?:** Returns the ''ADC'' reading of ''PMT0'' 
 + 
 +**Y?:** Returns the ''ADC'' reading of ''PMT1'' 
 + 
 +**Z?:** Autofocus related, requires ''AUTOFOCUS'' firmware module.
  
-**Y?** Returns the ''ADC'' reading of ''PMT1''+**T?:** Temp sensor related, requires ''TEMP_SENSOR'' firmware module.
  
 [[:tgpmt#adc_specification|ADC Specification can be found here.]]  [[:tgpmt#adc_specification|ADC Specification can be found here.]] 
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/rdadc.1750097001.txt.gz · Last modified: by brandon