Showing results for 
Search instead for 
Did you mean: 

Programmatically start NI Shared Variable Engine

We have a few computers around our lab that will arbitrarily boot without the NI shared variable engine starting as it should. As such I have to walk users through the process of starting the NI Shared Variable Engine service outlined in the link here ( )


However, this is frustrating for all involved and I would like to find a way to start the service programmatically either as the first step in my program or as a separate quick fix.exe . Is there a way I can do that with LabVIEW?

0 Kudos
Message 1 of 2

You can start a Windows service from cmd (with administrative rights) using the command: NET START service name. So for NI Shared Variable Engine that would be:

NET START "NI Variable Engine".

If you start LabVIEW or your executable as admin, you can call System like this:






0 Kudos
Message 2 of 2