LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why i not has two analog outputs at same time ?

Hi, i am try to output two analog signal, which is trangle and sine waveform, with my pci 6036E. i code with Labview 7.1 and the vi is in single loop with both triangle and sine wave analog output to AO0 and AO1.
someguy can help me to figure out is there any problem in my vi or is there any other way.
thank you very much in advance.
 
scott
 
0 Kudos
Message 1 of 9
(3,610 Views)
If you can post your code to this thread it may help. If you can save it using "Save with options" and then select "Development distribution". If the file is very large then please "zip" the file.
 
P.M.
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 9
(3,596 Views)
thank you P.M.
the vi is in the attachment and i am a new to the labview, so the vi has many wrong and i cannt resolve them currently.
0 Kudos
Message 3 of 9
(3,592 Views)
Your problem is that you cannot have two separate tasks of the same type (i.e. analog out). Use a second Create Channel to add ao1 or in the the first Create Channel use Dev1/ao0:1 to create a single task with both channels. Use a build array function and take the outputs of each function generator to create a 2D array that is wired to the DAQmx Write.
0 Kudos
Message 4 of 9
(3,585 Views)
thank you for your guys help, i will try again.
0 Kudos
Message 5 of 9
(3,568 Views)

Hi All-

Dennis is exactly correct- only a single analog output (or input) task may be run at once on any DAQ board.  To add one small bit of advice, CUHK, you will also need to choose the correct polymorphic instance of DAQmx Write to reflect "N Chan N Samples" as shown here:

 

You will also need to build an array of waveforms using the Build Array function.  Hopefully this helps-

Message Edited by Tom W. on 10-17-2005 01:08 PM

Tom W
National Instruments
0 Kudos
Message 6 of 9
(3,541 Views)

my vi works , thank your assiastant.

the next step is two channel anaolg signal acquisition and then to get the phase different of them.

i plan to use the FFT and wavelet to get the phase different....i will try and turn to your guys if necessary.

thanks again

cuhk scott

0 Kudos
Message 7 of 9
(3,527 Views)
We are working with PCI 6036 DAQ card and LabVIEW 7.1 for generating two frequencies (sine wave) simultaneously from two outputs.  We are not able to generate simultaneously and it appears only one output at a time. Is it possible with this DAQ card to generate two frequencies with LabVIEW directly. If it is not possible can NI advise other approach to generate two frequencies simultaneous with a phase match between the two
 
I request you to kindly advise us in this regard. 
 
Mohan
0 Kudos
Message 8 of 9
(3,222 Views)

Hi Mohan,

Let’s continue this discussion in your other forum, here.

David L.
Systems Engineering
National Instruments
0 Kudos
Message 9 of 9
(3,180 Views)