11-27-2012 10:47 AM
Hi Friends,
I am here with another question....
I have built a VI that should contain 6 checkboxes, when a particular checkbox is selected by the user it should display a message to the user of which checkbox is checked.
My problem is: when I select one of the checkboxes the display message appears continously one after the other, even when the OK button is pressed.
Can anyone help me please??
Solved! Go to Solution.
11-27-2012 11:19 AM
FIrst of all, you need to detect when things change, so the dialog does not appear with every iteration of the loop (use an event structure).
Should it be allowed that more than one box is checked? If not, you should use a radiobutton control instead.
11-27-2012 12:17 PM
what does a radio button do?
11-27-2012 12:41 PM
A radio button allows for only one boolean in it to be active at a time. You see these things all the time. Think about a poll that only allows you to select a single option.
11-27-2012 01:05 PM
How do I connect the radio button to the display message?
11-27-2012 01:11 PM
11-27-2012 01:11 PM
Wire the radio box terminal to a case structure. Put the respective message dialog in each case.
(If you have just one VI to upload, go ahead and attach it directly. Use Zip files only if you have multiple related files to upload.)
11-27-2012 01:20 PM
yeah, but I have go through all that process to attach the file in 8.6 version 🙂
11-27-2012 01:21 PM
Thanks so much for the help!
I will go through your solution 🙂
11-27-2012 01:28 PM
@Shalins wrote:
yeah, but I have go through all that process to attach the file in 8.6 version 🙂
What process?
You attach the VI file the same way you are attaching the zip file. Click the Browse button on the message editor. It doesn't matter what version the VI is. Creating the zip file is more work.