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


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

--

Legend:

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

    v1 v1  
     1= GetIndexFromDACRange =
     2Get an index value from a DAC range.
     3
     4{{{
     5int GetDACRangeFromIndex(DACOuputRange range);
     6}}}
     7
     8== Parameters ==
     9
     10 * range - the range dacOutput0to5V, dacOutput0to10V, dacOutput4to20mA, dacOutput0to20mA, dacOutput0to25mA
     11
     12== Return Value ==
     13
     14 * Returns an integer index based on the output range
     15
     16== Remarks ==
     17
     18
     19== Examples ==
     20
     21{{{
     22   DACOutputRange range = dacOutput4to20mA;
     23
     24   int index = GetIndexFromDACRange(range);
     25   // index will be 2
     26}}}
     27
     28
     29== See Also ==
     30
     31 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/GetDACRangeFromIndex GetDACRangeFromIndex]
     32 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/SetDACTrackScale SetDACTrackScale]