LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

flush file?/buffer size is not allowed

Hey

I would be very grateful if anyone could tell me how to use the function
"FLUSH FILE" to write waveform data to file, cause the buffer capacity isn't
large enough.

Or is there another way to to sample more data, than the buffer maksimum
capacity?

Im using Lab View 6i

Ebbe
0 Kudos
Message 1 of 3
(2,947 Views)
As far as I know, FLUSH FILE.VI doesn't help at all. This is good just when you want to have the data in the file (physically) and a directory entry updated for it rather than waiting in a buffer (maybe another VI/application require data in that file as soon as possible).
Anyway, it would be helpful if you can post that VI or a simulation with the same behavior. Thus, maybe somebody can find a solution easier.
0 Kudos
Message 2 of 3
(2,947 Views)
Are you getting a buffer overflow during acquisition or later. If during acquisition, doing some post processing of the could be taking a long time and you might not be keeping up with the scan rate. Try cutting down on the amount of post processing or increasing the buffer size in AI Config.
0 Kudos
Message 3 of 3
(2,947 Views)