03-02-2022 06:07 AM
Hello,
I want to control a boolean button from main vi and this button will change the indicator in another vi. Actually, my work is about changing languages, when i press the button, front panel lang. is changing, I have also another vi and there is a button too for changing lang. I want to use one button in main vi and the button will change language of the other vi, too. I don't know exactly the subvi structures. I tried several solutions but no result. How can i do this application.
Thanks a lot!
Solved! Go to Solution.
03-02-2022 06:29 AM
03-02-2022 07:17 AM
Thanks for reply, i already tried this. When i wire the button to subvi, click the button then I can't do anything on the front panel, so I have to stop vi.
03-02-2022 07:38 AM
Start SubVI asynchronously
and then use something like action engine (what i usually use, but i hear it's not example of good practice anymore) to pass information between main vi and subVI.
03-02-2022 07:39 AM
03-02-2022 07:59 AM
These are the vi's. In main vi I wired sub vi directly to button. It changes graph vi but then freeze, so i have to stop vi.