LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shut down computer

Hello,

How can programmaticaly shutdown computer
with exit from LabVIEW vi?

LabVIEW 6.0.2
OS: Win 2000 pro sp3

Deniss Karai
0 Kudos
Message 1 of 3
(2,766 Views)
Dennis,

There is an api to do this, but unfortunately this does not work on NT, and
probably doesn't on XP and 2000. The reason for this is that an application
needs permision.

I have a VI that gets this permision, and shuts down anyway. I've send it to
you...

Regards,

Wiebe.

"Deniss Karai" wrote in message
news:3df723b5$0$159$bb624dac@diablo.uninet.ee...
> Hello,
>
> How can programmaticaly shutdown computer
> with exit from LabVIEW vi?
>
> LabVIEW 6.0.2
> OS: Win 2000 pro sp3
>
> Deniss Karai
>
>
0 Kudos
Message 2 of 3
(2,766 Views)
I have a vi that will do just that. It works on Win2k.It allows choosing between shutdown, reboot or logoff.
Download All
0 Kudos
Message 3 of 3
(2,766 Views)