From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-26-2020 01:58 PM
Hello Community,
I am new to using Labview NXG 5.0 and i have just converted an labview 2020 vi to bring it up to Labview NXG 5.0 verson. I have a front panel / Home Page where i want to press a buttont to open up another vi that is in my project folder and run that one. In Labview 2020 and earlier versions this was done by a invoke node but when its conversted it into labview NXG 5.0 that isnt supported. Please could somebody point me in the right area which i can enable the function of running anther vi from my Front Panel / Homepage.
Kind Regards
Matt
06-27-2020 12:16 AM
https://www.ni.com/documentation/en/labview/latest/migration/differences-labview-labviewnxg/
In short, NXG has no invoke nodes. 😕
06-27-2020 01:00 AM
Hi Billko,
Thank you for your reply.
Do you know if there is a way of having a Front Panel which i could put buttons on which when one is pressed it takes you to another panel which would show data that is gathering from a mysql table. I know how to do the gathering of the data from the mysql table. Just dont know how to do the switching of the diffrent panels.
Kind Regards
Matt
06-27-2020 12:37 PM
Hopefully, this is what you are looking for. I found it here. I think I will bookmark this link, come to think of it. It's quite useful, and I refer to it all the time.
06-29-2020 08:02 AM - edited 06-29-2020 08:03 AM
Hi Matt!
To elaborate on Billko's post, the link he shared is perfect for inserting one gvi into another one, but both gvi's have to already be running for this to work. To start, you need to decide if the gvi you are running should be opened in a new window or not. While on the panel of the gvi you want to open, in the configuration pane under panel set the run behavior to new window. Then, to run this gvi without an invoke node you need the "Program Flow>Execution Control" palette. This will allow you to open a gvi reference and then call it asynchronously. If you want it in a floating window, you're done! If you want it in a subpanel you'll need the gvi's Billko referenced.
06-29-2020 08:13 AM
Hello Philip Bear,
Thank you for your reply to my post.
I will look at implementing what you suggested. Each of the gvi's would open up in a new window.
Thank
Matt
06-29-2020 08:42 AM
@Matt14122017 wrote:
Hello Philip Bear,
Thank you for your reply to my post.
I will look at implementing what you suggested. Each of the gvi's would open up in a new window.
Thank
Matt
Sorry about that - I misinterpreted your need. I thought you were trying to open up in a subpanel. Whenever I use the term "invoke" when I am talking about VIs, it's usually to call a VI as a subpanel.
FYI - using an invoke node isn't the usual way of opening up a subVI. You might want to re-think the way you are calling VIs as subVIs in your existing LabVIEW code. Or are you trying to launch this VI asynchronously? (i.e., "Fire and forget".)