Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

generating multiple correlated digital pulses

the picture is my labview code to generate a TTL pulse out of a digital output.

as you can see, i have to generate 3 pulses

one with frequency F, other with F/2, and F/4.

 

for some reason i can only generate TTL pulse with only one digital output. (with the example in labview). tried modifying the example to generate 3 different TTL pulses but ran into problems.

 

the main point is that it HAS to be in sync (therefore using the same clock from internal counter 0 out)

 

anyone know the reason why? thanks in advance

 

**

i changed the "wait until task done" to "is task done" otherwise i get an error.

again my pulses have to be continuous.

Message Edited by sdkpark on 10-08-2009 09:34 PM
Download All
0 Kudos
Message 1 of 3
(2,966 Views)

What about "Digital Generation" instead of "Generating Digital Pulses"?
Your pulses will be synchronized and the approach will allow you to generate arbitrary waveforms.

 

My suggestion is to go back to NI Example Finder and see difference between the two types. You have mixed the two but your program will for the first (digital) channel to finish, then the second, etc.

Note: a digital channel has multiple outupts (bits).

Message Edited by NicB on 10-09-2009 12:23 AM
0 Kudos
Message 2 of 3
(2,956 Views)

oh it's waiting for my first channel to finish then goes to the second and etc?

 

i don't understand because i thought everything was independent and the ERROR is the only thing that is daisy chained. i will look into your suggestion tomorrow

 

thanks for the feedback!

0 Kudos
Message 3 of 3
(2,944 Views)