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 revision Previous revision
Next revision
Previous revision
commands:wrdac [2016/09/07 22:03]
asiadmin ↷ Page moved from documentation:commands:wrdac to commands:wrdac
commands:wrdac [2019/04/18 23:33] (current)
Line 1: Line 1:
 +====== Command:​WRDAC ======
  
 +--> On Tiger with TGLED#
 +
 +^Format ​ |[Addr#​]WRDAC X=[1 to 100]   |
 +^Units ​   |Percentage between 0 and 100 |
 +^Type |Card-Addressed|
 +^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 around 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. ​
 +
 +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. ​
 +
 +__//​Example//​__
 +
 +<​asi>​$ 1WRDAC X=50
 +:​A</​asi>​
 +Limits the maximum current output on each channel to 50% or 0.6Amps
 +
 +<​asi>​$ 1WRDAC X? 
 +X=50 :​A</​asi>​
 +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. ​
 +
 +__//​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#
 +
 +^Format ​ |[Addr#​]WRDAC X=[0 to 1000] Y=[1 to 1000]   |
 +^Units ​   |integer, between 0 and 1000 |
 +^Type |Card-Addressed|
 +^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. 
 +
 +**X** sets the gain for ''​PMT0''​
 +
 +**Y** sets the gain for ''​PMT1''​
 +
 +This function does the same function as the Dials on TGPMT cards faceplate. ​
 +
 +__//​Example//​__
 +
 +<asi> $ 7 wrdac x? y?
 +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.
 +
 +<asi> $ 7wrdac x=505 
 +:​A</​asi>​
 +Sets the gain of PMT0 at 50.5% on TGPMT card at address 7
 +
 +<--
 +
 +
 +{{tag>​commands led tiger ms2000 tgled tgpmt dac}}
commands/wrdac.txt · Last modified: 2019/04/18 23:33 (external edit)