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