I have more than 40 controls on front panel. If I do 'Clean-Up diagram' than all of them become very disorganized, diagram becomes very big. I drives me crazy:(
What is the way to organize big number of controls nicely? Is there a way to fix theirs position, group somehow?
Bet, it is simple, but I simply do not know how to do that.
Thanks in advance.
I hope it is not a subVI with 40 inputs-outputs 😃
With user interface VIs they are never placed (never should be placed) in one location and read every cycle
Group them into clusters
Process several, logically connected controls at a time, not all elements. For example their value change event (several in one frame) can update cluster(s) of parameters in shift register.
Place where they are being used: buttons usually in the Value change event frame, config controls - in the configuration frameS of a state machine.
To start with, don't use clean up block diagram, that always makes a bigger mess than it started with.
You need to be disciplined to keep it organised from the start and don't let it get out of control.
don't use clean up block diagram, that always makes a bigger mess than it started with.
I disagree: you will find a lot of VIs here in the forum where Ctrl-U really helps to make them readable… 😄
When you want certain structures to keep their look even when using AutoCleanup you can exclude them from cleanup with just a right-click!
If you want to organise the controls in the front panel then you should use these options.
And for the lock and group part. Select all the controls you want to lock position or group together and select the option.
Kudos are welcome.
Isn't there a cleanup option to move terminals to the left and right? (Sorry, currently on the phone, cannot check).
In any case, I assume that large subgroups of controls could be organized into clusters, dramatically simplifying the diagram.
You are right! I'm such a dummy, never thought of using clusters for this purpose, meanwhile it would be cool to have an option to fix certain elements on the block-diagram at a certain place not allowing them to move.
I have multiple buttons to control experiment, they are not doing anything on the block-diagram, they are just hanging around. As for numercal controls, I personally detest wires, so I use propeties, where I can.
So all controls are hanging all alone on the diagram, making a big mess all over it.
saldenisov wrote: As for numercal controls, I personally detest wires, so I use propeties, where I can.
You are doing my pet peeve #1. Property Nodes for getting and setting values are SLOW. And I am talking 1000+ times slower than using the terminal or a local variable. The reason is mostly due to the need to switch to the UI thread whenever you use the property node. And you have to use a wire anyways to write/read a property node. So what's wrong with just using the terminal instead?
As for numercal controls, I personally detest wires, so I use propeties, where I can.
You probably should be using a text based language, if that is the case.