LabVIEW 控制电脑关机、休眠、注销和重启

在LabVIEW跳转访问网页博文中,我们使用执行系统命令的方式执行 Windows CMD 指令实现网页访问,本篇博文在此技术上拓展讲解几个有意思的功能,实现控制电脑关机、休眠锁屏和远程唤醒。
还是在 LabVIEW 中右键鼠标:互联接口→库与可执行程序→执行系统命令,如下所示:

使用 LabVIEW 调用,实现如下所示:

版权声明: 本文为 InfoQ 作者【不脱发的程序猿】的原创文章。
原文链接:【http://xie.infoq.cn/article/32e224edca8a1ede688ad7117】。文章转载请联系作者。
评论