Dear all,
The example program that comes with NIDAQmx (DigPulseTrain-Cont-PauseTrig) uses a function called DAQmxSetTrigAttribute but I cannot find any documentation on the use of this function or any of the others in the same block within the NIDAQmx.h header file:
The example program contains the following lines:
DAQmxErrChk (DAQmxSetTrigAttribute(*taskHandle,DAQmx_PauseTrig_Type,DAQmx_Val_DigLvl));
DAQmxErrChk (DAQmxSetTrigAttribute(*taskHandle,DAQmx_DigLvl_PauseTrig_Src,triggerSource));
DAQmxErrChk (DAQmxSetTrigAttribute (*taskHandle, DAQmx_DigLvl_PauseTrig_When,pauseWhen));
And the NIDAQmx.h header file contains these function definitions:
int32 DllExport __CFUNC_C DAQmxGetTrigAttribute (TaskHandle taskHandle, int32 attribute, void *value, ...);
int32 DllExport __CFUNC_C DAQmxSetTrigAttribute (TaskHandle taskHandle, int32 attribute, ...);
int32 DllExport __CFUNC DAQmxResetTrigAttribute (TaskHandle taskHandle, int32 attribute);
Does anybody know what the different parameters are and how to use these functions?
Regards
Martin Dale