08-04-2009 05:07 AM
I need to output an analog waveform signal using 6259, I followed the instructions in 'Building an Analog Output VI in NI-DAQmx' in the NI Developer Zone, when I run the code I get thefollowing error message
'Error -50103 occurred at DAQmx Write (Analog 1D Wfm NChan NSamp).vi:3
Possible reason(s):
The specified resource is reserved. The operation could not be completed as specified.
Task Name: _unnamedTask<1A> '
and when I press 'continue' it goes ahead and plots the waveform on the front panel but does not display it on the test panel in MAX. Could anybody suggest how I could solve the problem?
Solved! Go to Solution.
08-04-2009 05:28 AM
Hello,
Could you run through this list of 7 possible causes and see if any of those are causing it? 🙂
08-04-2009 07:38 AM
hi macabo,
thanks for your reply, i went through the list followed the instructions for cases 1 and 7, the others did not pertain to the cause of the problem, however the problem persists.
The waveform I have generated is a train of sine waves multiplied to a ramp function, and have not used a standard signal generator to produce the waveform, could this in some way cause it?
08-04-2009 08:08 AM
Hello,
Please post your VI 🙂
08-04-2009 08:26 AM
08-04-2009 09:49 AM - edited 08-04-2009 09:50 AM
Hello,
Could you try the attached VI and let me know if it works?
I noticed you were getting sample clock information from the waveform but the dynamic data type you were using has no time data in it!
08-04-2009 09:49 AM
I changed the input waveform to a simple sine wave and donot get the error any more, i have two questions:
1) how do u think the waveform i generate could be causing the error, are there any pointers to bear in mind
2) I still donot get any waveform in the test panel of the 6259 scan output card under analog input.
I am new to the labview enviroment, hence would appreciate your suggestions greatly.
08-04-2009 10:38 AM
Thanks a ton mark!! i realise my mistake, the program runs fine now! however it still doesnt display the wave form in max, but the oscilloscope connected at the output of the 6259 of the PXI chassis shows the wave form.
Additionally I need to generate a cosine wave such that together they trace a spiral(which as uv seen in the VI has already been done), and be able to output it to another channel in 6259, could you suggest how I could go about it.
thanks again