09-15-2016 02:02 AM
Hello...
My process is based on Labview. It is testing process based on vision. I dont want to ON the machine continouesly, I planned to shut down the machine when my PC is idle condition. To acheive this, I want to know how to identify the system idle time using labview. So that, I can shut down the machine when process is not running.
Thank you.
Solved! Go to Solution.
09-15-2016 06:35 AM
Hello...
My process is based on Labview. It is testing process based on vision. I dont want to ON the machine continouesly, I planned to shut down the machine when my PC is idle condition. To acheive this, I want to know how to identify the system idle time using labview. So that, I can shut down the machine when process is not running.
Thank you.
09-15-2016 07:13 AM
Assuming you are using Windows, you need to use the Windows API function GetLastInputInfo which will give you the time.
09-15-2016 11:56 PM
Thank You for your reply.
In LabVIEW how to use this function...? any example files...?
09-16-2016 04:23 AM - edited 09-16-2016 04:25 AM
Hi azadplc,
My process is based on Labview. It is testing process based on vision. … So that, I can shut down the machine when process is not running.
So your "process" executable is made using LabVIEW. Why don't you include some indication into this executable about it's current working state? (SharedVariables should be fine…)
Have a different tool reading this indicator and then shut down the PC when your "process" is finished!
Or even include the shoutdown procedure into your "process" like many other tools do: often you find a button/selection to select "shutdown when calculation is finished"…