07-20-2011 09:30 AM
Hello World!
I want to create a trigger dependent on two incoming (from external function generators) PFI signals. Both are square waves but the frequency differs. My wish is to trigger the slower from high to low to count three high to low of the faster and then generate analog output. The picture is hopefully more descriptive than my words.
I use a 6713 NI DAQmx card. It doesn't matter if the solution is a LabVIEW VI or a C++ written text file. Any recommendations of good tutorials or similar is very welcome. I manage to trig the arbitrary waveform after signal A or B but I don't manage the "count/wait three pulses" condition.
Best Regards
K. Berg
Solved! Go to Solution.
07-20-2011 05:42 PM
Hi K Berg,
This is possible with the 6713--you'll need to use a counter output to generate the trigger signal for your AO. Use your slow signal to trigger the counter output. Use the fast signal for the counter's timebase with an initial delay set to 3 ticks. The counter will trigger on the edge of your slow signal, and once it has been triggered will generate a pulse after 3 ticks of the fast signal.
Best Regards,
07-21-2011 03:32 AM
Great solution, it is very helpful to me!
Best regards
K. Berg
07-06-2012 02:04 AM
Hello,
I have similar problem. My device is PXI-6562. Can I do that? I am using C++ for programming.