03-30-2015 07:40 AM
Hi all,
I want to produce a pulse train retriggerable each time an external trigger appears even if the task is not done. Attached is the VI where I configure the counter output. I set the pulse train frequency at the beginning. The problem is the trigger is slightly changing in time. Sometimes the task is not done when a new trigger appears. Is there any way to not ignore this new trigger and restart the task?
Thanks in advance for any tips.
03-30-2015 07:44 AM
here is the VI I use to configure the task.
03-30-2015 07:44 AM
No attachement.
03-30-2015 08:02 AM
Sorry.
03-31-2015 11:02 AM
Hi,
No, you can't force the task to stop when another trigger is processed. Once the retriggerable task has been started, it ignores triggers until it's finished running. If you have a device that will allow you to create multiple retriggerable CO tasks, you might be able to programmatically stop the first task when that second task is triggerred, but I've never tried doing this so I'm not 100% sure it's doable.