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

Calculates optical power at a specific current limit input value and driver temperature.

This function can be used to determine the optical power at a previously configured current limit 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.
limitPointer receiving the optical power corresponding to the specified current limit input and temperature.
Returns
Operation status.