User Tools

Site Tools


commands:wrdac

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:wrdac [2022/05/18 19:26] – Typo chrisdcommands:wrdac [2026/05/31 08:17] (current) – brandon
Line 1: Line 1:
-====== Command:WRDAC ======+====== Command:WRDAC (WD)======
  
---> On Tiger with TGLED#+--> On Tiger with TGLED ^
  
 +^Shortcut | WD <wrap lo>//requires v3.51 (Tiger Comm)//</wrap> |
 ^Format  |[Addr#]WRDAC X=[1 to 100]   | ^Format  |[Addr#]WRDAC X=[1 to 100]   |
 ^Units    |Percentage between 0 and 100 | ^Units    |Percentage between 0 and 100 |
Line 8: Line 9:
 ^Remembered |Using [Addr#]SS Z | ^Remembered |Using [Addr#]SS Z |
  
-This command is “recycled” for a slightly different use in TGLED than for other cards.  In the context of a TGLED card this command is used to set the maximum amount of current for all the LED channels. +This command is “recycled” for a slightly different use in ''TGLED'' than for other cards.  In the context of a ''TGLED'' card this command is used to set the maximum amount of current for all the LED channels. 
  
-The Maximum amount of current a TGLED Rev A card can output on each LED channel is 1.2Amps. When the X argument is set to 75, then maximum current each channel will output is reduced to 75% of 1.2Amps i.e. 0.9Amps. +The Maximum amount of current a ''TGLED'' Rev A card can output on each LED channel is 1.2Amps. When the X argument is set to 75, then maximum current each channel will output is reduced to 75% of 1.2Amps i.e. 0.9Amps. 
  
 This command can be used as a quick way to adjust the brightness of all LED channels. Default is 75%, ASI recommends not exceeding this limit.  This command can be used as a quick way to adjust the brightness of all LED channels. Default is 75%, ASI recommends not exceeding this limit. 
Line 23: Line 24:
 X=50 :A</asi> X=50 :A</asi>
 Queries the card for maximum current percentage. Queries the card for maximum current percentage.
- 
- 
-<-- 
- 
---> On MS2000 and RM2000# 
- 
-^Format  |WRDAC X=[0 to 10]   | 
-^Units    |Voltage, 0 to 10V | 
-^Firmware Required    |8.4f+ | 
-Lets the user set the voltage on header pin SV1-5 on WK2000 board. The voltage can be varied between 0 and 10 Volts, with an accuracy of 0.1V. Maximum Output drive current is 35mA. Input value in volts. Does not work with Piezo units. If using a a firmware build with "PZ" in the name, such as PZ_CRISP, commanded moves of the Z axis will be scaled using the [[commands:customa|CCA X command]] (minimum=0v, maximum=10.00v) and output on the analog 0-10V output BNC (SV1 Pin 5). 
- 
-__//Example//__ 
- 
-<asi>$ WRDAC X=1.1 
-:A</asi> 
-Voltage on PIN SV1-5 is 1.1Volts 
-  
-<asi>$ WRDAC X=20 
-:N-4 
-$ WRDAC X=-1 
-:N-4 
-</asi> 
-Parameter out of range 
- 
  
 <-- <--
  
---> On Tiger with TGPMT#+--> On Tiger with TGPMT ^
  
 +^Shortcut | WD <wrap lo>//requires v3.51 (Tiger Comm)//</wrap> |
 ^Format  |[Addr#]WRDAC X=[0 to 1000] Y=[1 to 1000]   | ^Format  |[Addr#]WRDAC X=[0 to 1000] Y=[1 to 1000]   |
 ^Units    |integer, between 0 and 1000 | ^Units    |integer, between 0 and 1000 |
Line 57: Line 35:
 ^Remembered |Using [Addr#]SS Z | ^Remembered |Using [Addr#]SS Z |
  
-This command is “recycled” for a slightly different use on TGPMT card than for other cards .  In the context of a TGPMT card this command is used to set the PMT's control voltage or gain. When set to 0 , PMT output signal drops to 0Volts , turning it off. When set to 1000 , 100% of control signal (1 Volts incase of H10722) is applied to the PMT. +This command is “recycled” for a slightly different use on ''TGPMT'' card than for other cards.  In the context of a ''TGPMT'' card this command is used to set the PMT's control voltage or gain. When set to 0, PMT output signal drops to 0Volts, turning it off. When set to 1000, 100% of control signal (1 Volts incase of H10722) is applied to the PMT. 
  
 **X** sets the gain for ''PMT0'' **X** sets the gain for ''PMT0''
Line 67: Line 45:
 __//Example//__ __//Example//__
   
-<asi> $ 7 wrdac x? y?+<asi> $ 7WRDAC X? Y?
 X=500.000000 Y=0.000000 :A</asi> X=500.000000 Y=0.000000 :A</asi>
-Queries the TGPMT card at Address 7 for PMT gain settings. PMT0 is at 50% gain , PMT1 is at 0% gain and so is off.+Queries the ''TGPMT'' card at Address 7 for PMT gain settings. ''PMT0'' is at 50% gain, ''PMT1'' is at 0% gain and so is off.
  
-<asi> $ 7wrdac x=505 +<asi> $ 7WRDAC X=505 
 :A</asi> :A</asi>
-Sets the gain of PMT0 at 50.5% on TGPMT card at address 7+Sets the gain of ''PMT0'' at 50.5% on ''TGPMT'' card at address 7.
  
 <-- <--
  
 +--> On MS2000 and RM2000 ^
 +
 +^Shortcut | WD <wrap lo>//requires v9.53//</wrap> |
 +^Format  |WRDAC X=[0 to 10]   |
 +^Units    |Voltage, 0 to 10V |
 +^Firmware Required    |8.4f+, Not containing "PZ" |
 +Lets the user set the voltage on header pin SV1-5 on WK2000 board. The voltage can be varied between 0 and 10 Volts, with an accuracy of 0.1V. Maximum Output drive current is 35mA. Input value in volts. 
 +
 +This command is completely disabled on piezo controllers. If using a a firmware build with ''"PZ"'' in the name, such as ''PZ_CRISP'', normal commanded [[commands:move|move]]s of the Z axis will be scaled using the [[commands:customa|CCA X command]]. The CCA X command should only be set once to specify the maximum travel range of the piezo being used. This scaling will map the piezo physical range in normal units of 1/10um (centered around 0) to voltage on the analog 0-10V (minimum=0v, maximum=10.00v) output BNC (SV1 Pin 5).
 +
 +__//Example//__
 +
 +<asi>$ WRDAC X=1.1
 +:A</asi>
 +Voltage on PIN SV1-5 is 1.1Volts
 +
 +<asi>$ WRDAC X=20
 +:N-4
 +$ WRDAC X=-1
 +:N-4
 +</asi>
 +Parameter out of range
 +
 +<--
  
 {{tag>commands led tiger ms2000 tgled tgpmt dac 0-10v}} {{tag>commands led tiger ms2000 tgled tgpmt dac 0-10v}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/wrdac.1652916393.txt.gz · Last modified: by chrisd