02-06-2011 12:27 PM
Hi all,
I posted this message on labwindows board but got no replies, i guess this is due to the mismatch of the topic with the board. Since question is relating to the PCI-6251 Daq, therefore i am posting it in in the multifunction Daq board.
I am using NI PCI-6251 multifunction Daq card on Labwindows. The attached program generates two waveforms from analog output channels 0 and 1. First i have to configure the desired amplitude, frequency and Rate on the panel and then press the start button. After pressing the start button if i attempt to change the amplitude or frequency, it doesn't change. I want to control the amplitude , frequency and rate in real time. Please edit the attached program in such a way that every control on the panel has a real time effect after the start button is pressed.
Any help will be greatly appreciated.
02-07-2011 11:58 AM
Hi mhs,
I searched ni.com for CVI examples of dynamic analog generation and found what you're looking for. Here's the link. Hope this helps!
02-07-2011 12:25 PM
Hi Sean F
Thanks for the reply. Will this example also run on the M - series PCI-6251 Daq card?
Regards,
mhs100
02-07-2011 09:22 PM
No. You must use DAQmx for an M series.
02-07-2011 10:38 PM
02-08-2011 10:19 AM
Hi Mhs,
Unfortunately, I couldn't find a more recent example that uses the DAQmx driver. You should be able to start with the traditional DAQ example I sent you and replace the TDAQ function calls with the appropriate DAQmx calls.
Best of luck,