Remote Panel:Open Connection To Server Method

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Short Name: RP.Open Connection To Server

Requires: Full Development System

Class: Application Methods

To Use: Create a method.

Opens a connection to a server and displays the front panel of a VI on the server computer. You also can request control of the front panel.

This method is similar to the Connect to Remote Panel dialog box.

This method can return networking error codes.



Data typeNameRequiredDescription
VI NameYesName of the VI on the server to which you want to connect. To specify a VI that is part of a LabVIEW project, you must include the project name, the project library, and the target in the path of the VI, when applicable. For example, if resides in a project called MyProject.lvproj under target My Computer, enter the VI name as MyProject.lvproj/My Computer/ If the VI resides in a project library called MyLibrary, also include the project library in the path, as in MyProject.lvproj/My Computer/ If the VI is not in a project or project library, you can enter the VI name without any additional information.
Server AddressYesIP address or computer name of the server.
Server PortYesPort on which the Web Server is located.
Request ControlNoIf TRUE (default), the client requests control of the front panel immediately after opening a connection to the server. The server queues the request if another client currently controls the front panel.
Secure ConnectionNoSpecifies whether to establish a secure connection.


The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Remote access allowedNo


Refer to the Remote Panel Methods.lvproj in the labview\examples\Data Communication\Remote Panels directory for an example of using the Remote Panel:Open Connection To Server method.


Not Helpful