|
FireSync API
|
| kStatus kLdCalLookup_CompensateLimitInput | ( | kLdCalLookup | lookup, |
| kSize | calInput, | ||
| k64f | temperature, | ||
| kSize * | compensatedInput | ||
| ) |
Calculates the limit input value required to produce optical power that's equivalent to specified calibration limit input.
The function accepts the limit value that's configured at the end of the manufacturing process, which maps to the desired optical power at calibration temperature. Output of the function is the limit input required to produce the same desired optical power at any temperature within sensors temperature range. Specified input must be within the calibrated range and inputs outside of that range will result in function returning kERROR_NOT_FOUND
| lookup | Lookup object. |
| calInput | Driver current limit input, in device units, configured at shipping (matching desired power at calibration temperature). |
| temperature | Driver temperature to compensate to. Specify k64F_NULL to default to the calibration temperature. |
| compensatedInput | Pointer receiving driver input, in device units, matching the optical power of the uncompensated current limit input at the specified temperature. |