From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-08-2009 08:28 AM
Hi,
I'm using the example vi, 'Gen Dig Pulse Train-Continuous-Pause Trigger.vi' which works fine, but when paused, the pulse train sometimes stays high. I guess it just stops when the trigger occurs. Is this normal?
What I need is for the pulse train to always go low when the trigger happens. I've looked in the trigger property node but can't find anything that may help. I'm assuming the idle state on Create Channel only applies at the start, not after a trigger.
Is there a simple mod to the example or do I need to start again?
Hardware is USB-6221.
Thanks,
Richard Marsden
04-22-2009 07:28 AM
Hi Richard,
I hope you are well. Thank you for your message. Your application sounds very interesting. I have found some useful material that are in the links below that I think you will find useful.
Creating a Delayed, Retriggerable and Finite Pulse Generator
Triggered Pulse train generation 6602
If you could try these suggestions and let me know how you get on, that would be great!
Kind regards,
Prashant M
Applications Engineer
NI UK & Ireland
04-22-2009 08:05 AM
Prashant,
Thanks for your help. I have managed to do what I required using change detection on the IO and a case statement to either start or stop the pulses, but I'm not 100% happy with what I've done so I'll look at all of your sugguestions, I'm sure there's a better solution to mine.
Thanks again,
Richard M
06-01-2012 08:51 AM - edited 06-01-2012 08:51 AM
Hi Richard M,
I also have the same problem as yours. I want to the PWM immediately to low when the external signal change from high to low. Would you please tell me how to do?
Now my PWM can work with the external synchronized signal. It's fine if the PWM is low but when the PWM is high, it pause and still keep the high value that I do not expect.
Thanks in advance.