Hello,
I have a vi (see attached) that writes data to a file every n iterations. If the iteration is a multiple of n, the data are sent to a file; if not, to a dummy array. When I open my data file, I find the data I sent every n iteration but I also find 0's in all the rows that do not contain data from n iterations.
Example output if n = 5:
0.1
0
0
0
0
0.2
0
0
0
0
Could someone help me understand why the memory for these unwanted data points is allocated to my data file?
Thank you.