07-23-2009 05:27 AM
Using DAQ-mx, I am trying to output two fast and simultaneous analog ramps. I have created the attached .vi and know that if I try to output just one ramp, my method works. However, when I add the second ramp one channel outputs a ramp and when it is finished the other ramp is output on the second channel. Can you spot my error?
Solved! Go to Solution.
07-23-2009 05:45 AM
Hello,
Could you post the waveforms2.vi for us to try?
Thanks
07-23-2009 06:00 AM
07-23-2009 07:21 AM
Hello,
I would suggest having a look at the Cont Gen Voltage Wfm-Int Clk VI. This VI is located in the Example Finder under Hardware Input and Output » DAQmx » Analog Generation.
Using a similar approach will give you something like the modified VI I have posted. I don't have any hardware to test this on so please let me know if it works or not!
07-23-2009 07:39 AM
07-23-2009 07:53 AM
Hello,
I have attached an 8.5 version, I hope it works.
07-23-2009 08:24 AM
07-23-2009 08:30 AM
Hello,
Just a minor modification this time
07-23-2009 09:00 AM
07-23-2009 09:10 AM - edited 07-23-2009 09:10 AM
Try increasing the rate constant to something appropriate for your hardware (i.e. within the maximum sample rate for your hardware). You could try 50000. You will also need to change the waveform generator sample speeds too (they are all set at 1000hz). Maybe make a front panel control and replace all the 1000 constants with a wire to the control.
I hope this works!