LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Retriggerable pulse train

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.

0 Kudos
Message 1 of 5
(2,632 Views)

here is the VI I use to configure the task.

0 Kudos
Message 2 of 5
(2,627 Views)

No attachement.

0 Kudos
Message 3 of 5
(2,626 Views)
0 Kudos
Message 4 of 5
(2,617 Views)

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. 

0 Kudos
Message 5 of 5
(2,589 Views)