LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate two different analog signal in two different VIs

Solved!
Go to solution

I'm using a PCIe-6321 board and a SCB-68 connector block. As it has two analog output I would like to use one of these output in one Vi to generate a square waveform and the other output in another VI to generate a sine waveform. Each VI work perfectly separatly but if I run one then the other, the second one doesn't send any signal. Since I don't want to merge the two VIs (It's more convenient to operate them separatly), how can I figure out to make them work together (sometimes).

0 Kudos
Message 1 of 4
(2,416 Views)

I assume you get error -50103 (resource is reserved) at either on vi.

It's not possible to run two AO channels independetly from each other with different VIs since both Tasks are trying to request the same timing engine at the DAQ device.

 

 

Christian

0 Kudos
Message 2 of 4
(2,408 Views)

Thank you. Is there any chance that it works if I add another card with another block?

0 Kudos
Message 3 of 4
(2,400 Views)
Solution
Accepted by topic author ju13

Sure, independent cards with independent timing engines, controlled by independent VIs works.

 

 

Christian

0 Kudos
Message 4 of 4
(2,397 Views)