Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Buffered Viewing of Waveform Charts?

We're acquiring very large data sets, using 'Cont Acq&Graph (buffered).vi' as sort of a template for the data acquisition.

The resulting files are much larger than physical RAM, but the researchers are only interested in small parts of the collected data: The researchers need to be able to go back over the data run, choose a few seconds here and there for permanent archiving, and then discard the rest of the data.

Because the size of the data run is larger than the physical RAM in the computer, the 'viewing and extracting' VI can read from file and display to screen [via a Waveform chart] only a few seconds of data at a time. Because hard drive access time is so much slower than RAM access time, I'd like to buffer this data vie
w [just a little to the left and a little to the right], so that if the researcher chooses to move a little bit back in time, or a little bit forward in time, the data will [probably] be cached in RAM and the VI won't have to make a relatively slow call to disk.

Of course, the art of buffering rapidly degenerates into a PhD level computer science mess [owing to not necessarily contiguous runs of not necessarily ordered data], and I really don't feel like writing a buffering algorithm from the ground up [especially not in a visual language like LabView].

I was hoping maybe the Waveform Chart might have some capability to perform [not necessarily contiguous and not necessarily ordered] buffering. Does anyone know if this is possible, or am I asking for too much?

Or should I just rely on the operating system [soft caching] or disk controller/disk [hard caching] to perform my caching for me?

Or do the standard LabView byte stream disk reading VIs perform their own [not necessar
ily contiguous, not necessarily ordered] buffering?
0 Kudos
Message 1 of 4
(3,908 Views)
I recommend posting this question to the LabVIEW forum. This forum is focused on Measurement Studio and Visual Studio .NET programming and there are not many LabVIEW developers who monitor this forum.

- Elton
0 Kudos
Message 2 of 4
(3,908 Views)
Where am I? I thought this was the LabView forum?
0 Kudos
Message 3 of 4
(3,908 Views)
You know what happened? [I just figured this out when I went to re-post the question at "LabView General.'] You choose the forum to which you post with a scroll-down menu; I had chosen 'LabView General.' Then I wanted to scroll down the page to find the Posting button, and I must have used the scroll wheel on the mouse to do this. Unfortunately, because the scroll menu for the forums is still in focus, if you use the scroll wheel on your mouse, you aren't scrolling down the submission page, you're scrolling down the scroll menu for the choice of forum. So I scrolled some random amount with the scroll wheel, and the forum scroll menu randomly ended at 'Measurement Studio and Visual Studio .NET.'
0 Kudos
Message 4 of 4
(3,908 Views)