Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15556

Memory Mapped File and Charting Large Datasets

$
0
0
Currently I have a basic dataset structure which is dimensioned as an array to hold the data.

Code:

Type DataSetInfo
    A As Single
    B As Single
    C as Single
    D as Long
End Type

Dim DataSet() as DataSetInfo

The data is loaded into the structure by reading the data from a database. Because it is an array, the dimension of the array limits the amount of data charted. I could use a scrollbar and when I get near to the beginning of the chart (array = 0) {Assume scrolling backward}, I can reload the arrays with earlier data from the database and then chart this new data.

Would the use of a Memory Mapped File makes this interface seamless so that the arrays would be loaded automatically with new data?
If so, any example of how to do this available?

Viewing all articles
Browse latest Browse all 15556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>