www.vtiinstruments.com
EX1629 Command Set 237
Limit checking is performed on the output of the EU conversion. So, if the specified EU conversion is in Strain
(Quarter, Half, or Full Bridge) the limit values are in strain (or microstrain). If the specified EU conversion is volts,
then the limit values are in volts.
EXAMPLE
ViSession instrumentHandle;
ViStatus status = VI_SUCCESS;
ViInt32 numChannels = MAX_NUMBER_OF_CHANNELS;
ViInt32 channels[MAX_NUMBER_OF_CHANNELS];
ViReal64 minArr[MAX_NUMBER_OF_CHANNELS];
ViReal64 maxArr[MAX_NUMBER_OF_CHANNELS];
int i = 0;
for(i = 0; i < MAX_NUMBER_OF_CHANNELS; i++) {
channels[i] = i;
minArr[i] = (-1.0);
maxArr[i] = 2.0;
}
status = vtex1629_set_bridge_limit(instrumentHandle,
numChannels,
channels,
minArr,
maxArr);