/* measure the excitation voltage */
result = vtex1629_measure_ excitation _voltage( vi, channels,
numberOfChannels, VTEX1629_EXCITE_SRC_REMOTE, 50, NULL, &numval,
VI_TRUE);
Setting Bridge Limits
Once the EX1629's channels are configured for data acquisition, the user's can also set limits on
the data being acquired so that, if a minimum or maximum value is exceeded, an error message is
returned.
Sample Code
ViStatus status = VI_SUCCESS;
ViChar errMessage[256];
ViInt32 channels[MAX_NUMBER_OF_CHANNELS];
ViInt32 numChannels = MAX_NUMBER_OF_CHANNELS;
ViReal64 minArr[MAX_NUMBER_OF_CHANNELS];
ViReal64 maxArr[MAX_NUMBER_OF_CHANNELS];
int i = 0;
for(i = 0; i < MAX_CHANNELS; i++) {
}
for(i = 0; i < MAX_NUMBER_OF_CHANNELS; i++) {
}
for(i = 0; i < MAX_NUMBER_OF_CHANNELS; i++) {
}
status = vtex1629_set_bridge_limit(instrumentHandle,
if(status < VI_SUCCESS){
}
Setting LXI Event Limits
Once bridge limits have been defined, LXI trigger bus lines can be programmed to produce trigger
outputs when any of the limit conditions are tripped.
Sample Code
ViStatus status = VI_SUCCESS;
status = vtex1629_set_lxi_limit_event_enabled(vi, 0, 0xffffffff,
0xffffffff, 0xffffffff);
if(status < VI_SUCCESS){
}
EX1629 Programming
channels[i] = i;
minArr[i] = (-2.0);
maxArr[i] = 4.0;
<inform the user the API call failed>
<inform the user the API call failed>
www.vtiinstruments.com
NULL,
&numval,
VI_TRUE);
numChannels,
channels,
minArr,
maxArr);
77
Need help?
Do you have a question about the EX1629 and is the answer not in the manual?