Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

retriggerable output with varaible inital delay on each trigger

Solved!
Go to solution

I'm trying to set up a retriggerable digital pulse train generation on PCIe 6363 with LabVIEW with the additional feature of a variable initial delay.

 

For example:

- I have a fixed pulse train

- After 1st trigger it is generated with no delay

- After 2nd trigger there is a delay of 10µs

- Each subsequent trigger increases the delay by 10µs

 

I have tried to do this by writing new samples to the digital output task wich include an initial delay. Since there is limited control over how the buffering is handled this doesn't seem to work reliable with restartable and retriggerable ouput.

 

Is there any other way to do this maybe by using additional internal counter for the delay generation?

 

Thanks

Christoph

0 Kudos
Message 1 of 4
(3,031 Views)
Solution
Accepted by topic author chris.pieper

I'd look into using an additional counter as your delay generator.  There's a counter property called

"Auto Increment Count" which lets you specify just such a regularly-increasing delay.  Here's a

DevZone article and example that should help get you started.

 

The idea will be that the additional counter comes between your original trigger signal and the

finite pulse train you want to generate.  The additional counter makes it's own triggered pulse

with an increasing delay after the original trigger, and your finite pulse train gets triggered by

the ouput from this additional counter.

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 4
(3,027 Views)

I agree with Kevin,

 

using additional Counter and cascading those is the way to achive the functionality needed.

 

Regards!

 

Moritz M.

0 Kudos
Message 3 of 4
(3,023 Views)

Thanks a lot!

 

That is exactly the function i need.

 

Christoph

0 Kudos
Message 4 of 4
(3,020 Views)