LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VNC Behavior

I would like to develop a program that would allow someone to remotely view what my VIs are doing on remote computers, similiar to VNC. However, I would like to restrict what functions the remote user can execute (for safety reasons). Is there a way I can use the VI server, or Datasocket to publish the indicators/controls that I would want them to be able to view remotely to the network using a client LabVIEW program?
0 Kudos
Message 1 of 8
(3,991 Views)

Sirin a écrit:
I would like to develop a program that would allow someone to remotely view what my VIs are doing on remote computers, similiar to VNC. However, I would like to restrict what functions the remote user can execute (for safety reasons). Is there a way I can use the VI server, or Datasocket to publish the indicators/controls that I would want them to be able to view remotely to the network using a client LabVIEW program?


Maybe the LabVIEW Web Server can fit your needs. It allows to view the FP of your VIs in an internet browser. You enable the Web Server in Tools>Options>Web Server:Configuration. Once it is enable see instructions in your browser at http://localhost.
See a (not always) running example: Temperature where I work.

Message Edité par Jean-Pierre Drolet le 06-08-2005 10:38 PM



LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 8
(3,980 Views)
As Jean suggested Webserver will be a better option for you. The webserver in labview allows you to control a VI running on remote computer using you webbrowser. VNC is different. VNC allows you to control remote computer, as if you are operating the computer locally.

But if using web browser is not a option then, probably TCP/IP or Datasocket will be helpful. This will required you to write two seperate applications one of which will be a server and the other a client. The User interface may not be the same at both the ends.
0 Kudos
Message 3 of 8
(3,969 Views)
You can also try LabVNC. It hasn't been updated for a while, but you can modify it yourself. It translates your FP to a java applet, so you don't need the run-time engine.

___________________
Try to take over the world!
0 Kudos
Message 4 of 8
(3,956 Views)
Thank you for the suggestions; but the main issue that I am running into is that the remote user needs to be able to "control" the VI in that, he needs to be able to change tab controls to view different sets of data.

Would the best option to use the Web Server to make a 'Remote Screen' VI that pulls data from the main program and just serve that Remote Screen VI on the network?
0 Kudos
Message 5 of 8
(3,953 Views)
The remote front panel option is definitely the easiest, and will allow you to control the VI if you install the LV run-time engine. You can search this site for "remote front panels" or look in the LV user manual for more details.
You can either publish your data to another VI and subscribe to that, or you can disable parts of the VI if the remote is controlling by using the Application>>Remote Panel>>Connections to Clients property. The first method is probably better.

___________________
Try to take over the world!
0 Kudos
Message 6 of 8
(3,949 Views)
It appears that you must have the Full Development version of LabVIEW in order to make programs that act as servers for Remote Front Panels. I'm not sure that I can invest in that upgrade (we only have the Base Development Version 6.1) just for this application.
0 Kudos
Message 7 of 8
(3,942 Views)
I'd like to thank everyone for their help; we've decided to take a different path with this application that won't require remote control of a VI. (I will be reading data files off of the remote PC and displaying them on the local computer.)
0 Kudos
Message 8 of 8
(3,928 Views)