From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

error 200279 when using DAQmx at 5 KHz

Dear all,

I meet error 200279 at the first few senconds or running the VI for 1 minute. The VI is quite simple, I just use 5 channels to read the data. I've tried to increase the sample to read from 2.5K to 4K and to 5K. It seems make no difference.

BTW, the same VI works well with another PC (the same 6356).

What should I do to solve this problem?

Thanks

best

Download All
0 Kudos
Message 1 of 4
(4,601 Views)

Need to see more of your code.  Normally with this error it means you are not reading the data fast enough.  So it is likely that there is something in your loop that is slowing it down.  Since this works on another computer, I'm guessing it is writing the values to a file.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(4,582 Views)

Dear Proven,

There is only a "build table" function in the loop. Is it slow down the reading speed of data? How should I make it faster?

I attached the VI for your reference.

Thanks

best

Download All
0 Kudos
Message 3 of 4
(4,564 Views)

I would recommend going to a Producer/Consumer setup.  The idea here is that you use another loop to build your table and/or write to your file.  You send data to this extra loop using a queue.  The two parallel loops can then run at their own rate.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(4,549 Views)