Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Remote Panel:Client Connections Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: RP.Client Connections

Requires: Full Development System

Class: VI Methods

To Use: Create a method.

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

Data typeNameRequiredDescription
Remote Panel ConnectionsYesDescribes 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 Visible VIs section of the Web Server page of the Options dialog box.
Remote Panel ControllerYesIndex 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.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
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 allowedNo
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 Remote Panel Methods.lvproj in the labview\examples\Data Communication\Remote Panels directory for an example of using the Remote Panel:Client Connections method.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit