LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Minor bug with Case Structure Tunnel Names

Here is an admittedly minor bug with an easy workaround, but it did annoy me for quite some time until I figured it out.  I was working on a RCF plug-in to change a selected tunnel to the Case Selector.  I wanted to maintain as much wiring as possible so I needed to find "orphan" tunnels that were connected to a wire I was about to delete.  Easy enough, first check the owner of the Wire Terminals and look for a Class Name of Tunnel.  It turns out that Tunnels are called SelectorTunnel and the SelectorTunnel is called Tunnel.

I have attached a simple VI to show this.  TestCase.vi is a simple case structure with a single wire connected to the SelectorTunnel and two Tunnels.  ShowCaseSelector lists the owner of the wire terminals and you see two SelectorTunnels and one Tunnel.  When I highlight the Tunnel and you see the SelectorTunnel is the one selected.

Just letting you know.

LV9 SP1

Still time to fix for LV10 (haha...)

Download All
0 Kudos
Message 1 of 1
(2,819 Views)