User Tools

Site Tools


commands:pr

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
commands:pr [2019/04/18 23:33]
127.0.0.1 external edit
commands:pr [2019/09/04 19:38] (current)
vik
Line 72: Line 72:
 <-- <--
  
 +--> SIGNAL_DAC for TGDAC4 #
  
 +^Shortcut ​ |PR| 
 +^Format ​ |PR [axis]=[0-7] …|
 +^Units ​   |Integer code, 0-7|
 +^Type    |Axis-Specific ​ |
 +^Remembered |automatically,​ no SS Z required |
 +^Firmware Required|v3.3+|
 +
 +For TGDAC4 card with SIGNAL_DAC firmware, the bits 0-2 of the specified code sets the output range (values 0-7 in decimal). ​ Bits 3-7 are reserved for future use. Controller reset or restart is needed for setting to take effect.
 +
 +^Code (Decimal) ^ Code (Binary) ^ Output range ^
 +|0| 000 | 0V to 2.048V|
 +|1| 001 | 0V to 4.096V|
 +|2| 010 | 0V to 10.24V|
 +|3| 011 | not supported|
 +|4| 100 | -1.024V to 1.024V|
 +|5| 101 | -2.048V to 2.048V|
 +|6| 110 | -5.128V to 5.128V|
 +|7| 111 | -10.24V to 10.24V|
 +
 +
 +
 +**Example**
 +
 +<asi> $ PR A=2 B=7
 +:​A</​asi>​
 +Puts the output A in 0-10V mode and output B in +/- 10V mode.
 +<asi> $ PR A? B?
 +:A A=2 B=7 </​asi>​
 +Queries the mode of axes
 +
 +<--
  
  
 {{tag>​commands tiger piezo micromirror tlens}} {{tag>​commands tiger piezo micromirror tlens}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/pr.txt · Last modified: 2019/09/04 19:38 by vik