LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a LabVIEW application into a screensaver?

How can I turn my Labview application into a screensaver. I read an old email from Jean-Pierre Drolet from 2001, where he writes that you only need to make a application of your .VI and then change the extension from .exe to .scr, rightclick and 'install'.
When I did that I got some error msg. in the 'display properties' 'screensaver' ... %1 requires %2 ... (cant see all). Does anyone know the answer how to make it correct?

(if you want a more difficult task.....)
To make it a complete screensaver the program should should act differently according to commandline switches:
/s : enter screen saver mode
/c : enter config mode
/p : enter preview mode

How to make it?

I would be happy if someone could ans
wer my first question(that easy part).By the way im running Laview 6.1 on a win 2000 comp.
0 Kudos
Message 1 of 4
(3,900 Views)
Just made a simple VI with no menu or title bar, set the window size to always fill the screen and built it as application.scr. Installed it...everything OK. However if the RTE is located in the same directory as the application launching it returned an error saying the application could not find the neccesary resources...that might be what you see as well...(?).

On a machine with LV installed the RTE is already available so that is not a problem...Making it respond to commandline switches can be done either using the new commandline functionality of LV7 or using the commandline dll you can find here on the zone...it allows the application to capture and act on the commandlines when the application is launched.

Now you may want to add code in your application t
hat reacts to mouse actions so that the application terminates when the user moves the mouse /clicks a key etc...like other screensavers do. Use an event structure to capture such events...

Here's a general description on how to create screensavers that also applies in this case (nothing new there..but just to show that the procedure you already have is as MS says...):

http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b146907
Message 2 of 4
(3,902 Views)
Dear Sirs,

I'm using LabVIEW 7.1, and found things about commandlline parameters in the Create installer section of the Application Builder, but could you please write a little about "commandline functionality of LV7", how to use it?

If I check create installer in the Installer settings tab and press Advanced... button I can check Run executable after installation, and set some commandline parameters. is this the right place to set things?

Anything I try I get the error message written in the first post... 😞

Many thanks for your help, best regards. tzs
0 Kudos
Message 3 of 4
(3,764 Views)

I am also working on a LabVIEW screensaver.  I was having trouble finding info in the discussion forums, but I found a link on NI's website which has some examples detecting switches when you launch an application.  Hope it's helpful to someone...

 

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DCF556A4E034080020E74861&p_...

 

 

maat
LV2019
Message 4 of 4
(3,690 Views)