08-14-2015 03:25 AM
Hi all,
I need help with Windows CE 6.0. I'm building an application with Touchpanel Modul for Win CE. It works fine, but I'm looking a way to restart my Win CE from Labview. In Windows 7 or 8 there is the "System Exec.vi" I could use. But it doesnt work in Win CE. I found this instead, Run Application.vi, which says, it should work like System Exec.vi to run application.
But the problem is, I couldnt find any command line to be executed to restart Win CE.
So, I just need to know if there is any simple way to restart Win CE from Labview? I found in other forum a suggestion to use a script for C or C# but I dont think I can use it. Is there any simple "Labview"-way to do this instead of "win CE"-way or "C","C#"-way?
Thanks,
Yan
08-17-2015 04:58 AM
Hey Yan,
I also found no option to restart Windows CE from a LabVIEW VI.
I found multtiple websites which make the statement, that Windows CE doesn't offer an option to restart a target without to use the C/C++/C# functions.
I think the only way to archive this function is to write a small application in C/C++/C# which can be called by your LabVIEW VI.
Windows provides this function to restart the OS:
SetSystemPowerState (Windows CE 5.0)
https://msdn.microsoft.com/en-us/library/ms920754.aspx
Regards, Stephan