12-22-2008 03:32 PM
How do I store the contents of a multifetch into a single large
1D INT array using the above example? I don't care about the
timing information, just the waveform.
niScope EX Multi Record Fetch More Than Available Memory
TIA
CSK
12-23-2008 01:59 PM - edited 12-23-2008 02:00 PM
Hi CSK,
If you know exactly how many records you want to concatenate into the array, you can take a look at the sample code below. The code essentially initializes an array of a known size (150 records of 30k samples each) and inserts each record into the appropriate location in the array. The reason why we are using this method as opposed to the Build Array function is because resizing an array actually makes copies of it in memory which is simply inefficient.