Subscribing to Front Panel Data

Complete the following steps to subscribe to front panel data from a DataSocket Server.

Note  You must install the DataSocket Server to subscribe to front panel data.
  1. Open the DataSocket Server by selecting Start»Programs»National Instruments»DataSocket»DataSocket Server.
  2. Right-click a front panel object and select Data Operations»DataSocket Connection from the shortcut menu to display the DataSocket Connection dialog box.
  3. In the Connect To field in the DataSocket Connection dialog box, enter a valid URL or click the Browse button and select a URL from the menu.
  4. In the Connection Type section of the DataSocket Connection dialog box, click the Subscribe button.
  5. Click the Attach button.
  6. Run the VI. LabVIEW retrieves the data from the DataSocket Server and displays it in the front panel object of your VI. If the connection to the DataSocket Server is successful, a small green indicator appears next to the front panel object on your VI. If the connection is not successful, a small red indicator appears. If LabVIEW cannot connect to the server, a small gray indicator appears. You can hide this indicator by right-clicking the front panel object and selecting Visible Items»DataSocket LED from the shortcut menu. You also can use the LEDVisible property to hide the indicator programmatically.