This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Running a LabVIEW-Built Executable as a Windows Service

Updated Dec 20, 2023

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Issue Details

We want to automate some tasks on a Windows Server using LabVIEW as the programming environment, and running the code as a Windows Service. Is it possible to run an executable built with LabVIEW as a service?

Solution

A wrapper is needed to execute a LabVIEW-built executable as a Windows Service.

An easy, LabVIEW-integrated, and fully automatable approach to do so is using the third-party add-on Service Application Manager for LabVIEW by Grovf. It is available on NI LabVIEW Tools Network, and can be installed directly from the VI Package Manager.

Additional Information

  • Using the Service Application Manager for LabVIEW by Grovf enable you to create a VI that installs or removes a normal, compiled LabVIEW .exe file as a Windows Service.
  • One can also control (start/pause/resume/stop/...) any Windows Service using the package's VIs.
  • The package uses NSSM/NSSM64 as a wrapper.