LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

automatic system standby generation and resume after few seconds?

Lol, Smiley Happy U are my hero Smiley Wink

Am out of time now. Smiley Surprised ill check this tomo and catch up u then Smiley Very Happy

Thanks,

Mathan

0 Kudos
Message 11 of 47
(1,519 Views)

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

Download All
0 Kudos
Message 12 of 47
(1,502 Views)
Hi mathan,
see the attachment please, it works for me. Smiley Happy
Mike
Message 13 of 47
(1,496 Views)

Dear mike,

Yes. Its working great. Thanks. Smiley Happy

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

0 Kudos
Message 14 of 47
(1,492 Views)

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

0 Kudos
Message 15 of 47
(1,486 Views)

Hi mathan,

i can create and set the timer, but it don´t work on my pc. Maybe you have more luck with it. Smiley Happy

Mike

Message 16 of 47
(1,478 Views)

Dear mike

Lot of thanks. I will give a try and update soon.

Thanks,

Mathan



Message Edited by mathan on 05-16-2008 04:18 AM
0 Kudos
Message 17 of 47
(1,477 Views)

Dear mike,

I tried with ur vi. what i observed is, standby happens immediately Smiley Happy when i run the vi and

its seems wakeup is happening Smiley Very Happy (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 Smiley Mad and only with external interrupts like mouse move or key press only it enters normal screen view. Smiley Sad

Any comments?

Thanks,

Mathan

0 Kudos
Message 18 of 47
(1,474 Views)
You should be aware that Standby and Hibernate do not always work as advertised. Perhaps you should consider a more full-proof method of whatever it is that you're trying to accomplish.
Message 19 of 47
(1,463 Views)

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

0 Kudos
Message 20 of 47
(1,456 Views)