Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

What is DAQmxSetTrigAttribute?

In the example code Download - CPlusPlus_Retriggerable_AI_Using_Retriggerable_Counter.zip what is the function DAQmxSetTrigAttribute(counterTask, DAQmx_StartTrig_Retriggerable, TRUE);? 
 
What does it do? 
 
What are the definitions for each of the parameters?
 
Thanks,
 
Kevin
0 Kudos
Message 1 of 2
(3,207 Views)
Hi Kevin,
 
The attribute ids that are valid for the DAQmxSetTriggAttribute() are in the included NIDAQmx.h file.  They can be found under the heading
 
"//********** Trigger Attributes **********"
 
Similarly, the attribute ids for the DAQmxSetBufferAttribute can be found under the heading
 
"//********** Buffer Attributes **********"
 
These attributes are each defined in the NIDAQmx.h file.  The parameters given to the functions include the task, the attribute, and the value to assign the attribute.
 
I hope this helps!
 
Thanks,
 
Justin M.
National Instruments
0 Kudos
Message 2 of 2
(3,185 Views)