Enabling the dstp, opc, ftp, http, or file Connection for a Control

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Using front panel data binding to control a front panel control remotely through the Shared Variable Engine provides faster and more reliable data transmission than dstp as well as seamless connections to shared variables and NI Publish-Subscribe Protocol (NI-PSP) data items.

Enabling an opc, ftp, or http connection for a control on Windows, or a dstp or file connection for a control on all LabVIEW-supported platforms lets a control write and read live data through the DataSocket Server, and on Windows, through an OPC server, FTP server, or Web server. Do not enable a connection for a control if you want to establish or save the URL for the object but not write or read data.

Complete the following steps to enable a control for an opc, ftp, or http connection on Windows, or a dstp or file connection on all LabVIEW-supported platforms.

  1. If you are using a dstp connection, launch and configure the DataSocket Server. If you are using an opc, ftp, http, or file connection, skip to step 2. Open the DataSocket Server by selecting Start»All Programs»National Instruments»DataSocket»DataSocket Server.
  2. Right-click a front panel object and select Properties from the shortcut menu to display the Properties dialog box for the object.
Note  You cannot create front panel data connections for type definitions.
  1. Click the right arrow button to navigate to the Data Binding page of the Properties dialog box.
  2. Select DataSocket from the Data Binding Selection pull-down menu.
  3. On Windows, enter an opc, ftp, or http URL, or on all LabVIEW-supported platforms enter a file or dstp URL in the Path text box. You also can select DSTP Server or File System on all LabVIEW-supported platforms from the Browse pull-down menu to navigate to a URL.
  4. Select Read/Write from the Access Type pull-down menu.
  5. Click the OK button.


Not Helpful