10-22-2008 03:33 PM
I have (2) NI 9401 and cDAQ-9172. I try to setup the NI 9401 to output a single pulse with pulse width of 20ms. When triggering, NI 9401 would output a square wave ON for 20ms "solid", then turn the square wave OFF after that.
I would like to do this repeatedly every 20ms, 50ms, up to 1second in a loop. I want to be able to set the loop repeat time and the pulse width of the signal.
I don't know how to right a loop that can do this experiment.
Could you please help?
Thanks a lot!
khoaGNF
10-23-2008 06:31 AM
Hi khoaGNF,
Thanks for the post,
So I have an example Generate Digital Pulse Train-Finite-Retriggerable, where you can select the number of pulses produced on a trigger (i.e. 1 for your case).
My example uses a hardware trigger, so you could make another digital task that produces a rising edge at 20ms/50ms.. whatever you require.
Let me know what you think,
Kind Regards,
ps please remember one post!
pss example in labview 8.6
10-24-2008 10:54 AM
Hi Hillman,
Thank you very much for your support. Sorry that I posted the same question in two different places. I have the NI 9401 generate pulses, but now I have a question on how to do it in a loop. I asked my question in the following thread (see the link).
http://forums.ni.com/ni/board/message?board.id=250&message.id=43990
Thanks
-khoaGNF