www.vtiinstruments.com
EX10xxA Function Calls 249
vtex10xxA_set_linear_correction
FUNCTION PROTOTYPE
ViStatus VI_FUNC vtex10xxA_set_linear_correction(ViSession vi, ViInt32 channels[], ViInt32 numChannels,
ViReal64 gain, ViReal64 offset);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
channels = an array to receive the requested scan list. Valid input values: 0 through 47.
numChannels = an integer output value indicating how many channels are in the scan list. Valid input values:
1 through 48.
gain = a real input value representing the gain component, m, of linear EU correction, m(x-b). Valid input values:
all real numbers.
offset = a real input value representing the offset component, b, of linear EU correction m(x-b). Valid input values:
all real numbers.
DATA ITEM RESET VALUE
For all channels:
gain = 1.0 offset = 0.0
DESCRIPTION
This function specifies m(x-b) linear correction of a voltage channel.
EXAMPLE