06-11-2011 11:53 AM
Hi,
I tried to integrate two buttons. I mean: when I switch on first button it will disappear and the second appear, when I switch on the second button- first is shown and the second is hidden.
Please help:)
Regards,
Mike
Solved! Go to Solution.
06-11-2011 12:02 PM
Look into Property Nodes, specifically the Visible property.
Lynn
06-11-2011 12:36 PM
The problem is that I know how to change visible, but I don't know how to integrate both of buttons.
I tried to do it but it's not working;/
I attached my vi (lv 8.6 and lv2010)
06-11-2011 12:37 PM
Take a look at the attached vi
06-11-2011 01:59 PM
Ohhhh I see that it's working and I know that I shouldn't moan but is there no way to done it without event structure? I don't want to use it cause I'm running LabView continuosly and it's make problems (program don't want to leave this structure and I can't use other buttons, swtiches etc)
Please don't shout that I'm using this mode:)
06-11-2011 02:11 PM
06-12-2011 12:12 PM
Use a radiobutton control. Customize the button so the false case is transparent.
06-12-2011 12:37 PM
@MeeHow wrote:
I don't want to use it cause I'm running LabView continuosly and it's make problems (program don't want to leave this structure and I can't use other buttons, swtiches etc)
One of the first things to learn is that is is spelled "LabVIEW" and not "LabView". 😄
So if running continuously is making problems, why do you insist on using this debugging tool? Why can't you use "other button" or"swtiches"? What structure can't you leave? You might have some simple beginners problems that would be very easy to solve if you give us more details.
Anyway, here's my radiobutton solution. I also attached a simple VI using it. Look ma, no code!
06-12-2011 05:42 PM
06-12-2011 06:01 PM
Thanks altenbach for your solution:)
The problem is that my program is quite big and consist of about 20 subvi's so it'll be big problem to fix all of them;/First thing was reading from measurement file and errors like "file ends" or something so I decided to use running continuously (now I know it was mistake)
Of course I can put all my blocks to while loop but it's good solution I think
But I'll remember to not use this mode in the future!
Thaks all of you!
When I pass MA thesis I can attached my program if you want infarct 😉