www.vtiinstruments.com
EX1629 Command Set 259
vtex1629_set_gauge_factor
FUNCTION PROTOTYPE
ViStatus vtex1629_set_gauge_factor (ViSession vi, ViInt32 _VI_FAR channels[],ViInt32 numberOfChannels,
ViReal64 gageFactor);
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 input integer array containing a list of channel numbers for which the gage factor will be set. Valid
input values: 0 to 47.
numberOfChannels = the size of the channels list. Valid input values: 1 to 48.
gageFactor = a real input value indicating the desired gage factor.
DATA ITEM RESET VALUE
gageFactor = 2.000000
DESCRIPTION
This function sets the gage factor for a list of channels. This is one of the parameters used in EU conversion
calculations.
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 channels[] = {0};
ViInt32 numberOfChannels = 1;
…
status = vtex1629_set_gauge_factor(instrumentHandle,
channels,
numberOfChannels,
2.01);
…