05-15-2008 10:00 AM
Lol,
U are my hero ![]()
Am out of time now.
ill check this tomo and catch up u then ![]()
Thanks,
Mathan
05-16-2008 12:44 AM
Dears,
I have tried this. (powrprof.dll under c:\windows\system32\)
What happened is the system just got restarted and it seems it didn't entered suspend mode. Also the attached popup error message appears.
Also i want to know how to wake up from the suspend state and resume to normal state?
Thanks,
Mathan
05-16-2008 01:15 AM
05-16-2008 01:33 AM
Dear mike,
Yes. Its working great. Thanks. ![]()
As smercurio told i looked into kernel32.dll for createwaitabletimer and setwaitabletimer functions. But not got any clear idea. Even not able to understand what the function does (Better MSDN may explain in bit detail).
Mike,,,, is it possible to automatically resume the system from the standbymode without any disturbances like mouse move or key press or anything.
Any suggestions????
Thanks,
Mathan
05-16-2008 01:58 AM
Dears,
I have connected a USB device to my system. I used parallel port to control the power of the device.
My USB device got switched off when systems enters standby mode.
What am asking is when the system enters suspend state, the parallel port signals will get changed?
Thanks,
Mathan
05-16-2008 04:15 AM
Hi mathan,
i can create and set the timer, but it don´t work on my pc. Maybe you have more luck with it. ![]()
Mike
05-16-2008 04:17 AM - edited 05-16-2008 04:18 AM
Dear mike
Lot of thanks. I will give a try and update soon.
Thanks,
Mathan
05-16-2008 04:32 AM
Dear mike,
I tried with ur vi. what i observed is, standby happens immediately
when i run the vi and
its seems wakeup is happening
(caps-lock and scroll-lock LED's at the top right corner of the keyboard got reset and it blinks which indicates the wakeup of the system).
But, the monitor still remains off
and only with external interrupts like mouse move or key press only it enters normal screen view. ![]()
Any comments?
Thanks,
Mathan
05-16-2008 08:53 AM
05-16-2008 09:10 AM
Dears,
Am trying to develop a automated testing application using LabVIEW for testing my USB device.
In one round of testing, i need the system to automatically enter into standby mode (which was now possible by the help of you guys) and after particular seconds will have to wakeup again. This needs to be automated.
Is this one possible? If so how to achieve this?
Thanks,
Mathan