LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate 23khz using PCI-6723

HI,
 
My requirement is to generate a waveform of 23khz using PCI-6723.
 
I am able to generate frequency of 23khz when I changed the below parameters
 
Rate = 800kHz
Frequency = 23kHz
Amplitude = 2
 
But I would like to generate same frequency for another channel simultaneously
 
My Question is Simple : - How to generate frequency of 23khz for multiple channels using PCI-6723
 
Waiting for Reply's ASAP
 
Regards
krishna
0 Kudos
Message 1 of 4
(3,416 Views)
Krishna,
 
Change the physical channel control Dev1/ao0 to Dev1/ao0:1 to output the signal to analog output channels 0 and 1. Also, you will need to change the DAQmx write to be for multiple channels, and use a Merge Signals function to duplicate the waveform for both input channels. Check out the example I have attached.
 
Of course, you could always just connect two wires to one analog output instead.
--
Michael P
National Instruments
0 Kudos
Message 2 of 4
(3,403 Views)
Michael P
 
Thanks for your reply But can u send a same example in Labwindows
 
Regards
krishna
Message 3 of 4
(3,399 Views)
Krishna,
 
Here is a link to an example program that shows how to perform Continuous Multi-Channel Analog Output with NI-DAQmx. This example allows every output channel to have a different output waveform type with different amplitudes. So, to have both channels output the same waveform you could just have both channels write the same waveform data.
 
--
Michael P
National Instruments
0 Kudos
Message 4 of 4
(3,382 Views)