02-23-2021 02:02 PM
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 ( https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LgKSAU&l=en-US )
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?
Solved! Go to Solution.
02-26-2021 10:54 AM
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 Exec.vi like this:
03-03-2021 07:36 AM
03-03-2021 03:01 PM
Not as far as I know!