I am writing a program that opens a file and reads the data. But since the data information is organized in strange way, I don't know the best way to put this data into a vector.
The data is arranged in varying number "cells" and each cell is arranged like the following:
int64 TimeStamp
int32 ChanNumber
int32 SampFreq
int32 NumValidSamp
int16 Samp[0]
.....
.....
int16 Samp[511]
The note on the documentation states:
"If NumValidSamp < 512, Samp[n], where n>=NumValidSamp, will contain random data."
I attached how I first attempted this task.
So, when I collect the samp data alone, I need to be sure to collect only NumValidSamp of data.
Now that I just wrote this, I should make a object or struct for each cell. But I still need to read that data into the object...
T H A N K S !