Remote Panel:Client Connections Method

LabView Local Project Settings

Remote Panel:Client Connections Method

Short Name: RP.Client Connections

Installed With: Full Development System

Class: VI Methods

Returns an array of clusters containing connection information about the clients viewing or controlling the VI.

LabVIEW opens a connection on the server computer when another application instance or a related application, such as a Web browser, requests to view the front panel of a VI in memory on the server computer.

This method can return networking error codes.

Example

Parameters

NameRequiredDescription
Remote Panel ConnectionsNoDescribes the clients viewing or controlling the VI.
VI NameName of the VI being viewed or controlled by the client.
RemoteIP address of the client viewing or controlling the VI.
UserNameLabVIEW user name of the client viewing or controlling the VI.
PortPort that the Web Server on the client computer uses.
StatusAn enumeration type that specifies the controlling status of the connection.
Create TimeA time stamp that specifies in seconds when the connection was created.
Status TimeA time stamp that specifies in seconds when the client changed to its current connection status.
Control End TimeA time stamp that indicates when the server will regain control of the VI or transfer control to another client. A value of MM/DD/YY indicates that you did not set a time limit for the VI in the Web Server: Visible VIs page of the Options dialog box.
Remote Panel ControllerNoIndex of the client in Remote Panel Connections currently controlling the VI. A value of –1 indicates that no client is controlling the VI and that the server is in control.

Remarks

The following table lists the characteristics of this method.

Available in Run-Time Engine and Real-Time Operating SystemYes (Read/Write)
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access disallowedYes
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

Example

Refer to the RemotePanelMethods-Server VI in the labview\examples\remotepanel directory for an example of using the Remote Panel:Client Connections method.

 Open example  Browse related examples