LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

automatic system standby generation and resume after few seconds?


Is this one possible? If so how to achieve this?

This has already been answered. Use the timers.
Message 21 of 47
(1,677 Views)

No i tried with mike example. Only suspend state is happening. It's not wakingup.

What i have to change in that vi? Please kindly help in this regard.

Thanks,

Mathan

0 Kudos
Message 22 of 47
(1,674 Views)
I tried the VI. It worked on my system, which isn't too surprising since the VB code I pointed out works. The monitor did not turn back on, but I don't think that's because of the system call. I suspect that has to do with the power-saving features of the monitor. I did make one small change, though, which was to provide a control for the number of seconds to wait:

You should try the VI on another system. Like I said, the standby and hibernate operations don't always work properly because of BIOS and ACPI interactions.


Message Edited by smercurio_fc on 05-16-2008 10:18 AM
Message 23 of 47
(1,656 Views)
Hi mathan,
could a reboot of your system, be a solution for you?
Mike
Message 24 of 47
(1,623 Views)
Dear smercurio, It's working now but.....

The monitor did not turn back on, but I don't think that's because of the system call. I suspect that has to do with the power-saving features of the monitor. You should try the VI on another system.

Yes i tried on some  5 systems and everywhere i observed that:
       For the specified time delay say some 5 seconds the vi is working fine but only the monitor didn't turn back on to the normal state. I asked my superior to check for monitor settings.
       Also if i give a delay more than 10 seconds, the suspend and resume operation happens immediately and no delay was there. why such a behaviour?
 
Thanks,
Mathan

0 Kudos
Message 25 of 47
(1,604 Views)
Dear mike,
could a reboot of your system, be a solution for you?

No mike. Specifically i need to implement suspend and resume operation. This is basically required to test my USB device.
 
Thanks,
Mathan
0 Kudos
Message 26 of 47
(1,597 Views)

Dears,

Actually i thought of simulating a key press or mouse click automatically (programmatically) after the system enters resume state.

will it be ok? how to achieve this?

[Edited: I thought this because my systems gotback to resume state without any problem but monitor only needs external disturbance to get activated]

Mathan



Message Edited by mathan on 05-19-2008 05:40 AM
0 Kudos
Message 27 of 47
(1,573 Views)

Hi mathan,

i´m not sure if this will work if the pc is in standby mode, but here is an example.
Hope it helps.

Mike



Message Edited by MikeS81 on 05-19-2008 12:43 PM
Message 28 of 47
(1,566 Views)
Dear mike,
 
Could you please post these 2 controls please.
 
user32.key_updownclick.ctl
user32.virtualkeycodes.ctl
 
Thanks,
Mathan
0 Kudos
Message 29 of 47
(1,559 Views)

Hi mathan,

yes i can, here they are. But you could use the vi´s also without them, right click on the control/constant/indicator and select "disconnect from typedef". Smiley Happy

Mike



Message Edited by MikeS81 on 05-19-2008 01:13 PM
Download All
Message 30 of 47
(1,555 Views)