Changes between Initial Version and Version 1 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/SetDACReg


Ignore:
Timestamp:
03/21/12 07:31:20 (13 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/SetDACReg

    v1 v1  
     1= SetDACReg =
     2Set a DAC output register.
     3
     4{{{
     5int SetDACReg(int dev, DACReg reg, uint16 val, int wait);
     6}}}
     7
     8== Parameters ==
     9
     10 * dev - number of DAC card.
     11 * reg - DAC register to set - dacAD5422Status, dacAD5422Data, dacAD5422Control, dacLowWeight, dacMaxOutput, dacOutputRange, dacScaleAssign, dacHighWeight, or dacGrossNet
     12 * val - value to assign to the register
     13 * wait - WAIT_ACK Wait for acknowledgement, NO_WAIT_ACK do not wait for acknowledgement
     14
     15== Return Value ==
     16
     17 * Returns the result - OK success (If WAIT_ACK may be TIMEOUT)
     18
     19== Remarks ==
     20
     21The option card must already be opened by calling OpenMnBd(dev) first. If the application is using main board communication events these events may be called during the wait for acknowledgement.
     22
     23== Examples ==
     24
     25{{{
     26
     27}}}
     28
     29
     30== See Also ==
     31
     32 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/SetDACOutputRange SetDACOutputRange]
     33 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/SetDACTrackScale SetDACTrackScale]