Hello
I am trying to do retriggerable pulse generation using a NI-6024E with labwindows and NIDAQmx(7.3)
The problem is that my pulse is only generated once.
I have configured my task as follows:
DAQmxCreateTask("",&ghCountTask);
DAQmxSetStartTrigRetriggerable(ghCountTask,TRUE);
DAQmxCreateCOPulseChanTime(ghCountTask, "Dev1/ctr0", "", DAQmx_Val_Seconds , DAQmx_Val_Low , 0.5, 0.001, 0.001);
DAQmxCfgDigEdgeStartTrig (ghCountTask, "/Dev1/PFI9" , DAQmx_Val_Rising);
DAQmxStartTask(ghCountTask);
I send digital pulses on PFI9 at a rate of 160Hz
It seems that the trigger is not armed after the generation of the first pulse although it should stay armed
according to the message from chad:
http://forums.ni.com/ni/board/message?board.id=40&message.id=1465&query.id=4166#M1465
Thanks, raph