Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Output 2 signals from pci 6713

Solved!
Go to solution

Hi guys,

 

i've been trying to program my PCI 6713 analog output card to output 2 signals, one from AO0 and another from A01 but i keep getting this error:

 

DAQmx Write (Analog 1D Wfm NChan NSamp).vi:3<append>
<B>Task Name: </B>_unnamedTask<1C>

 

with error code: -50103

 

I've attached my code for your perusal.

 

Please help

 

Ridwan

0 Kudos
Message 1 of 6
(4,063 Views)

Hi Ridwan,

 

I'm guessing the reason you are getting this error is because you are using two different DAQ assistants for the same task ( AO ) on the same device.

You can only create one task of the same kind ( in this case AO) on the same device.

Please check the following knowledge base to get a better idea on why you are getting this error.

 

Faris

 

 

Bueller
Message 2 of 6
(4,047 Views)

Hi Ridwan,

 

Did you manage to solve the problems that you are having?

Faris solution should give you an brief idea on what cause and how to solve the problem. Let us know if the problem still persist. And kindly click "Solution" if the solution provided by Faris has solved your problem and give Kudos to him, so that we know this thread is closed.

 

Sincerely,

 

 

Krisna Wisnu

Certified LabVIEW Developer (CLD)
Certified TestStand Developer (CTD)
Using LabVIEW 8.5.1 (2008) to LabVIEW 2024
0 Kudos
Message 3 of 6
(4,019 Views)

Hi krishna,

 

So far i have not been able to create a VI that can output analogue waveform from 2 physical channels eg: AO0 and AO1. How can I achieve this? I've been trying out several ideas but I guess my understanding of the PCi card is still weak.

 

Please help.

 

Thanks

 

RIdwan

0 Kudos
Message 4 of 6
(3,973 Views)
Solution
Accepted by topic author Wan81

All you had to do was to select both channels when you first created the DAQ Assistant and combined the two signals.

 

With an existing DAQ Assistant, you can add additional channels.

 

 

 

 

 

I would recomend you do some review  of the information available at the Getting Started with DAQmx

Message Edited by Dennis Knutson on 10-28-2008 09:16 PM
Download All
Message 5 of 6
(3,970 Views)

Hi Dennis,

 

I have managed to solve the issue of having multiple outputs from PCI 6713. Thanks a lot.

 

I need multiple outputs because 1 output is the actual waveform to drive a certain component and the other is just a digital waveform which will trigger another component. Hence, accuracy is critical.

 

However, when I tried running the VI and watched the oscilloscope, the pahse difference between the 2 graphs starts to drift slowly. I was wondering what was the issue. Are there any way I can prevent this drifting in waveform? Maybe some phase locking might help?

 

Please advice.

 

Best Regards

 

Ridwan

0 Kudos
Message 6 of 6
(3,958 Views)