= GetIndexFromDACRange = Get an index value from a DAC range. {{{ int GetDACRangeFromIndex(DACOuputRange range); }}} == Parameters == * range - the range dacOutput0to5V, dacOutput0to10V, dacOutput4to20mA, dacOutput0to20mA, dacOutput0to25mA == Return Value == * Returns an integer index based on the output range == Remarks == == Examples == {{{ DACOutputRange range = dacOutput4to20mA; int index = GetIndexFromDACRange(range); // index will be 2 }}} == See Also == * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/DAC/GetDACRangeFromIndex GetDACRangeFromIndex] * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/SetDACTrackScale SetDACTrackScale]