Run Labview exe silently

Hi all,
I want to be able to run a Labview exe silently. I am aware that you can use VI properties to hide or make the front panel transparent when the main VI runs. However, when the application runs the front panel still "flashes" before it disappears. (I guess LV loads the runtime engine etc. before it gets to the bit of the code that makes the front panel hidden.)
Is there any way to run an LV application with a hidden front panel without this flashing effect? I want to run it completely silently, without even a minimised icon.
Thanks for listening.

smercurio_fc wrote:
Cory K wrote:
One other thing you can do is edit the .ini file.
Add this HideRootWindow=True
This will take care of hiding the icon on the taskbar.
Actually, it doesn't. That just hides the initial splash screen. It doesn't hide the button for the actual build application.
Oh...
Maybe I'm confusing it with another property.
I very rarely mess with the ini files of my applications,
but I know theres a property in there somewhere that can hide the application on the taskbar.
Cory K

Similar Messages

  • How to run labview exe with command line

    I would like to launch a labview exe with a command line.
    I would like to get advice how to launch the Labview exe with giving values to the control parameters?
    You can view the example where x,y are the controls
    Solved!
    Go to Solution.
    Attachments:
    exe.png ‏65 KB

    There is a much more detailed guide here, which I reference below:
    1. First you will enable it in the settings:
    1. Open the properties for the application's build specification
    2. Navigate to the Advanced category
    3. Check the Pass all command line arguments to application box
    To pass the command line arguments to the application and access them in your code follow the same steps as for LabVIEW 7.x.
    2. Then you will use two hypens (--) to pass command line arguments to the VI. 
    When you launch LabVIEW or a stand-alone executable from the command line, you can pass user-defined arguments to the application. User-defined arguments start after two hyphens (– –) surrounded by spaces in the command line. For example, the following command line entry will launch LabVIEW 7.1 and open test.vi from the root of C:\ and pass 2 arguments, 1000 and sine:
    "C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe" "C:\test.vi" –– 1000 sine
    You can also pass a command line argument directly to an EXE without launching LabVIEW, as long as the machine has the appropriate Run-Time Engine and necessary drivers.  For example, if test.vi was built into an executable, it could be called as follows:
    "<build directory>\test.exe" –– 1000 sine
    3. Lastly, you will use a property node to wire them to your controls:
    LabVIEW passes the arguments from the command line to the block diagram of the VI or EXE you launch. You can reference the arguments in the block diagram by using the Application:Command Line Arguments selection in a property node, as shown below.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If someone helped you out, please select their post as the solution and/or give them Kudos!

  • Run labview exe in other way than runtime engine?

    Hi guys
    This might be stupid question, but can I run labview's *.exe in other way than in the runtime engine? In these days in have done *exe and installer with runtime engine and give it to the end-user. It does not matter how tiny ur code is, user have to install 40 conponents and then restart computer... How annoying. Is there eny other way? Can i use other programming languages some how?
    -AA-

    If the runtime is only one out of 40 components, it should not make a big difference for you.
    I always tell my users to download and install the runtime engine directly from NI. This needs to be done only once per PC and per runtime version, at which point you can distribute a small installer.
    There is also an idea to simplify all this. Please support it.
    (It is not reasonable to be able to build an executable with embedded runtime, that would make a LabVIEW 2009 executable 100+MB in size. (We had that back in LabVIEW 4.0, where each 20kb VI turned into a 3+MB executable, which was significant in the days of 1GB drives.)
    Message Edited by altenbach on 12-16-2009 11:42 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Running labVIEW exe containing variables shared through opc

    I have created a vi for reading from and writing to varibles in a SCADA software (Indusoft Web Studio).  But when i create an exe of this vi, and run it on a pc with only runtime engine installed, the exe runs but doesn't read & write variable in the SCADA. 
    I have ensured that the exe works properly in  the pc where the vi was developed.
    Also ensure the correct version of runtime engine is being used.
    What seems to be the problem?  Do i have to install a runtime for OPC too?  Is there an alternate way to communicate with the SCADA software.

    I have an OPC project with a bunch of shared variables in different libraries.  
    When you build the application, make sure you check the box to "Deploy Shared Variables at application execution", and include all your shared variable libraries.
    see attached screenshot
    hope this helps
    Jeff

  • Running scrpt exe silently

    Hi,
    I want to run a command (Start /S /M test.exe). If i try as below, then the console window is showing up. I want to execute the below without showing the console window. I tried using WinExec, but this is not executing the command.
    system("Start /S /M test.exe")
    Can someone please help on this.

    Basically if the "start" part is a hard requirement, then you are stuck -- start is an internal command to cmd.exe.  If you want to run it you have to run cmd (which is what the system function does).  Running cmd will get you a console
    window. 
    You might be able to hide the console window from cmd.exe by calling CreateProcess and passing "Start /S /M test.exe" as arguments to cmd.exe.  You could use the LPSTARTUPINFO in CreateProcess to request that the console window start hidden
    (I am not sure this will work, but it might).
    Keep in mind that there is nothing that start does that you cannot do yourself using the Windows APIs (after all that is what cmd.exe does when you run the start command).  Most likely start is just a call to CreateProcess with various arguments based
    on the arguments to start.

  • Run LabVIEW exe in notification tray

    How would I run a labview program in the notification tray without having a main icon open in the task bar. The program would just be placed in the startup folder and operate solely from the notification tray?
    Paul Power
    I have not lost my mind, it's backed up on a disk somewhere

    Here's another implementation that I use and like.
    http://lavag.org/topic/14060-put-your-labview-in-the-tray-once-and-for-all/
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Labview 2010 run-time engine silent install

    I am having trouble with installing the run-time engine for LabVIEW 2010 with the silent option.
    I am using the minimum version of the run-time engine.
    Before I used the LV7 run-time engine. Then I could install it silently using LVRunTimeEng.exe /qb!
    In LabVIEW 2010 the run-time engine is no longer a single file but a directory that contains the installation files. There are two files that can be used to launch the installer Setup.exe and LV2010runtime.msi.
    Setup.exe does not seem to accept any command-line arguments. LV2010runtime.msi however accepts the command-line arguments and can be installed silently.
    Now my problem is that I am building a windows installer using a third party application and it is only possible to launch exe files after the installation completes. Before I could launch the LVRunTimeEng.exe /qb! to install the labview 7 run-time engine but now when I have upgraded to labview 2010 I cannot do the same for Setup.exe.
    My question is if it is possible to use the Setup.exe file to install the Labview 2010 run-time engine (minumum) silently?

    Setup.exe runs a number of other .exe files during its execution.  This article looks like it will allow you to run setup.exe silently by supressing all messages and windows:
    http://digital.ni.com/public.nsf/allkb/878FC4C374013ADF8625733D00688F67

  • I want to run my .exe file in same time when Labview started to run

    Somebody know, how do it?

    Slonbob wrote:
    Yes, but I want run LabVIEW, then run my exe backgroung
    Right, so run a batch file instead of LabVIEW.
    Or if you must run "LabVIEW.exe" rename "LabVIEW.exe" to "LabVIEW Backup.exe" then make an EXE that just runs "LabVIEW Backup.exe" then your program and name it LabVIEW.exe.

  • Labview exe in web browser

    hi
    i want to open or run labview exe or vi on web browser by calling html page link . i created the html page of  vi  which is statup vi  of my application but this required application already in running condition, and i want to open and run vi by calling url ,so please help me  if any solution for this..........

    A url always require a running webserver/webservice.
    Check the webservice example on how to deploy it to answer to url calls.
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • How do I make a labview exe to run like a windows on-screen keyboard

    Hi,
    I am trying to run two labview exe simultaneously. Work of exe 1 is to control some hardware and work of exe 2 is to wait for user event, once user press a button in exe 2 it has to exit the exe 1 and restart it.
    Problem here is exe 1 uses the whole screen to run(1024*768), when I click any button in exe 1 the exe 2 goes backwards so I am not able to use the exe 2.
    Thanks,
    Vignesh

    Don't make them modal window...!!
    Edited: hyperlink added to the text.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • My LabVIEW exe starts to run and then stops in Windows 7

    I have built an executable in LabVIEW 2010 on a Windows XP machine and set the properties to be built for Windows 7 or later but when I try to run the exe on the Windows 7 machine the application starts up briefly and then stops running with no error message. Has anyone seen this? I have disabled the firewall on the Windows 7 machine.

    Hi Wassa,
    It's very strange that your application window opens and then slowly fades away while "LabVIEW shuts down." Can you first verify that the VI itself runs properly on the development machine? Can you then build a .EXE and ensure that it too runs properly on the development machine? If we can get the .EXE working on the development machine you have two deployment methods:
    1. If you are deploying to a computer that already has the LabVIEW Run-Time Engine and any additional drivers required for your application, then you simply need to copy the .EXE to the deployment machine
    2. If you are deploying to a fresh computer that has no NI software, you'll need to create an installer. When creating the installer, you will need to look through the 'Additional Installers' sections and select any of the additional drivers etc. that are required for your application. By default, LabVIEW only includes the Run-Time Engine. If you are missing any of the 'Additional Installers,' the application will not run properly.
    Sanjay C.
    Embedded Software Product Manager| National Instruments

  • Missing function when running a .exe labview program

    Hi
    everyone,
    I have used
    a subvi taken from the RoboIO library  ( http://www.roboard.com/labview/Labview_RoBoIOv15b.zip) to make up a program in order to run a
    .exe version of it on another computer that doesn’t have Labview (just Run Time Engine
    SP1 is installed).
    The .exe
    works fine on the Labview computer (after adding to the Build/Data directory the
    RoboIO.dll, RoboIOv15b, winIo and WInIO.dll files.). I have no conflict message
    when opening the Project explorer manager dependancies.
    When I
    launch the .exe on the second computer I get a message saying it can't find the
    function I was talking about at the beginning of my post. (running another .exe without
    this function works fine on this second computer)
    It’s the
    first time I am using a .exe on a "non-labview computer", so I must be doing something
    wrong : not creating correctly the .exe program
    Would anybody
    have an idea what could be  the problem?
    Thansk a lot,
    User

    Hi
    To deploy an application in a computer that doesn't have LabVIEW you could create an instaler than an exe.
    You can find how to create an instaler in the LabVIEW help.
    Regards,
    Nicolas M.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
    2 sessions en parallèle : Débuter a...

  • How to run the LabVIEW exe as background process?

    Dear All,
                   I want to run my LabVIEW exe as background process, which wont show as the process in the task bar as shown in the .jpeg file.
                    I want to run it as a background services as like runs in the windows processes.
                    Please suggest me something.
    Thanks,
    Nishant

    Dear Smercurio,
               Thanks for the good one, but it still requires the windows XP or later OS, when i extract the software, it gives me this error.
               Even Fire Daemon software (same one provided by Alessio in this post) is also running the same, and we even dont have to make it Automatic to start at boot up time, it automatically creates the automatic service which also runs at boot time, so not to worry about anything.
    Thanks,
    Nishant
    Message Edited by Nishant on 12-05-2006 10:12 PM
    Message Edited by Nishant on 12-05-2006 10:16 PM
    Attachments:
    rktools error.jpg ‏12 KB
    rktools error.jpg ‏12 KB
    rktools error.jpg ‏12 KB

  • GPIB in a LabView-application running as EXE-file does not work

    I try to connect an Instrument over GPIB and I use VISA from a Windows2000 PC without LabView installed. The GPIB-card is not from National Instruments. The Programm is running as EXE-application. What else do I have to install beside the EXE-file to access the Instrument?

    NI_VISA.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Loading new labview exe files from a running vi

    Hi! Me again
    I've been thinking about another way to reset my running application (some data doesn't get reset due to it being in a case structure...(see   http://forums.ni.com/ni/board/message?board.id=170&message.id=145525&requireLogin=False    for details   ).
    What I would like to do is to be able to open a simple menu labview exe file, while closing the main file.  This would enable the user to quit labview at the click of a button, or reload the main exe, freshened up , and then the menu closes.  I can get vi's to open and close but an exe file would be supurb, as it can be used from the start, without needing a run button.
    I've been fiddling with invoke method : open fp and loading a vi rather than an exe file.  I'm sure it can be done.  Bear in mind I'm a chemist, not a programmer, so some terminology may be lost on me, but examples are not

    Hi Fios,
    Why don't you just use the system exec.vi, found at All Functions >> communications >> system exec.vi
    then you just put the full path to the executable in "command line" and set "Wait until completion?" to False
    This will open your LV exe and then you can use VI server as you described in your post.
    Regards
    JamesC
    NIUK

Maybe you are looking for

  • Did you try the plugin ARC for Room auto correction ?

    Hello everybody, i know it might off topic, but i would like to know if some of you out there use the ARC Room Correction plugin from IK Multimedia, and how is reliable ? I am asking cause i always wonder about my mixes, to people they sound great to

  • Error in invoking target 'mkldflags ntcontab.o....

    OEL 5.1 Oracle Grid 11gR2 RAC install Hi, I'm trying to install grid 11gR2 RAC, everything checks fine all prereqs are met, kick of install and at 42% it errors out : Exception String: Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefi

  • Accounts payable splitting

    Hi To all! I'm encountering an error the payable account for vendor does not split... though i have assigned different cost center for my two expenses... what do you think is the error or did i miss something in my config???

  • Active content update for dw8

    Hi guys, I've just installed the active content updater found at http://www.adobe.com/support/dreamweaver/downloads_updaters.html#dw8 and reopened my html files that contain flash and agreed to the prompt. I then saved changes and uploaded the files

  • How can i update my itouch without deleting my media?

    how can i update my ipod touch on my laptop without deleting my media? everytime i try to update it, it tells me it will dete my media and i dont want it to. is there a way i can update it without deleting any media?