www.vtiinstruments.com
EX1629 Command Set
251
E
XAMPLE
ViSession instrumentHandle;
ViStatus status = VI_SUCCESS;
ViInt32 inputLine = 0;
ViInt32 inputTrigType = 0;
ViInt32 numActions = MAX_DIO_CHANNELS;
ViInt32 outputLineArr[MAX_DIO_CHANNELS];
ViInt32 outputActionTypeArr[MAX_DIO_CHANNELS];
ViInt32 i = 0;
for(i = 0; i < MAX_DIO_CHANNELS; i++) {
outputLineArr[i] = i;
outputActionTypeArr[i] = 0;
}
status = vtex1629_set_dio_config_events(instrumentHandle,
inputLine,
inputTrigType,
numActions,
outputLineArr,
outputActionTypeArr);