0

I would like to know (I). what commands the Windows sends to services to stop or start them and (II). how can I get those messages/command in LabVIEW?

Thanks in advance!

Henrik
  • 159
  • 1
  • 15
  • 1
    Are you trying to stop a service from labview, or run your labview exe as a service itself? – des Jul 10 '19 at 18:43

1 Answers1

0

Use System Exec.vi to execute the NET command.

Dave_St
  • 452
  • 4
  • 8
  • Yes! Some more examples/approaches here: https://superuser.com/questions/1214613/how-to-stop-service-from-commandline-in-windows – Joe Friedrichsen Jul 10 '19 at 14:46
  • The question says *how can I **get** those messages/command in LabVIEW?*. I think they want to run LabVIEW code as a service. – nekomatic Jul 11 '19 at 09:51