VTI Instruments Corp.
178 EX10xxA/RX1032/EX1044 Function Calls
vtex10xxA_get_linear_correction
FUNCTION PROTOTYPE
ViStatus VI_FUNC vtex10xxA_get_linear_correction( ViSession vi, ViInt32 channel,ViPReal64 gain, ViPReal64
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.
channel = the channel for which the limit set 0 values are desired. Valid input values: 0 through 47.
gain = A linear correction gain. ‘m’ of m(x-b) conversion.
offset = A linear correction offset. ‘b’ of m(x-b) conversion.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function returns linear correction of a voltage channel. If the channel specified by the channel parameter is a
thermocouple channel, an error is returned.
EXAMPLE