VTI Instruments Corp.
244
EX1629 Command Set
0 = Conf. data is less
than the MAX for
Conf. Source 0
1 = Conf. data is
greater than the MAX
for Conf. Source 0
0 = Conf. data is
greater than the MIN
for Conf. Source 0
1 = Conf. data is less
than the MIN for
Conf. Source 0
31
0
15
MSW
(MAX Limit exceeded status)
LSW
(MIN Limit exceeded status)
Confidence Limit Check Detailed Result (Available per Bridge channel)
NOTE
The source-to-bit mapping is constant, regardless of confidence scanlist configuration. For
example, whether or not sources 0 and 1 are enabled in the confidence scanlist, for instance,
source 2’s MIN Limit Exceeded Bit and MAX Limit Exceeded Bit are always bits 2 and 18,
respectively.
The confidence source mapping follows the same ordering as the source # define in vtex1629.h i.e. if sources 3, 8,
and 10 are selected then they are reported in that order. Confidence sources that are not part of the confidence
scanlist are not reported and will have their bit-fields set to 0.
Confidence values are reported at a maximum frequency of 500 Hz. This mode is supported up to 1 kHz sampling
rate. Hence, at 1 kHz, every other packet will contain confidence information. The datapage size is 248 words when
it has full confidence information i.e. confidence data and full limit check values, and is 24 words when it has no
confidence information. Hence, the total data rate = ((248+24)/2)*4*8*1000 samples/second= 4.352 Mb/s.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 confSrcEnum = 0;
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] = (-2.0);
maxArr[i] = 4.0;
}
status = vtex1629_set_confidence_limit(instrumentHandle,
confSrcEnum,
numChannels,
channels,
minArr,
maxArr);