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


Ignore:
Timestamp:
03/21/12 08:10:49 (13 years ago)
Author:
Don Wilson
Comment:

--

Legend:

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

    v1 v1  
     1= GetDACPercent =
     2Get a DAC output percentage.
     3
     4{{{
     5int GetDACPercent(int dev);
     6}}}
     7
     8== Parameters ==
     9
     10 * dev - number of DAC card.
     11
     12== Return Value ==
     13
     14 * Returns the percentage of the DAC output
     15
     16== Remarks ==
     17
     18The option card must already be opened by calling OpenMnBd(dev) first. The DAC output registers must already be initialized by calling, SetDACReg, etc... If the application is using main board communication events these events may be called during the wait for acknowledgement.
     19
     20== Examples ==
     21
     22{{{
     23   int dac = 1; // number of dac card - not number of slot
     24
     25   int percent = GetDACPercent(dac);
     26   DisplayText(0, 0, "DAC Percent = " + IntToStr(percent));
     27}}}
     28
     29
     30== See Also ==
     31
     32 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/SetDACReg SetDACReg]
     33 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/SetDACTrackScale SetDACTrackScale]