01-07-2025 06:00 AM
Hi lorc,
@lorc34 wrote:
Not quite sure how the for loop works to be honest
This is basic LabVIEW knowledge…
The loop iterates on autoindexing array inputs as often as there are elements in the array. When there are multiple autoindexing inputs the one with the lowest number of elements wins!
Simple as this: As your feedback node contains an empty array the loop will iterate zero times.
01-07-2025 06:14 AM - edited 01-07-2025 06:14 AM
Thanks Gerd,
I realise now that I did not implement my code the same as ZYOng and as you said was passing an empty array in.
The first while loop iteration, the case structure is TRUE, this allows the DAQmx read to pass through the structure to the feedback node, initialising it via 'First call' function, then from there, it starts to use the append waveform.
It then has a length of 4 on both the appended waveform and the new waveform
Thanks 🙂