10-08-2009 09:32 PM - edited 10-08-2009 09:34 PM
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.
10-09-2009 12:15 AM - edited 10-09-2009 12:23 AM
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).
10-09-2009 02:52 AM
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!