Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

real time control of Analog Outputs of PCI-6251

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.

0 Kudos
Message 1 of 6
(3,190 Views)

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!

 

 

Sean Ferguson
Application Engineering Specialist | RF and Reconfigurable Test
Message 2 of 6
(3,166 Views)

 

Hi Sean F

 

 Thanks for the reply. Will this example also run on the M - series PCI-6251 Daq card?

 

 

 

Regards,

mhs100

0 Kudos
Message 3 of 6
(3,161 Views)

No. You must use DAQmx for an M series.

0 Kudos
Message 4 of 6
(3,143 Views)
So, is there any example of dynamic analog generation on m-series using CVI?
0 Kudos
Message 5 of 6
(3,140 Views)

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,

 

 

Sean Ferguson
Application Engineering Specialist | RF and Reconfigurable Test
0 Kudos
Message 6 of 6
(3,127 Views)