LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ArmStart Trigger

Hello,
 
I use an Arm Start trigger to trig a counter task. After reading the forum, I discovered that I have to use these three functions to perform that : DAQmxSetArmStartTrigType(), DAQmxSetDigEdgeArmStartTrigSrc() and DAQmxSetDigEdgeArmStartTrigEdge().
This works like a charm, but unfortunately I have got no function panel and no documentation for these functions. Is this a known bug with DAQmx 8.5 ? Does anybody already had this problem ?
 
Thank you
Franck
0 Kudos
Message 1 of 2
(3,047 Views)
Hello Frank,
 
In the CVI DAQmx interface, those actions are implemented via attributes. This is what you need to use:
 
DAQmxSetTrigAttribute (task, DAQmx_ArmStartTrig_Type, );
DAQmxSetTrigAttribute (task, DAQmx_DigEdge_ArmStartTrig_Src, );
DAQmxSetTrigAttribute (task, DAQmx_DigEdge_ArmStartTrig_Edge, );
 
So the only function panel you need to look for is DAQmxSetTrigAttribute().
 
The specific functions you mentioned happen to work, but they're undocumented, as far as the CVI library is concerned. They're intended only to be used as the C interface to other compilers.
 
Luis
 
0 Kudos
Message 2 of 2
(3,028 Views)