A subscription to JoVE is required to view this content. Sign in or start your free trial.

Method Article

A Protocol for Automatic Generation of Web-Based Interfaces for LabVIEW Applications Using the Remote Interoperability Protocol

211 views

⸱

DOI:

10.3791/72765

⸱

August 14th, 2026

 ,  ,  , 

In This Article

Summary

This study validates a remote interoperability protocol (RIP)-based automatic Web user interface generation with two distinct LabVIEW systems—a fan model and a direct current motor position-control model—and provides a reproducible procedure for constructing, registering, deploying, and testing both examples.

Abstract

Remote experimental platforms enable local simulation models or physical devices to be accessed over a network, but conventional Web front ends typically require a separate page, control layout, and data communication logic for each experiment, which increases development costs. This work validates an established workflow for automatically generating a Web user interface (UI) from LabVIEW virtual instruments (VIs) using the remote interoperability protocol (RIP) and provides a reproducible protocol for implementing it. The workflow constructs LabVIEW VIs that define input controls and output indicators on the Front Panel, registers each VI in RIP Server Configuration, reads the resulting variable metadata, and generates the corresponding Web controls and output displays. Caddy is used as a reverse proxy to unify the front-end static-file path and RIP application programming interface (API) request path. The workflow is evaluated with two distinct systems: a fan speed model and a direct current (DC) motor proportional-integral-derivative (PID) position-control model. In both cases, the Web page identifies the exposed variables, writes user inputs to the LabVIEW back end, reads model outputs, and generates the interface from RIP metadata. These results validate the same automatic UI-generation process across two different dynamic systems and document the steps required to reproduce it.

Introduction

With the development of remote experiments, online teaching, and Internet-of-Things technologies, providing Web-based access to local simulation models or experimental devices has become an important direction for experimental platform development1,2,3,4. Recent work has further integrated Internet-of-Things-equipped laboratories with project-based learning and local or remote access, demonstrating the continued development of flexible and networked experimental platforms in engineering education5. For control system ....

Access restricted. Please log in or start a trial to view this content.

Protocol

Complete the following steps to build, register, deploy, and verify two RIP-accessible LabVIEW experiments following the workflow summarized in Figure 1. All the tools and platforms used in this study are listed in the Table of Materials.

1. Build and deploy the fan model experiment

  1. Build the fan model VI.
    1. Open LabVIEW, create a new VI, and save the file as fengshan.vi. Save the VI in any directory accessible by the RIP WebService process. The Private folder is used only as an example directory and is not hardcoded in RIP. Enter the actual selected VI pa....

Access restricted. Please log in or start a trial to view this content.

Results

After completing the workflow described above, both the fan experiment and the DC motor PID position control experiment can be accessed through the automatically generated Web front end. A successful result is indicated by three observations. First, the Web page automatically generates input controls and output display fields according to the variable metadata returned by the RIP Server. Second, when the user changes an input variable on the Web page, the modified value is written to the LabVIEW back-end VI through the R.......

Access restricted. Please log in or start a trial to view this content.

Discussion

A critical step in this protocol is the standardized construction and registration of the LabVIEW back-end VI. The Front Panel controls and indicators must use clear and unique variable names, and their data types must match the variables expected by the model calculation and by the RIP read/write process. In the two examples used in this protocol, scalar numeric variables are defined as DBL controls or indicators, and Boolean variables are defined as Boolean controls. The Block Diagram must also maintain continuous stat.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

The authors used AI-assisted tools solely for language polishing. All scientific content, experimental procedures, software implementation, figures, results, interpretations, and final wording were reviewed, corrected, and approved by the authors. No AI tool was used to generate experimental data.

Acknowledgements

This work was supported by the Undergraduate Training Programs for Innovation of Wuhan University.

....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
Caddy Proxy ServerCaddyN/AReverse proxy used to serve the Web UI and forward /RIP requests to RIP WebService
CaddyfilePrepared by the authorsN/ADefines static-file routes and reverse-proxy routes for RIP communication
Fan_Automatic_UI.xhtmlPrepared by the authorsN/AMetadata-based Web front end for the fan experiment
LabVIEWNational Instruments2026Software used to construct and run fengshan.vi and Motor.vi
Microsoft Windows operating systemMicrosoftWin11Operating system used to run LabVIEW, RIP WebService, Caddy, and the browser.
Motor_Automatic_UI.xhtmlPrepared by the authorsN/AMetadata-based Web front end for the motor experiment
Mozilla Firefox desktop browserMozilla2026Desktop browser used for Web UI access, developer tools, timing/resource observations, and Network/Console screenshots.
RIP WebServiceUNEDLabshttps://github.com/Nebulous-Systems/rip-server_labviewReceives RIP POST requests and provides the WebService communication layer used by the browser front end.
Windows Task ManagerMicrosoftBuilt into WindowsUsed to record process-level CPU and memory observations for the browser and LabVIEW processes.

References

  1. Gomes, L., Bogosyan, S. Current trends in remote laboratories. IEEE Trans Ind Electron. 2009;56(12):4744–4756.
  2. Ma, J., Nickerson, J. V. Hands-on, simulated, and remote laboratories: A comparative literature review. ACM Comput Surv. 2006;38(3):7-es.
  3. Heradio, R. et al. Virtual and remote labs in education: A bibliometric analysis. Comput. Educ. 2016;98:14–38.
  4. May, D., Jahnke, I., Moore, S. Online laboratories and virtual experimentation in higher education from a sociotechnical-pedagogical design perspective. J. Comput. High. Educ. 2023;35:203–222.
  5. Amador Nelke, S. et al. Enhancing lessons on the Internet of Things in science,....

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Explore More Articles

Web User InterfaceAutomatic UI GenerationVirtual InstrumentsRIP Server ConfigurationReverse ProxyCaddy ProxyPID Position ControlVariable Metadata

This article has been published

Video Coming Soon