12-06-2011 08:41 AM
Hello:
I'm trying to use de Open Application for runnig a Real time vi in my compact rio from the PC host. But it seems that there is no labview example of how to properlty use it. Does anyone have a working application?. I'm looking for something that open a test.vi witch is in the RT level, form the pc.
Thank !!!!!
Gustavo
12-12-2011 12:24 PM
12-12-2011 12:28 PM
Yes, that is correct. Sorry for my english. I'm from argentina
12-12-2011 01:11 PM
Hello,
There's no problem...
As I can see in your project, you want to see the data that is acquiring by cRIO (that you are storing in Variable1) in PC_GUI VI? Is correct?
If is it your objective, it will be easy to resolve.
You don't need to open the RT_host.vi again in your host to access that data that is storing in your shared variable.
You can make your PC_VI as you can see below:
You can just run the two VI's, (RT and HOST), and observe at your Host Front Panel the data that is coming from your cRIO.
If you get any doubts, plese let us know!
Hope this helps!
Regards!
12-12-2011 01:29 PM
Yes, i know what you mean. That is correct. The thing is that i'm looking foward to not open the two vi. I want to open only the front pannel in the pc leven and run in that level the vi stored in the RT level. I don't know if that is even possible. Any ideas?. I was reading about,
"open aplication tool" and i guess that's the correct way, but i can not get it raight
12-13-2011 05:38 AM
Hiii!
Maybe I didn't understand what you mean, please correct if I did....
You just want to open your RT vi in your host?
You can drag and drop this VI in your project to your host, see below, and then open it:
If I'm not right, let me know in order to seek your solution!
Regards!
12-13-2011 06:35 AM
JAJAJA..noooo...that's too simple. What i need is to call from the host (pc_gui.vi) the rt_host.vi, and the rt_host.vi is in the target level. With that i need to open only one vi for running the full application, and if i can not do it i will have to open both vi host vi and the target vi. So, what i need is a way for calling the target vi from the host vi.
12-13-2011 11:57 AM
Does this example demonstrate what you're trying to do?
12-15-2011 06:42 AM
12-15-2011 07:11 AM
Yes, it was simpler than i guess. Thank's so much!