ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
10-14-2025 09:31 AM
10-14-2025 09:55 AM
10-14-2025 09:58 AM - edited 10-14-2025 10:07 AM
yes, I would also expect that.
But personally I don't trust this. If it is possible that there is an empty array at a for loop with auto indexing, I always place the for loop it inside a case structure and wire the selector to the output of array size function, so I can exclude arrays with size 0 and set default values manually.
10-14-2025 10:05 AM
Interesting, never noticed this as I always implement a array size-based case structure to execute the content without the for loop in the case of size = 1 for high optimization.
It looks like for loop with iteration parallelism always runs once when auto-iteration enabled.
10-14-2025 10:16 AM
It only happens with "Last Value" tunnels. Auto-indexing are empty as they should.
10-14-2025 01:05 PM
From the LabVIEW Discord: Darren has filed this as Bug 3432120.
10-14-2025 03:00 PM
"Lasts value" tunnels would confuse me in a parallel FOR loop, because execution order of iterations is random and there is no predictable "last" in a chronological sense. Of course it is probably defined as the output from iteration N, and maybe the authors made an OBOE. 😄