10-13-2008 01:59 AM
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
Solved! Go to Solution.
10-13-2008 04:21 PM
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
10-19-2008 10:22 PM
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
10-28-2008 09:00 PM
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
10-28-2008 10:11 PM - edited 10-28-2008 10:16 PM
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
10-29-2008 02:37 AM
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