LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I disable the screen protector? Como desactivar el salvapantallas.

Hello Group,

I have working a acquisition and alarms program but I don't want to burn the
screen to always have the same image.
So that this doesn't happen, I have activated the screen protector.

How I can make to leave the screen protector?

When an event is generated, I want to disable the screen protector but I am
not find anything.

To notify the warning to the operator I have tried to make sound the
internal buzzer of the PC
with beep.vi (I don't have sound card and speakers) but in the modern pc's
it doesn't sound the internal speaker.

Some idea ? Tnx in advance. Umberto.
0 Kudos
Message 1 of 3
(3,044 Views)
Regarding disabling the screensaver, try the example in the following link:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000078160000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=disable+screensaver&USEARCHCONTEXT_QUESTION_S=0

Set the SS to false when the event occurs.

Regarding Beeping, see the following:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000BD0F0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=beep&USEARCHCONTEXT_QUESTION_S=0


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 2 of 3
(3,044 Views)
Umberto,

Recomiendo que uses una funcion del Windows SDK que se llama "SetCursPos". Esta funcion cambia la posicion del raton programaticamente, y puedes usarla para desactivar el protector de pantallas cuando una alarma o evento sea generado por el movimiento del raton.

Puedes ver un ejemplo de como usar esta funcion aqui:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=126&HOID=50650000000800000005B80000&HFROM=ViewAnswers&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

Translation:
Use the Windows SDK function "SetCursPos" to programatically move the mouse cursor when an alarm or event is generated. The movement of the mouse will deactivate the screensaver.

The link above contains an example of how to use this function.

Regards,
Erin
0 Kudos
Message 3 of 3
(3,044 Views)