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 [2021/09/23 17:16] – external edit 127.0.0.1commands:rdadc [2025/06/16 14:35] (current) – add module reqs brandon
Line 1: Line 1:
 ====== Command:RDADC (RA) ====== ====== Command:RDADC (RA) ======
  
--->MS2000 Syntax and Function#+-->MS2000 Syntax and Function ^
  
 ^Shortcut  |RA |  ^Shortcut  |RA | 
-^Format  |RA [X] [Y] [Z] [F] |+^Format  |RDADC [X?] [Y?] [Z?] [F?] [T?] [M?] | 
 +^Units    |Integer| 
 +^Remembered |Not Applicable|
  
-Returns the present values on the MS2000'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, e.g. 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]] user can query the focus score with the Z parameter ie ''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 celcius with the T parameter ie ''RDADC T?'' +**Y?:** Returns the ''ADC'' reading of the joystick Y axis. 
-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, E.G. ''RDADC T? M?'' would answer with '':A 2565 2389'' meaning sensor-1 has read 25.65C and sensor-2 has read 23.89C.+ 
 +**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.
  
  
Line 23: Line 29:
 <-- <--
  
---> Tiger and TGPMT Syntax and Function#+--> Tiger and TGPMT Syntax and Function ^
  
 ^Shortcut  |RA|  ^Shortcut  |RA| 
-^Format  |[addr#]RA [X?] [Y?]| +^Format  |[addr#]RDADC  [X?] [Y?] [Z?] [F?] [T?] | 
-^Units    |integer|+^Units    |Integer|
 ^Type    |Card-Addressed  | ^Type    |Card-Addressed  |
 ^Remembered |Not Applicable| ^Remembered |Not Applicable|
  
-On a TGPMT card in a Tiger Controller , this is a Read Only command. It reports PMT signal read thru 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'' 
 + 
 +**Y?:** Returns the ''ADC'' reading of ''PMT1''
  
-**X?** Returns the ADC reading of ''PMT0''+**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.]] 
Line 41: Line 51:
 **Example** **Example**
  
-If the TGPMT card address was **7**, +If the ''TGPMT'' card address was **7**, 
  
-<asi> $ 7 rdadc x? y?+<asi> $ 7RDADC X? Y?
 :A 2 1</asi>  :A 2 1</asi> 
  
-"2" is the ADC reading from ''PMT0'' , and "1" is the ADC reading from ''PMT1''+"2" is the ''ADC'' reading from ''PMT0'', and "1" is the ''ADC'' reading from ''PMT1''
  
-<asi> $ 7 ra x? y?+<asi> $ 7RA X? Y?
 :A 2 1</asi>  :A 2 1</asi> 
  
 <-- <--
-{{tag>commands ms2000 tiger tgpmt}}+{{tag>commands tgpmt autofocus tiger ms2000}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/rdadc.1632431771.txt.gz · Last modified: by 127.0.0.1