|
FireSync API
|
| kStatus kAnalogOut_SetCalibration | ( | kAnalogOut | analog, |
| kArray2 | calibration | ||
| ) |
Sets (or clears) calibration information.
The calibration table provides a mapping between nominal current and calibrated current. The table should have the following properties:
Calibration is optional and can be cleared by calling this function with a null calibration object. If calibration is not provided, output will governed by the nominal device calibration model (e.g., 0 - 22 mA, mapped directly to DAC codes).
Calibration is transient (will not be saved to storage). Reapply calibration as needed after reset.
This method will automatically apply any outstanding configuration changes before sending calibration data to the node.
| analog | Analog output object. |
| calibration | Calibration table (kArray2<k64f>), or null to clear calibration. |