LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Showing front-panel of a VI (which runs on RT-target) via Ethernet on Laptop

Solved!
Go to solution

Hello,

 

my question is about a VI, which runs on a RT-target (It is saved in the Project tree as marked with an arrow in the attached Picture). Lets assume, we start the VI with a Laptop over Ethernet cable. The VI has got a frontpanel which showss a graph and some parameters...

 

I noticed: If a Background image (which is saved on the hard drive disk of the Laptop) is added to the front panel, the performance of the graphs is extremely slowed down. Of course thats no important issue, anyhow it lead me to some questions:


Should a VI on RT-target at all be monitored by a Laptop via Ethernet-Cable? Or should on the Laptop run a second VI, which gets only some monitoring-data via nework-variables? What´s the difference?


Thanks very much!

0 Kudos
Message 1 of 7
(3,608 Views)
Solution
Accepted by topic author Tooly

You usually use the front panel connection for development and debugging. For normal use once the application is complete, you would create a separate user interface application that runs on a laptop (or desktop), not on the RT system. For exchanging data between the RT system and the user interface you can use shared variables, TCP, UDP, or whatever other protocol is appropriate for your system. This gives your more flexibility in the communications, a more responsive user interface (because it's running locally), and a more stable RT system since it's not responsible for the user interface. It also potentially reduces the amount of data transmitted by the RT system because the RT system sends only data, not the entire graphics of the interface.

Message 2 of 7
(3,584 Views)

Hey Tooly,

 

I normally find that using a second VI on the PC has better performance, which makes sense because the cRIO is only sending the data you want to monitor as opposed to all the front panel data.

Andrew T.
"His job is to shed light, and not to master" - Robert Hunter
0 Kudos
Message 3 of 7
(3,581 Views)

Hello Tooly,

 

you can try this

Configuring Remote Front Panels on a Real-Time Target

then you can access the vi in the browser, if you want more then only monitor the vi, then use one of the options that are explained in the posts before.

 

 

 

best regards
Alexander
0 Kudos
Message 4 of 7
(3,553 Views)

Ok thanks all for the helpful answers!! 

 

0 Kudos
Message 5 of 7
(3,546 Views)

what's the story with remote front panels? I thought they where no longer going to be supported

0 Kudos
Message 6 of 7
(3,503 Views)

Hello MarkCG,

at the moment they work and they are simple to use. For a long term we will get different and new options. One way at the moment are also webseervices with a custom web side, or the other methodes with communication over TCP that was  mentioned here.

best regards
Alexander
0 Kudos
Message 7 of 7
(3,499 Views)