From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I don't know how many times I've added a case statement post-programming, but I do know that there isn't an easy way to make a tunnel the case selector. Usually I delete the tunnel and then drag the case selector down and then rewire, there should be an easier way. For loops and while loops have an easy way to index/unindex or replace with shift register, why can't a case statement be the same?
Maybe instead of an option that said "Make Case Selector from Tunnel" it would say "Move Case Selector to Tunnel", something to that effect. As far as the existing case selector, I would just make it a tunnel.
Message Edited by NelsonUWP on 07-31-2009 09:52 AM
How about just dragging the existing unwired case selector on top of a tunnel, wait a second until the tunnel "lights up", release the mouse. --> tunnel changes to case selector.
(At the same time we should also remove the restriction that the case selector must be on the left edge. Many times I wish I could place it on the top or bottom edge for a cleaner code layout, but that's proably a different idea).
It would be great if a case could have multiple selectors under this situation. Right click to make something a case selector, and select AND or OR. It will reduce clutter as the AND or OR statement will now be an attached module to the case.
-Regards
eximo _______________________________________________ UofL Bioengineering M.S. Neuronetrix
"I had rather be right than be president" -Henry Clay
Implemented in LabVIEW 2014