= 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 == * [wiki:GetDACRangeFromIndex GetDACRangeFromIndex] * [wiki:SetDACTrackScale SetDACTrackScale]