LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
cancel
Showing results for 
Search instead for 
Did you mean: 
xtabi2

Aggregate While/For Loop Tunnel Mode Options

Status: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.

It would be convienient if you could select aggregate functions such as (max, min, mean, etc) when selecting a tunnel mode on while and for loops. 

5 Comments
AristosQueue
Proven Zealot

Not going to happen on mere tunnels. There's not enough visual space to show on the diagram what the operation is, and without that, we just increase the complexity and decrease readability of block diagrams, leading to an increase in programming errors.

 

BUT... if you want to propose syntax changes for the borders of loop structures, then this could be considered. I'd love to see some other versions develop. You just have to suggest how you would like such interactions to work.

xtabi2
Member

I know this is a trivial application, but what about this as a visual design option for the tunnels. I was thinking they could be a submenu of last value and still be able to have a conditional modifier. 

aggregate_tunnels.png

AristosQueue
Proven Zealot

Your middle two are nearly indistinguishable for me. I know most of the symbols that we could put in the middle of those boxes become unreadable for a wide range of users (as we learned when we decided to do the concatenating tunnels). We are running up against the limits of human vision in that syntax.

 

My thought was more like you say "any VI that has a single input can be 'mounted' on the border of a loop and will be invoked for every iteration." You then need some way to call that same VI special for first iteration and last iteration. Something like that.

altenbach
Knight of NI

My thought was more like you say "any VI that has a single input can be 'mounted' on the border of a loop and will be invoked for every iteration."

 

Actually there could be two inputs if we allow conditional mode. 😉 (For example exclude some from the MAX or from the SUM (if a value is NaN or Inf or similar)).

 

However, I do think that all these special tunnels are easily implemented using real code, so no vote from me at this time.


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.

DNatt, NI