LabSocket - The Easy Way to Extend LabVIEW to the Web

Compatibility with NI Linux Real-Time

LabSocket enables LabVIEW applications to be monitored and controlled remotely using a web browser. The system operates without browser plug-ins, making it suitable for use with a wide range of desktop and mobile browsers.

Previously, a separate version of the system known as LabSocket-RT enabled browser access to Real-Time targets, but it had support for only a subset of the front panel elements of desktop LabSocket. LabSocket-RT also required the use of a "LabSocket-RT Converter Tool" that would automatically modify the Target VI for use on an RT platform but added an undesirable level of complexity to the development process.

The new unified LabSocket v3.4 combines the capabilities of the former LabSocket-Basic and LabSocket-MultiClient systems and adds support for operation on National Instruments cRIO-903x NI Linux Real-Time controllers. This is a significant advance because it greatly simplifies the use of the LabSocket system on these popular devices. This version also supports a wider variety of elements and properties than the earlier LabSocket-RT.

The picture below shows the LabSocket system operating on a cRIO-9030 and a browser accessing the Target VI on the cRIO.

Access to Target VI on a cRIO-9030 Using LabSocket
Access to Target VI on a cRIO-9030 Using LabSocket (click to enlarge)

Developer Notes

LabSocket is still being modified and tested for use on Real-Time platforms and does not yet provide the full capabilities on RT platforms that are available on desktop platforms. The following notes provide details describe the details of the compatibility of LabSocket with RT platforms.

Compatible RT Platforms
The system has been tested on cRIO-9030 and cRIO-9031 devices, though, it should also operate on cRIO-903x platform in its current form.

Supported Elements
The following dynamic elements are fully supported in the Linux Real-Time environment:

  • Numeric controls and indicators, including enums
  • String controls and indicators
  • Boolean controls and indicators, including booleans with images

Tab elements, decorations and static pictures are also supported.

Full support for elements such as XY Graphs is expected to be available in an upcoming release.

Operation Modes
The system currently only supports operation of the RT target platforms in "Headless" and not "Interactive" mode. Further modifications to support Interactive mode are planned.

Supported Client Mapping Modes
On desktop platforms, LabSocket can be configured for one of two client mapping modes. In Basic mapping, one or more browsers connect to the same instance of a Target VI. In MultiClient mapping, each browser connects to a unique instance of the Target VI.

On Linux Real-Time platforms, only Basic mapping is currently supported; however, support for MultiClient mapping is planned. The supported mappings are summarized in the following table.

LabSocket Client Mapping Modes

Client Mapping Mode
Platform Basic MultiClient
Desktop Yes Yes
cRIO-903x Yes Planned

Instructions
Instructions for creating LabSocket applications that operate in headless mode on NI Real-Time Linux platforms can be found in the LabSocket User Guide (See Section 6.3, Deploying to NI Linux Real-Time Targets).

Contact

John Bergmans
Bergmans Mechatronics, LLC
e: jbergmans /at/ bergmans \dot\ com

 

Back to Top of Page Top