User | Kudos |
---|---|
4 | |
3 | |
3 | |
2 | |
2 |
We need to have a conditional case selector terminal that will handle comparison operations allowing the Block Diagram to be cleaner.
This would be similar to the For Loop structure conditional terminal in that you would turn it on via a right click.
Then to configure the logic simply click the conditional terminal to pop up a private block diagram owned by the case structure. Create and then wire in your inputs whether single items, arrays, or clusters. Edit it as you would any block diagram. This would allow complex data types or simple booleans.
By using the block diagram configuration inputs could be configured exactly as they are in a SubVI allowing easy labeling and multiple types of input in order to do complex logic that fires the case structure.
When this is selected the Conditional Terminal icon should change from a question mark to an icon indicating a conditional terminal.
When rolling the mouse over the conditional terminal the help window should show the logic currently used to fire the case structure.
This would be a large asset for all users to aid in cleaning up block diagrams. Granted a good coder can do all of this in a SubVI just prior to the case structure, but people would tend to tie code into the hidden block diagram immediately instead of building external code and then building up SubVIs along the way, or even worse building open boolean spagetti code all over the place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.