LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel?

I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel? In attach I send a example of my vi to control one chanel, but i need to control both but with diferent waveforms.
Is the vi correctly programed to this propose?
0 Kudos
Message 1 of 3
(2,621 Views)
Yes you should be able to do that. look at the signal generation examples shipped with LabView
You can create a 2 D array, with each row representing a wave form per channel. The number of points of the wave form (per row of the 2 D array) represent the number of points in the output buffer
The wave forms can have different amplitudes/shapes, and therefore they are independent in this sense.

However, you need to set the update rate,which is the same for both channels. The update rate together with number of points per buffer determines the frequency of the wave forms. This means the two wave forms will have the same frequency.
To have different frequencies, you need to have say, on wave form with one cycle per buffer, and the other waveform have 2 cycles
per buffer. in a case like that the frequency of the second channels is twice that of the first channel, and so on
The two wave forms are then not truly independent, they may have different amplitudtes/shapes, but related in frequency.
0 Kudos
Message 2 of 3
(2,621 Views)
You may find the following example program helpful in your development, as well.

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DF7E56A4E034080020E74861&p_node=DZ52313&p_source=External

Best Regards,

Kristi Hummel
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,621 Views)