I am working on a project where I am logging some signals (1D arrays) into a binary file. I can store large amount of data (usually several giga bytes). Now I would like to load those files back.
I have two visual components. One is called Overview and other is just a plain Y/T chart. Overview should give users idea what is in the complete file (large file) while chart just shows a part of the file usually part which is selected in overview with resizable rectangle/band.
Because files can be really large loading to memory is not optimal at all so the main idea is to load to memory (max. several MB) only important data / visible data. So loading and displaying is done on user demand. If user zooms on chart, data needs to be reloaded with more data points from file.
My question is how to draw Overview component to show the whole content of file in the best way (without really loading all samples from file). Let's say my files are larger than 10GB and I would like to give users idea what is in file but I can draw max. 16k samples on Overview component?
Is there any method to store any additional data (like indexing, smaller data chunks, images...) during logging for later loading and drawing Overview component? Currently I am storing only samples but adding additional data wouldn't be a problem. Do you have any experiences with that an how you did it?
To get an idea what I am doing:
