FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kLdCalLookup_InputToPower ( kLdCalLookup  lookup,
kSize  input,
k64f  temperature,
k64f power 
)

Calculates optical power at a specific set point input value and driver temperature.

This function can be used to determine the optical power at a previously configured set point input value. Specified input must be within the calibrated range and inputs outside of that range will result in function returning kERROR_NOT_FOUND

Parameters
lookupLookup object.
inputInput to the power pot, specified in device units.
temperatureDriver temperature at which the power is queried. Specify k64F_NULL to default to the calibration temperature.
powerPointer receiving the optical power corresponding to the specified set point input and temperature.
Returns
Operation status.