wrote: I have an additional question. I agree that the while loop runs two times. I dont understand why it will have two rows (it just has one channel) and isnt the value of "data" updated only after the loop ends, i.e. only the last loop iteration value would be passed on it ?
The autoindexing output tunnel increases the number of dimensions by 1. In this case, each row will be a single capture (each capture has several samples) for the channel. And the update doesn't happen until after the loop due to Data Flow (the loop has to stop before the data going out of the tunnel will be available).