To view an application or front panel remotely using LabVIEW, you must first configure the server. Complete the following steps to configure the server so a client computer can view a front panel remotely using LabVIEW.
Tip For VIs that will be viewed or controlled remotely, create as small front panels as possible. The Web Server uses more system resources to load and display large front panel images than small front panel images, which can slow the execution of the VI itself.|
- Enable the Web Server on the server computer where the VI or application you want to view is located.
- Configure the browser access list so the client computer can connect to the server.
- Configure the visible VIs list so the client computer can access the VI or application front panels remotely. If you do not configure the visible VIs list, the client can access all VIs that are loaded into memory on the server computer.
- Make sure the application is running or the VIs whose front panels you want clients to view are in memory on the server computer.
Complete the following steps if you are on a client computer and want to view a front panel remotely using LabVIEW.
- Select Operate»Connect to Remote Panel to display the Connect to Remote Panel dialog box.
- In the Server address field, enter the IP address or computer name of the server to which you want to connect.
- In the VI name field, enter the name of the VI whose front panel you want to view. Or enter the name of the top-level VI of the application you want to view.
- Enter the HTTP Port. The default is 80.
- If you want to immediately request control of the front panel, place a checkmark in the Request control checkbox. You also can request control at the bottom of the remote front panel window when it appears on your computer.
- Click the Connect button. The front panel appears on your computer allowing you to view it. If access is denied, an error message appears in the Connection status section of the Connect to Remote Panel dialog box.
|Note If you want to save the data generated by a VI running on a remote computer, use DataSocket or TCP instead of remote front panels.|
To completely close your connection to the Web Server running on the server computer, click the close glyph on the LabVIEW window border.
|Note The server computer managing remote front panels must have the LabVIEW Full or Professional Development System or must build the front panels into a stand-alone application. Clients can use any LabVIEW development system to view and control those front panels remotely.|
You also can use the Application methods to open a connection and request control of a remote front panel programmatically.