LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need long delay for buffered CO task

I want to create a buffered CO task, when triggered, delay 5 min before output pulse.  Is this possible?

 

PXIe-6341, Win7, LabVIEW 2013.

 

The channel property: initial delay doesn't work for buffered CO task.

The trigger property: start.delay not supported for the device.

 

 

George Zou
0 Kudos
Message 1 of 6
(3,189 Views)

Don't want to use event structure or software timing.

 

TIA

 

 

George Zou
0 Kudos
Message 2 of 6
(3,174 Views)

Any suggestions ?

 

 

George Zou
0 Kudos
Message 3 of 6
(3,136 Views)

Hey, George

 

I do have a suggestion for you. Here's some code that will delay a set number of pulses of an input signal. If you input a 1kHz signal, then waiting 300,000 ticks would correspond to 5 minutes. You may have to use another counter to generate a pulse train signal that acts as the 1 kHz input, but this code is how you can do they delay. After the 300,000 ticks are counted, a pulse of a specified width is outputted by the counter which you could use as a start trigger for another task.

 

Delay Pulse.png

Ryan P.
CLA
0 Kudos
Message 4 of 6
(3,121 Views)

Thanks for reply.

 

> a pulse of a specified width is outputted by the counter which you could use as a start trigger for another task.

How do you do that ?  I don't see a start event for CO.

 

 

George Zou
0 Kudos
Message 5 of 6
(3,102 Views)

Hey George,

 

Do you mean how do you use the pulse that this code generates as a start trigger for another task? If so, you would use the DAQmx Export Signal VI which would allow you to export the "Counter Output Event" of this task to a PFI Line of your choice, which could then be used as the source for the trigger of another task.

 

Regards,

 

Ryan

Ryan P.
CLA
0 Kudos
Message 6 of 6
(3,067 Views)