07-01-2009 11:02 AM
Hi
I would like to increase the number of inputs beyond 10 available on the prompt user for input function. At the moment I am using 9 of the 10 available inputs each running a subVI from a case structure. I seem to be limited to 10 inputs using the prompt user for input function so is there another way of prompting the user to select from >10 inputs preferably 20.
Thanks for any help
Chris
Solved! Go to Solution.
07-01-2009 11:07 AM
07-01-2009 11:07 AM
You can always write you own dialog with as many selections as you like.
🙂
Right-click the express VI and "open front panel" This will convert it to a VI that you can edit in any way you want. save it under a new name.
You might even want to add some validation code, e.g. to make sure that no more than 2 boxes are checked.
07-02-2009 11:02 AM
Thanks for your advice - I converted the express VI prompt for user input to a normal VI and started adding more inputs to the VI. However the converted VI (sub dialog.vi) still appears to be using the 9 express VI names for the inputs used originally despite disconnecting all the terminals from the connector, rewiring inputs from the front panel and saving and reloading the VI. Is it possible to clear the express VI names to start a fresh?
07-02-2009 11:24 AM
Chris69 wrote:However the converted VI (sub dialog.vi) still appears to be using the 9 express VI names for the inputs
I don't understand what you mean by this. The VI has only some (all the case "red) of the indicators wired to the connector pane. You don't have any of the other indicators wired.
Rather than having individual terminals you should use clusters. For example, one cluster indicator for your red cases, one cluster for your green cases, and one cluster for your "other" options.
Aside: You have a comment on the front panel "Select up to 2 cases", but all of your controls are independent checkboxes, so there's nothing to prevent someone from checking all the boxes. I'm assuming you currently have the window size set so large for just debugging purposes.