Calibrates the raw data collected by AInScan() from boards with real time software calibration when the real time calibration has been turned off. The AInScan() method can return either raw A/D data or calibrated data, depending on whether or not the NoCalibrateData option was used.
Member of the MccBoard class.
VB .NET
Public Function ACalibrateData(ByVal numPoints As Integer, ByVal range As MccDaq.Range, ByVal adData As Short()) As MccDaq.ErrorInfo
Public Function ACalibrateData(ByVal numPoints As Integer, ByVal range As MccDaq.Range, ByVal adData As System.UInt16()) As MccDaq.ErrorInfo
C# .NET
public MccDaq.ErrorInfo ACalibrateData(int numPoints, MccDaq.Range range, short[] adData)
public MccDaq.ErrorInfo ACalibrateData(int numPoints, MccDaq.Range range, ushort[] adData)
The following methods are deprecated, and should only be used for legacy applications. The methods above are preferred, and must be used for 64-bit application development.
VB .NET
Public Function >ACalibrateData(ByVal numPoints As Integer, ByVal range As MccDaq.Range, ByRef adData As Short) As MccDaq.ErrorInfo
Public Function ACalibrateData(ByVal numPoints As Integer, ByVal range As MccDaq.Range, ByRef adData As System.UInt16) As MccDaq.ErrorInfo
C# .NET
public MccDaq.ErrorInfo ACalibrateData(int numPoints, MccDaq.Range, ref ushort adData)
public MccDaq.ErrorInfo ACalibrateData(int numPoints, MccDaq.Range range, ref short adData)
numPoints
The number of samples to convert.
range
The programmable gain/range used when the data was collected. Refer to board specific information for a list of the supported A/D ranges of each board.
adData
Reference to data array.