LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create executable without frontpanel

Hello,
 
my question: Can I create a executable without a frontpanel because the programm must run only in the background!
 
0 Kudos
Message 1 of 8
(6,436 Views)

If I remember correctly, you must have at least one FP open to keep the run-time engine working.

However, a quick test I made shows that even if add the line HideRootWindow=True in the application's INI file and use a property node to set the Front Panel Window>>State property to be hidden, the VI will keep running, so you can try doing these two things.

As another solution, how about this [broken link removed]?

 

___________________
Try to take over the world!
Message 2 of 8
(6,427 Views)

Hi, it can be done

In your block diagram put a property node -> select class VI server ->VI. Now select properties-> front panel state ->hidden(VI attached)

now build your Executable, FP will not show up.

Hope you have worked out a logic to stop this exe, or u will have to use windows task manager! 😉

regards

Dev

 

Message 3 of 8
(6,428 Views)
I too am trying to execute a hidden vi.  I've set up an Icon in the tool tray to "retreive" the front panel.  I can get the front panel to disappear, however, there is still an item on the taskbar.  When I click on it, it does nothing, but I would still like to get rid of it.
 
Any ideas how I can remove the taskbar item?
0 Kudos
Message 4 of 8
(6,354 Views)

Yes, add the line I mentioned earlier (hiderootwindow=true) to the application's INI file under the [executable name] section.

BTW, how do you work with the system tray? Did you use the available VIs which work with the ActiveX object or did you make direct calls into the windows API?


___________________
Try to take over the world!
0 Kudos
Message 5 of 8
(6,342 Views)

I used the axs lvtrayicon service.

I tried adding that to the ini file and it seems to do nothing.

I'm using LV8.  Did the syntax change maybe?

0 Kudos
Message 6 of 8
(6,320 Views)


@atk_nut wrote:

I'm using LV8.  Did the syntax change maybe?


I wouldn't expect it too. Are you sure you place the line in the right section?

___________________
Try to take over the world!
0 Kudos
Message 7 of 8
(6,316 Views)

Here it is:

[testset server]
HideRootWindow=True
UseTaskbar=false
server.app.propertiesEnabled=True
server.ole.enabled=True
server.tcp.paranoid=True
server.tcp.servic="My Computer/VI Server"
server.vi.callsEnabled=True
server.vi.propertiesEnabled=True
WebServer.DirectoryIndex="index.htm"
WebServer.MimeTypes="htm;text/html;gif;image/gif;jpg;image/jpeg;png;image/png;txt;text/plain;html;text/html;jpeg;image/jpeg;css;text/css;llb;application/x-labview-llb;vi;application/x-labview-vi;doc;application/msword;dot;application/msword;bin;application/octet-stream;exe;application/octet-stream;rtf;application/rtf;pdf;application/pdf;ai;application/postscript;eps;application/postscript;ps;application/postscript;csh;application/x-csh;gtar;application/x-gtar;gz;application/x-gz;sh;application/x-sh;tar;application/x-tar;zip;application/zip;hqx;application/mac-binhex40;ua;audio/basic;wav;audio/wav;tif;image/tiff;tiff;image/tiff;xbm;image/x-xbitmap;rtx;text/richtext;qt;video/quicktime;mov;video/quicktime;avi;video/x-msvideo;movie;video/x-sgi-movie;aif;audio/aif;aifc;audio/aif;aiff;audio/aif;aim;application/x-aim;dif;video/x-dv;div;video/x-dv;js;application/x-javascript;pntg;image/x-macpaint;xlb;application/vnd.ms-excel;xls;application/vnd.ms-excel;ppa;application/vnd.ms-powerpoint;ppt;application/vnd.ms-powerpoint;pps;application/vnd.ms-powerpoint;pot;application/vnd.ms-powerpoint;pwz;application/vnd.ms-powerpoint;mid;audio/mid;midi;audio/mid;enc;video/mpeg;m1v;video/mpeg;mp2;video/mpeg;mpa;video/mpeg;mpe;video/mpeg;mpeg;video/mpeg;mpg;video/mpeg;psd;image/x-photoshop;bmp;image/bmp;pic;image/pic;ra;audio/vnd.rn-realaudio;rf;image/vnd.rf-realflash;rm;application/vnd.rn-realmedia;rp;image/vnd.rn-realpix;ram;audio/x-pn-realaudio;rmm;audio/x-pn-realaudio;rnx;application/vnd.rn-realplayer;rt;text/vnd.rn-realtext;rv;video/vnd.rn-realvideo;smi;application/smil;ssm;application/streamingmedia;sithqx;application/mac-binhex40;sit;application/x-stuffit"
WebServer.RootPath=D:\labview\LabVIEW 8.0\www
WebServer.TcpAccess="c+*"
WebServer.ViAccess="+*"
DebugServerEnabled=False
DebugServerWaitOnLaunch=True

I tried putting at the bottom also, and I've tried all combinations of the vi front panel settings.  (Allowing user to minimize etc...)

It does work exactly like I want it to in development mode.

0 Kudos
Message 8 of 8
(6,311 Views)