wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/GetDACRangeFromIndex

Version 2 (modified by Don Wilson, 7 years ago) ( diff )

--

GetDACRangeFromIndex

Get a DAC range from index value.

DACOuputRange GetDACRangeFromIndex(int index);

Parameters

  • index - number of DAC card.

Return Value

  • Returns a DACOutputRange based on the index value

Remarks

Examples

   int index = 2;

   DACOutputRange = GetDACRangeFromIndex(index);
   // DACOutputRange will be dacOutput4to20mA

See Also

Note: See TracWiki for help on using the wiki.