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 revision Previous revision
Next revision
Previous revision
commands:rdadc [2016/09/07 22:29]
asiadmin ↷ Links adapted because of a move operation
commands:rdadc [2019/04/18 23:33] (current)
Line 1: Line 1:
 +====== Command:​RDADC (RA) ======
  
 +-->​MS2000 Syntax and Function#
 +
 +^Shortcut ​ |RA | 
 +^Format ​ |RA [X] [Y] [Z] [F] |
 +
 +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.
 +
 +**Example**
 +
 +<asi> $ RA X Y
 +:A 128 128</​asi>​
 +
 +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 TGPMT card in a Tiger Controller , this is a Read Only command. It reports PMT signal read thru an ADC onboard the TGPMT card. 
 +
 +**X?** Returns the ADC reading of ''​PMT0''​
 +
 +**Y?** Returns the ADC reading of ''​PMT1''​
 +
 +[[:​tgpmt#​adc_specification|ADC Specification can be found here.]] ​
 +
 +**Example**
 +
 +If the TGPMT card address was **7**, ​
 +
 +<asi> $ 7 rdadc x? y?
 +:A 2 1</​asi> ​
 +
 +"​2"​ is the ADC reading from ''​PMT0''​ , and "​1"​ is the ADC reading from ''​PMT1''​
 +
 +<asi> $ 7 ra x? y?
 +:A 2 1</​asi> ​
 +
 +<--
 +{{tag>​commands ms2000 tiger tgpmt}}
commands/rdadc.txt · Last modified: 2019/04/18 23:33 (external edit)