Sets polynomial calibration on the channel.
Namespace:
NationalInstruments.VeriStand.ClientAPI
Assembly:
NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration) |
---|
Function SetCalibration ( _
channelName As String, _
coefficients As Double() _
) As Error |
C# |
---|
Error SetCalibration(
string channelName,
double[] coefficients
) |
Visual C++ |
---|
Error^ SetCalibration(
String^ channelName,
array<double>^ coefficients
) |
Parameters
- channelName
- Type: System.String
The name of channel on which to set calibration.
- coefficients
- Type:
System.Double
The coefficients of the polynomial scale. You can specify up to ten coefficients.
Return Value
Returns an error if the calibration cannot be set. If no error occurs, the Code property of the Error object is 0.