Click or drag to resize

LaserAPISetPowerCalibration(UInt32, PowerChannels) Method

Sets the current power calibration table on the card.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.4.1
Syntax
C#
public void SetPowerCalibration(
	uint[] calibrationValues,
	PowerChannels powerTargetChannel = PowerChannels.Channel0
)

Parameters

calibrationValues  UInt32
An array of calibration values (optimally consisting of 1025 elements).
powerTargetChannel  PowerChannels  (Optional)
The power output channel selector.
Remarks

If the array consists of fewer than 1025 elements, then the firmware will linearly interpolate the supplied data points. If the array contains more than 1025 data points then the firmware will "down-sample" and eliminate superfluous data points. The array will remain unchanged if it contains exactly 1025 elements.

The calibration values are used to calculate (by interpolation) the laser power output value corresponding the currently specified ProcessVariablesPower value.

The valid range for each calibration value is 0 <= value <= 65536

See Also