Programmatically Restart LabVIEW Web Service

Updated Oct 21, 2025

Reported In

Software

  • LabVIEW

Issue Details

I am using LabVIEW developed an executable. When I launch my executable, it will deploy the NI Web Service. How to programmatically restart the deployed web service?

Solution

To programmatically restart the deployed web services, you can use System Exec.vi with below command to start and stop the deployed web services.

net stop "NI LabVIEW AMQP Host"

net start "NI LabVIEW AMQP Host"

However, do take note that this command will restart all deployed web services.