LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shutting down windows in LV 64bit

Solved!
Go to solution

I've been using a call to Shutdown32.dll for years, in 32bit LV programs, to shut down or reboot the Windows computer. Does anyone have a tool for doing this on 64bit Windows?

 

Thanks,

     DaveT

-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 1 of 4
(2,008 Views)
Solution
Accepted by Dave_Thomson

This works on 64 bit.

 

snip.png

 

mcduff

Message 2 of 4
(1,985 Views)
Solution
Accepted by Dave_Thomson

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown

 

Shutdown has lost of options, for instance you can cancel the shutdown (if you're in time), log off or restart.

 

The dialog seems interesting, it will allow you to cancel the shutdown, for instance when you're developing or testing.

 

There are rights issues: your application must have them.

Message 3 of 4
(1,923 Views)

Thanks!

-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 4 of 4
(1,885 Views)