09-22-2020 08:43 PM
I get repetitive error messages, but I don't know why
I am using DAQ model 9174, 9213 terminal.
Please. Help me.
09-22-2020 11:01 PM
Have you looked up error -200279 to see what it means?
It means you are overflowing your DAQ buffer because you aren't taking data out as fast as it is being acquired.
Let's look at some things in your VI. (The pictures are useless. Actual pictures of a blurry monitor aren't helpful.)
1. You have a 10 millisec wait in the loop. Why? DAQ devices will control the timing of the loop.
2. Your DAQ Assistant is set up to read 1 sample at a 100 Hz rate. At least that correlates with the 10 millisec wait. But it also means that if the loop slows down for some iterations, that it doesn't have a chance to catchup. So slow loop iterations will accumulate. (How long does it take until you get this error?)
3. You are writing to a measurement file in the same loop. File operations tend to be slow, so they are a likely source of delays in the loop. Writing 1 sample at time is going to be slower than writing multiple samples at once.
4. You are reading a thermocouple. Temperatures tend to be slow signals. Do you really need temperature updates at 100 times per second? What if you acquired 100 samples at a 100 Hz rate, then averaged them? That eliminates noise, but will give you a fast 1 second update rate.
So set your samples to read to be a 100. Average the 100 values together. And get rid of the 10 millisecond wait function.