Vtex1629_Set_Linearscaling_Configuration - VTI Instruments EX1629 User Manual

48-channel strain gage instrument
Table of Contents

Advertisement

F
P
UNCTION
ROTOTYPE
ViStatus vtex1629_set_linearscaling_configuration (ViSession vi, ViInt32 _VI_FAR channels[],ViInt32
numberOfChannels, ViReal64 m, ViReal64 b);
F
P
UNCTION
ARAMETERS
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 linear scaling coefficients will
be set. Valid input values: 0 to 47.
numberOfChannels = the size of the channels list. Valid input values: 1 to 48.
m = a real input value indicating the gain factor, m, in the linear equation y = mx + b.
b = a real input value indicating the offset value, b, in the linear equation: y = mx + b.
D
I
R
V
ATA
TEM
ESET
ALUE
m = 2.000000
D
ESCRIPTION
This function sets the slope (m) and intercept (b) parameters for a channel when configured for linear EU
conversion (x being in volts).
NOTE
The m parameter (slope) is stored in the same location as the gage factor and the b parameter
(intercept) is stored in the same location as the unstrained voltage. Since the linear scaling EU
conversion and the strain EU conversions are mutually exclusive, this is never an issue in practice.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 channels[] = {24};
...
status = vtex1629_set_linearscaling_configuration(instrumentHandle,
EX1629 Command Set

vtex1629_set_linearscaling_configuration

b = 0.000000
channels,
1,
1.0,
0.0);
www.vtiinstruments.com
265

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EX1629 and is the answer not in the manual?

Questions and answers

Table of Contents