Jump to content
Ano Ano

Error -200279 in Analogue & Digital inputs

Recommended Posts

Hello,

I have a NI USB-6001 and I am trying to run the attached simple vi and I get an error 200279. It supposed to just acquire an analogue & a digital signal. Can someone help please?

Thank you in advance

 

AI & DI 1.vi

Edited by Ano Ano

Share this post


Link to post
Share on other sites

If you look at the explanation of the error code:

Quote

 

Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.

Increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem.

 

You are trying to read one sample at a time when they are coming in at 1000 samples/sec. The buffer fills up and overflows. Try reading in 100 or more samples at a shot or slow your sampling rate to 10 samples/sec.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
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.