12-28-2011 12:59 AM
hello,
I am new to labview and iam dealing with a project where i have 3 stop indicators in the whole vi, one stop indicator is in a sub vi and the other two indicators in the same vi. Now i have to club all these three stop indicators to a single stop indicator. Can anyone please guide me in doing this.
12-28-2011
01:08 AM
- last edited on
04-04-2024
01:10 PM
by
Content Cleaner
Hi Samineni,
You can just wire all the 3 diff stop indicators to a 'Compount Airthmetic' function .See here.
12-28-2011 01:16 AM
hi
Thanks for the reply. I have used arthimetic or function but still i couldnt get it, I have 2 boolean global variables and 1 boolean indicator, so all the three i have given it to arthimetic or. Is there any other way to do that
12-28-2011 01:35 AM - edited 12-28-2011 01:36 AM
12-28-2011 02:31 AM
hello,
Thanks for the intrest once again. This is what i have done before. My requirement is if i press any one of the button,whole vi has to get stopped. Which is not happening. In the three boolean indicators 2 of them are global variables, i am reading the global variable, is it right i am doing or should i have to make any other changes
12-28-2011 03:20 AM
12-28-2011 05:29 AM
hi,
I got resolved with it. In my main vi,i have a sub vi so when i run the main vi everytime, the sub vi's front panel get's opened up. How can i stop the sub vi's front panel getting opened up.
12-28-2011 05:54 AM
Hi
In order to stop the front panel of a sub vi opening when called, try this:
Open the sub vi front panel, go to File Menu, VI Properties.
Select 'Window Appearance' in the Category pull-down menu
Click on 'Customize' button
You will find a selection for 'Open front panel when called'. Ensure that this selection is 'un checked'.
Click 'Ok' and save your sub vi.
Try running the main vi now.
12-28-2011 07:02 AM
If you dont want to open the front panel of the SUbVI when the main VI is running.
just right click on the subVI and select the option of SubVI node setup.
There three checkboxes are there which allows you to show the front panel of the subvi or hide it.
remove tick from all the checkboxes and then run your main VI.
12-28-2011 09:17 AM
Please post your code. There may be a better design archetecture for what you are trying to do.