LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with generation analog output to multi channel !

Hi,
 
I'm using PCI-6025 board and LV6.1. I want to generate two kind of waveforms into two different Ao channels (Ao0 and Ao1) . These waveforms can be outputted in different order or in the same time depending on user's switching. The problem was, during outputting signal on the et. channel Ao0, this was fine until  and I tried to generate another signal on the channel Ao1. I got corrupted signal on the channel Ao0 when a new one starts on the channel Ao1.
 
I think that I did wrong. My method was: I used the AO Config for each channel and then AO Write to write the waveform data into buffer for each channel. And AO write to output a signal.
 
Can anybody provide me a simple example or advice ?
 
Thanks in advance.
0 Kudos
Message 1 of 3
(3,151 Views)

Hey,

Have you created 2 seperate tasks for each output ?

0 Kudos
Message 2 of 3
(3,138 Views)
Hi supermango,

There are some great examples in the folder C:\Program Files\National Instruments\LabVIEW 6.1\examples\daq\anlogout.

I hope this helps!
- Erik
0 Kudos
Message 3 of 3
(3,124 Views)