VTI Instruments Corp.
264
EX1629 Command Set
vtex1629_set_lead_wire_resistance
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_set_lead_wire_resistance (ViSession
vi
, ViInt32
channelsArraySize
, ViInt32 _VI_FAR
channels[]
, ViReal64
resistance
);
F
UNCTION
P
ARAMETERS
vi
= contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
channelsArraySize
= the size of the
channel[]
array. Valid input values: VTEX1629_MIN_SCANLIST_LENGTH
(1) to VTEX1629_MAX_SCANLIST_LENGTH (48).
channel[]
= an integer input array that specifies the channels to which the
factor
parameter will apply. Valid input
values: 0 to 47.
resistance
= sets the lead wire resistance value. Valid input values are numbers greater than 0.
D
ATA
I
TEM
R
ESET
V
ALUE
resistance
= 0.
D
ESCRIPTION
This function sets the resistance of the lead wire.
NOTE
Early EX1629s do not have hardware which supports this functionality. Implementation of direct
lead wire measurement is not possible on first generation units.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 channelsArraySize = MAX_CHANNELS;
ViInt32 channels[MAX_CHANNELS];
ViReal64 resistance;
ViInt32 i = 0;
for(i = 0; i < channelsArraySize; i++) {
channels[i] = i;
}
memset(resistance, 0x00, sizeof(resistance));
status = vtex1629_set_lead_wire_resistance(vi,
channelsArraySize,
channels,
resistance);