08-17-2018 02:05 PM - edited 08-17-2018 02:07 PM
Hello,
Could someone help me get an idea of how I can do an PopUp's questionnaire with checkbox, which returns a number referring to the selections (check idea attached)?
I thought about using the tree form (tree2_edited.vi), but I really need to include more information in the decision making and put more information into popups.
08-17-2018 02:23 PM
You can have a subvi function like a user interface prompt. Set it to show front panel when called.
Use a string indicator to display the question. Have the answer be chosen via radio button (assuming a multiple choice type question).
Have a while loop within the subvi to keep it active, stop condition based on user interaction.
Brute force method can be 1 subvi per question. Call one based on the previous answer (case statement). If there are always 4 options for the answer, you can instead have a single subvi where you use the subvi inputs to set the question and possible answers.
There are many ways to achieve this type of thing. the suggested above is probably on of the easiest for beginners to try/test.
08-17-2018 02:25 PM
A series of listboxes that are populated or filtered based on the answer from the previous listbox, like what you might see on a website such as Digikey.
https://www.digikey.com/products/en/resistors/chassis-mount-resistors/54?k=Safety%20Resistors
08-17-2018 07:50 PM
Thank you proland1121 and aputman i will consider this and try something.