LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 200621 %28buffer underflow%29

Hello everybody,

 

When i run my program i get a error -200621 error. This mean i have a underflow problem.

I searched a long time but no solution seems to work (what am i doing wrong?)

 

The program has to run with a PCI-446, i know the program could be better  writen with the use of sub Vi's but with this setup, i could easier understand where things go wrong.(except this one)

 

I increased the "samples per channel" in the DAQmx timing.vi for both the read as the write task.

Also decreased the number of sample per channel for the READ Vi.

And gave the function generator channel information.

And stil the analog output freezes. and give me the error -200621.

 

And of course when i set the analog output task to "allow regeneration" the analog output keeps working, however in my loops timer (how long the time between the for loops rungs again, i see a spike) this is also the reason why is want to stay away from the "allow regeneration".

 

Can somebody help me to understand the problem ?

 

Attached the VI

 

 

 

0 Kudos
Message 1 of 3
(3,102 Views)

Hello, i solved the underflow error a little bit....

 

When i use the value's for the:

Analog in part:

- Timing Vi:1000

- Read -1 (every sample)

 

And for the Analog Out:

-Timing.Vi: 100

 

The program keeps running, and the analog out works fine also.

 

However when i move the scrollwheel or go to the block diagram(or all other performence draining operation) the Write.vi give the error 200621. So the output signal stops.

 

It seems that the inputsignal gets interrupted and does not fills the buffer for the write.vi and it drains it.

 

So i have two questions:

 

-is this normal when i us the program (mouse clicks, scrolling switch in views, etc etc) it manipulates the input acquiring?

-If it is so, do i need a bigger buffer, but how can i achieve this?

 

With kind regards,

 

Homerus1

 

Download All
0 Kudos
Message 2 of 3
(3,067 Views)

It is me again,

 

I tryed some things and when i remove the 3d waterfall graph's it became harder to crash/stall the Write.Vi but with some fast scrolling and moving it still can be done.

 

 

0 Kudos
Message 3 of 3
(3,053 Views)