ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler error.

Hi

 

I have a strange problem with one VI, when i turn on parallelism on for loop, im getting compiler error. Could any of you check this vi?

 

BR

http://www.krzysztofszewczyk.net
0 Kudos
Message 1 of 2
(2,692 Views)

Hi Krzysztof,

 

the error seems to be related to the FOR loop output tunnel: when you change the tunnel behaviour you can set parallelism of the FOR loop.

 

In the background a shift register is used to index the output array - and shift registers aren't allowed for parallelism in FOR loops.

 

The LabVIEW compiler gurus may provide more detailed information and insights...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,685 Views)