LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control a SubVI with Main VI using event Structure

Solved!
Go to solution

Events are primarily for user iteractions, they will not fire if a terminal is written programmatically. If the front panel of the subVI is closed, you cannot press the button on it.

Each event structure listend to a different calculate button: the one on the respective fromt panel. (Even if they have the same label, they are completely seperate!)

 

 

Your above statements make sense and hence it seems, i m not able to run the program.

This is how i understand it.

Even though i am giving the event in the main VI the same label name as in the Subvi, as you mentioned they are completely different, then i wont be able to pass the boolean and hence the event will never get fired.

 

 

The only reason it made sense to me, was because i believed that you can have the same label to fire events in the subVI.

 

As i conclude, one cannot have "Event structure control like a boolean"  based in the Main VI. to fire events inside the SubVI, without using (opening the Subvi) "SUbVI node setup".

 

Please correct me if my above bold sentence is incorrect.

0 Kudos
Message 11 of 19
(1,293 Views)
LabVIEW is a fullifeatured programming language, so anytthing (anything!) Can be done, Still, this is a simple task and there is no need to complicate things by a few orders of magnitude. 🙂
0 Kudos
Message 12 of 19
(1,287 Views)

I completely agree with you....

I am just a novice user, trying to increase my knowledge by using simple programs.

 

It would be useful, if anyone can show the attached programs run in other efficient way.

0 Kudos
Message 13 of 19
(1,285 Views)

hi,

could you put these vis as version of 8? i have been looking for that kind of vi for my project. may be mine is alittle bit different.i aim to run the main vi with sub terminal vi. terminal vi is used for communicating my test stand and main vi is for switching pages to illustrate some parameters.

thank you in advance. i am waiting for your help

best regars

0 Kudos
Message 14 of 19
(1,009 Views)

Hi, 

 

If I am understanding you correctly, you are wanting the VIs posted earlier in this forum to be reposted in a 8.x version of LabVIEW. I would recommend downloading the VIs as they are, and reposting them to the version conversion forum, linked here: http://forums.ni.com/t5/Version-Conversion/bd-p/VersionConversion. This forum is commonly used by people needing VIs to be converted into versions of LabVIEW they use. It is frequented by other users who have various versions of LabVIEW who are willing to do the requested file conversions. I hope this helps you in your endeavors. 

Best Regards,

Thomas B.
National Instruments
Applications Engineer
0 Kudos
Message 15 of 19
(986 Views)

hi thomas,

first of all thank you for response but "mode was not found" so ı haven't reached my aim yet. ı think topic is outdated. 

0 Kudos
Message 16 of 19
(976 Views)

Hi, 

 

I am sorry, I think the hyperlink I posted was not working because the period at the end of the sentence was included in the hyperlink. You should be able to access the forum here. I hope this helps. 

Best Regards,

Thomas B.
National Instruments
Applications Engineer
0 Kudos
Message 17 of 19
(972 Views)

ugurkara88 wrote:

could you put these vis as version of 8? i have been looking for that kind of vi for my project...


Then please start a new thread explaining what you want to do.

 

If you read the entire thread here you'll probably notice that whatever is attached above is completely dysfunctional and useless. Looking at them will only confuse you and will potentially get you further away from a good solution.

0 Kudos
Message 18 of 19
(965 Views)

thank you very much

0 Kudos
Message 19 of 19
(945 Views)