LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open Aplication Example Compact RIO

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

Si todo fuera facil, no estaria aca.
0 Kudos
Message 1 of 10
(3,105 Views)

Hello!

Let's check if I understood...

You have a RT VI in your cRIO and want to open it from your host PC?

I'm waiting your answer!

Regards,

Barbara Pracek
Engenharia de Aplicações
National Instruments Brasil

0 Kudos
Message 2 of 10
(3,077 Views)

Yes, that is correct. Sorry for my english. I'm from argentina

Si todo fuera facil, no estaria aca.
0 Kudos
Message 3 of 10
(3,073 Views)

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:

VI_shared variable.png

 

 

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!

 

Barbara Pracek
Engenharia de Aplicações
National Instruments Brasil

0 Kudos
Message 4 of 10
(3,068 Views)

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

Si todo fuera facil, no estaria aca.
0 Kudos
Message 5 of 10
(3,062 Views)

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:

RT_vi_inhost.png

 

 

If I'm not right, let me know in order to seek your solution!

Regards!

Barbara Pracek
Engenharia de Aplicações
National Instruments Brasil

0 Kudos
Message 6 of 10
(3,047 Views)

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.

Si todo fuera facil, no estaria aca.
0 Kudos
Message 7 of 10
(3,043 Views)

Does this example demonstrate what you're trying to do?

0 Kudos
Message 8 of 10
(3,039 Views)

Hi gusarielmanfredi!!!

I guess Nathand answered your doubt, right?

Sorry, I didn't get it right!

If you have other doubts feel free to contact us!

Regards,

Barbara Pracek
Engenharia de Aplicações
National Instruments Brasil

0 Kudos
Message 9 of 10
(3,024 Views)

Yes, it was simpler than i guess. Thank's so much!

Si todo fuera facil, no estaria aca.
0 Kudos
Message 10 of 10
(3,021 Views)