LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Broken wire after for loop

Hello there,

 

I am doing some tutorials for the Labview 2009 on the Windows 7.

 

My problem is that, after a very simple for loop my wire which is connected to the write file vi breaks. The messages of error doesn't help. Thanks in advance.

 

 

0 Kudos
Message 1 of 5
(2,662 Views)

rt click >tunnel mode>last value...

 

Spoiler
strings%20table[1]_BD.png

 

0 Kudos
Message 2 of 5
(2,659 Views)

Tunnel Mode>Last Value does not exist in version prior to 2012.

 

A very basic function of a for loop is to autoindex an output into an array. This should be covered in the basic LabVIEW tutorials and is explained in the help. Right click on the exit tunnel and select Disable Indexing,

Message 3 of 5
(2,649 Views)

Thanks a lot guys

0 Kudos
Message 4 of 5
(2,606 Views)

An even better idea would be to replace the tunnels with a shift register. This ensures that the refnum remains valid even if the FOR loop iterates zero times for some reason.

 

 

Message 5 of 5
(2,600 Views)