Jump to content

problem with analog voltage output and internal clock timing


horatius

Recommended Posts

OS: Labview 8.5 and Windows XP

I use the DAQ PCI 6713 card but have a problem concerning the generation of a continous analog voltage sequence (specified by a user defined array). The process should be independent from OS therefore I select internal clock and onboard buffer. Look in picture 1! I always get the error message that the buffer is too small.

Error -200609 occured at DAQmx Write (Analog DBL 1Chan 1Samp).vi:1

Possible reason(s):

Measurements: Generation cannot be started, because the selected buffer is too small.

Increase the buffer size.

Selected buffer size:1

Minimum required Buffer Size:2

Then I try to increase the buffer size and I get another error message (picture 2):

Error -200479 occurred at DAQmx Start Task.vi:1

Possible reason(s):

Measurements: Specified operation cannot be performed while the task is running.

What do I have to do, that the process works as I wantl? Why can't it be more intuitive?

Frank

Link to comment
  • 8 months later...

I think that "DAQmx Write" automatically starts the task if it's not explicitly done yet, the error you get in the second screen-shot comes from the "DAQmx start.vi" and it says that it can't run a task that is already running...

I suppose that if you just remove the "DAQmx start.vi" it should work.

Hope this helps

Link to comment

Thank you both for your solutions.

Actually both suggestions worked.

Removing DAQmx start worked. However, since I am using multi-functional DAQ (AO and AI with triggering) it feels better to have the DAQmx still there. Especially as the LV example code for the same thing has it and says it is meant for arming the two units before activation/triggering.

Using a waveform works as well. But I do not understand why 1D DBL does not (2D DBL works on the other hand).

Anyway, thank you!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.