Executable won't run

I have a main application calling a sub VI 'Sub Al getest2.VI" into a sub panel. When I include a 'display message to user' from the functions palette in de sub VI, the whole program runs fine in developer mode. After building an application, the sub VI opens in the main applications sub panel, but it won't run. The same if I add another custom VI to the "Sub Al getest2 VI" it also won't run after building the full application.
The fun part is: If I create a new project with the sub Al getest2.VI as the main program (and including embedded sub VI's) I can build an executable and it will run fine on it's own.
In the main application build I include all project files as 'Always included'.
Do you have a suggestion what could be wrong?
Attachments:
Sub Al getest2 runs not.vi ‏34 KB
Sub Al getest2 runs.vi ‏20 KB

Putting a VI in a subpanel is not the same thing as calling it. If you want the VI that you're going to put in the subpanel to start running after you open the reference to it, you have to tell it to run by using something like the Run VI method an asynchronous call node.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • 7.0 executable won't run on xp with new pci-gpib.

    This executable ran on previous version of windows. Automation explorer talks to gpib and instruments ok. GPIB version 2.2 installed. Executable doesn't seem to try to talk to gpib, ie. doesn't hang up.

    Hello,
    If you can talk to your instrument from Measurement and Automation Explorer then it means that the driver and hardware are installed properly. So it has to do with the application itself.
    Make sure that you are using the correct device name, because this new board might have gotten a different device number and also check the primary address.
    If you have LabVIEW installed in the computer sometimes the problem is because it was installed after the driver, so you might want to reinstall the driver.
    If you don�t have LabVIEW but only the .exe and the run time engine, then you can open NI-SPY and see if the application is trying to talk to the instrument at all.
    You can find NI-SPY in Start»Programs»National Instruments. Enable the capture a
    nd then open the LabVIEW application and run it. You should see some GPIB or VISA commands in the capture.
    Hope this helps.
    Ricardo Santa Olalla
    National Instruments.

  • Executable won't run on target PC

    Hi
    I have written an application to control a 'Data Translation' PCI data acquisition card (DT302) using LabVIEW (8.6.1). I have used Data Translations 'LVLink' VIs in the application. It works perfectly on the development PC as a VI and as an executable.
    The problem arises when I try to run the executable on a target PC. The program fails to recognize the DT302 card. I believe I have the necessary extra files/software installed:
    LabVIEW RTE (8.6.1)
    DT Open Layers for .NET Class Library
    LVLink2.dll
    Driver for DT302 card
    I know the card is installed correctly as it can be recognized by other (non Labview) programs. I think I may require an additional file or .dll but I'm not sure.
    Any help would be greatly appreciated
    Thanks
    Stuart

    Suspect this is due to a relative path call to the dlls being created by the calling VIs when you compile.
    It may be due to a version difference in the files mentioned on your PC and the ones used on the "blank PC".
    Recommend you make an installer which includes the dlls and re-installs them to the PC - it is possible that the NI calls to the dlls are modifying them or the registry.
    James
    Edit:
    Compare the Path between your LabVIEW PC and your blank one
    Also check the correct params are inserted in the path for any calls to functions external to LabVIEW, this could be causing breaks if %PATH% has not got the required files in it.
    Message Edited by James W on 05-18-2010 04:31 PM

  • Matlab script in executable won't run

    I'm having trouble with getting a VI with a MATLAB script to run reliably, specifically when built into an executable.
    I'm using LV8.0, Matlab R2006a.
    The VI (not executable) runs properly when I start the computer fresh (i.e. just after a reboot)
    The MATLAB command window opens as soon as I open the VI.
    If I build an executable and run it, it works, so long as I haven't closed LabVIEW and the VI.
    If instead, I attempt to close out LabVIEW and run the executable alone, the MATLAB command window does not start, and the MATLAB functionality is ignored.
    I have updated all of my dlls, and I have checked the box enabling the ActiveX server (though I don't know what to name the server).  I have also read all the associated Knowledge Bases, and found their solutions did not apply.
    I also have intermittent issues running the VI once I have tried running the executable.
    If I make a change to my MATLAB script, I can get the VI to run again, but if it has failed once, the MATLAB command window no longer opens when the VI is opened.
    I can solve this problem by rebooting too, but it seems like there should be a better way.
    Any ideas?

    Hi tblir,
    Can you try to run and build into an
    executable one of the shipping examples (i.e.  MATLAB Script – Fractal.vi)?  Let me know if this exemplifies the same behavior.
    Ecleamus Ricks, Jr.
    National Instruments
    Applications Engineer

  • Vi outside executable won't run - Labview 8.0

    Hello.
    I have a main program including a set of vi:s. I then have modules that hook into the program using vi:s in the main program.
    I call the module from the main program with a open vi reference + invoke node.
    #1 Main <- #2 module
    And it works great. I then build my main program to a executable and
    when I launch the executable (main) there is a popup searching for vi:s
    and then it dissapears. The module is not executed.
    I logged the error output on the open vi reference in the main program and it states: "Error 1003, could not find subvi:s".
    In application.ini i have:
    [application]
    viSearchPath="/path/path/application/*"
    Even if i remove the viSearchPath line the main vi looks for the sub
    vis, but Im not sure if its actually looking for the vi:s in my
    executable. Is there a way to check that the application is actually
    using the application.ini file? Am I doing something wrong? This is
    possible right? =)
    I'm running Labview 8.2, Linux version.
    Any help is more then appreciated.

    "Fox_Mccloud" <[email protected]> wrote in message news:[email protected]...
    Hello.
    I have a main program including a set of vi:s. I then have modules that hook into the program using vi:s in the main program.
    I call the module from the main program with a open vi reference + invoke node.
    #1 Main &lt;- #2 module
    And it works great. I then build my main program to a executable and
    when I launch the executable (main) there is a popup searching for vi:s
    and then it dissapears. The module is not executed.
    I logged the error output on the open vi reference in the main program and it states: "Error 1003, could not find subvi:s".
    In application.ini i have:
    [application]
    viSearchPath="/path/path/application/*"
    Even if i remove the viSearchPath line the main vi looks for the sub
    vis, but Im not sure if its actually looking for the vi:s in my
    executable. Is there a way to check that the application is actually
    using the application.ini file? Am I doing something wrong? This is
    possible right? =)
    I'm running Labview 8.2, Linux version.
    Any help is more then appreciated.
    Well, it's clear that the exe cannot find some subvi's used by the subvi. Some vi lib vi's are not included in the runtime (e.g. some of the picture control stuff). To be sure, you can save the sub vi as development llb, and include vi library vi's. That should include everything it needs.
    Under windows, you can start a VI with the executable. When the exe is running, you can use the command prompt to start a vi in the exe (e.g. c:\test.exe "c:\vi with missing subvis.vi"). This does almost the same as starting a vi dyamically, from the exe. A big difference is that you get a list with all the vi's that are missing in a dialog. Don't know if this works with Linux, but usually this work better...
    Another thing is when you use type defs. The exe, by default disconnects the type defs. The vi that is started doesn't. That will conflict. So untag the "disconnect from type defs and polymorphic vis" tag in the app builder (if it's in the linux builder).
    Regards,
    Wiebe.

  • Labview 8.5 executable won't run on Runtime Machines

    Created an .exe from my Labview Project TS_playback.lvproj.  I am running Labview 8.5.  Target computers have Runtime Engine 8.5.  Windows XP mostly (and 2000).  When I run the .exe I either get a quick flash of the loading vi box , or nothing at all.  If I have task manager open, I do see the exe open briefly before disappearing. 
    When creating the exe, I use my main vi as the startup vi.  
    I don't use any other files in 'Always included' 
    All subvi's and dependencies are 'Included if referenced' 
    Custom vi properties of startup vi are basically default, except - turn off run when open,  turn off allow debugging.   
    Note - the vi has locked subvi's associated with LockinPLL and LockinDemodulator.  
    The code itself is a torn down version of a much more complicated real-time version. This version is simply to post-process data, mainly for a client to fiddle with, so it is meant to function and not be pretty.  Sadly, now it only functions on our office machine.  
    Any help would be great.  
    Thanks
    Attachments:
    TS_Playback.zip ‏3064 KB

    Lokis wrote:
    Target computers have Runtime Engine 8.5. 
    There are two flavors of the runtime engine and you need the 97MB one. Could it be that you installed only the 24MB web browser version
    See this page for details.
    LabVIEW Champion . Do more with less code and in less time .

  • Mac executable file won't run on Mac

    I am trying to get a mac executable file to run on a mac. It has been authored in Captivate 5.0 PC version.
    I have tried to run it on a Mac book, about 5 years old and nothing opens at all and same on an old G4. I have had no other opportunity to test it on another mac.
    The the html/flash version plays ok in safari, but not .app or PDF. All files designed to run on PC run ok.
    I am a complete novice on mac's, but assume that opening the .app file like an .exe file on PC will launch the program.
    The package I have made is about 96 mb as a .app file and is about 80 odd slides long and also contains an number of flv files.
    I have been looking very hard to see if anyone else is has experienced the same or similar problem and have found nothing useful.
    I would assume it has nothing to do with flash player as everything that the program needs should be self contained in the executable.
    Thanks

    The G4 is running OS 10.2.3.
    I created a test Mac projector in Director then tested it on the same Mac and the .classic and .osx files ran ok.
    Do you think it is an issue with Captivate .app files not being compatible with early version of OS?, or something more fundamental with the .app files and the OS.
    I guess there is no realistic way to convert the Captivate .app file directory to a .osx file?, as there may well be occasions when the package will be used on older Mac OS systems.
    I will try and get it tested on a  later OS System.
    Many Thanks

  • PHP script won't run in the background

    Hi all
    Hope someone can help me with a weird issue I have...
    I am trying to run a php CLI script in the background and it just won't run - it has a status of Stopped SIGTOU (Trying to write output) - Here are the details
    OS
    Mac OS X Lion 10.7.2
    PHP
    PHP 5.3.6 with Suhosin-Patch (cli) (built: Sep  8 2011 19:34:00)
    Copyright (c) 1997-2011 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    I created a basic script  test.php
    <?php echo 'Hello world'.PHP_EOL; ?>
    Here are the results of various tests:-
    Test 1) php -f test.php  (Hello world gets displayed)
    Test 2) php -f test.php >test.log 2>&1 (Hello world gets put into test.log)
    Test 3) php -f test.php >test.log 2>&1 & --- I get [1]+  Stopped(SIGTTOU)        php -f test.php > test.log 2>&1 -- and the job just sits there doing nothing nothing gets logged however lsof shows the log file is open
    It has to be something to do with Apple's php build because a similar bash shell script gets executed no problems in the background...
    This has me stumped ... any ideas? What can I do to find out what is going on ...?
    TIA
    Rich

    Just realized your trying to load the php files by using the File->Open menu item in the Browser.  That won;t work.
    You have to load the php file by placing it in the Sites folder and entering http://localhost/file.php
    (or if you have user Sites enabled http://localhost/~user/file.php)
    The reason it is grayed out is that the browser doesn't run (or know of) php files. The web server runs those (via php) and the output of the file goes to the web browser.
    This page How to enable Web Sharing in OS X Mountain Lion does a pretty good job of explaining it. (as does the user tip I lonked to before)

  • Program won't run

    I am currently reading "Sam's teach yourself Java 2 in 21 days", and I followed the instructions for programming the "VolcanoApplication" (the files can be found here http://www.cadenhead.org/book/java-21-days/chapter.php/1 and are called VolcanoRobot and VolcanoApplication). I compiled the two programs, but VolcanoApplication won't run. I get an error message saying "Exception in thread "main" java.lang.NoClassDefFoundError: volcanoapplication/class"

    I copied the two files, compiled them and had no problem running VolcanoApplication. To try to narrow down your problem, do the following:
    1. Check the names of both files to make sure that they are called VolcanoApplication.java and VolcanoRobot.java. 
    Make sure there are no typos because the file name must exactly match the class name.  This includes case.
    2. Before trying to recompile, first erase the old .class files.  Go to the directory that contains the files
    and issue the command: "javac VolcanoApplication.java".  This should compile both files. 
    The javac command should complete with no errors.  Now check your directory, you should see
    VolcanoApplication.class and VolcanoRobot.class in your directory.
    3. From the same directory, issue the command "java VolcanoApplication".  Again, make sure there are no typos. 
    It should execute the program and print out some stuff.

  • My aplication won't run if debugging is not allowed

    I am using Labview 1011
    I have one application with debugging not allowed in the file settings, it won't run and I have to use task manager to stop it.
    this is only with the Application Builder. And my other applications do not have this problem. What can I look for?

    Well it might be helpful to know what you've already tried; what makes you think that the debugging setting is what is causing your issue? Does the program execute as expected in the development environment? (ie, not as an executable) Does the executable work when debugging is allowed? Just because you can't get a program to respond to the user interface doesn't explicitly mean that it isn't executing; it could be stuck in a loop. Are you using the Current VI Path constant within your program? This will return a slightly different path from the development environment than when in an executable (see the link for more detail). 
    http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363
    Providing more information should help someone to point you in the right direction.
    Tessa

  • Audigy 2 ZS Diagnostics Won't Run After Driver Upd

    Diagnostics worked fine until I updated mu Audigy 2 ZS drivers to the latest version; 02.08.0004. I'm running XP Pro SP2. Followed the Creative update instructions to the letter. Downloaded the update package to my machine. Nothing else was running when I executed the update package. Even disabled network and then my AV. Now Diagnostics gets as far as the hardware Wave test then just literally disappears. No error messages, no application or process hangs showing in task manager and no errors showing up in XP event viewer.
    Tech Support says this shouldn't indicate that anything else is effected as long as the sound works, which it does. They couldn't explain why it won't run.
    My question: is there some way to safely delete this program? Since it doesn't work anymore it's useless and just taking up space.
    Thanks in advance for any help provided.

    I had the same problem but here is the solution (at least it worked for me)
    Click on Windows Start button. Select Run. Type in Regedit and click OK to run it. Navigate to to the node "HKEY_LOCAL_MACHINE\<EM>Software\Creative Tech\Software Installed</EM>" and delete the node. Then navigate to the node "HKEY_LOCAL_MACHINE\<EM>SOFTWARE\Microsoft\Windows\CurrentVersion\Unin stall\5CDDF96A-BC34-4D72-9ABA-EFFF0C39977</EM>" and delete the node.

  • Java runtime environement won't run

    I have a Lenovo T430 Thinkpad.  I have Java (7u67) installed.  The applet will run through the browser (firefox), but JRE won't run through the command line.  I have a program that uses Java, but that program won't run because JRE won't run.  I have uninstalled and reinstalled with no luck.  I'm running Windows 7 enterprise.  Any help would be appreciated.

    ic, thanks for the clarification.
    In my classpath, I didn't include the path to java's core classes/packages (java.awt, javax.swing, etc.), how would it know?
    The above questions arise when I get an error running the jar executable. In this jar files, I included all the classes (but not the nttp and the core java packages). It complains that nttp is not found. I guess it knows where the core java classes but beside those, I need to include any other packages/classes within the jar file itself?
    H:\Documents and Settings\Tommy\Desktop\classes\Spring03\pic20b\NewsgroupSearcher>more MakeJar.bat
    jar -cvmf manifest.txt NewsgroupSearcher.jar *.class
    H:\Documents and Settings\Tommy\Desktop\classes\Spring03\pic20b\NewsgroupSearcher>MakeJar.bat
    H:\Documents and Settings\Tommy\Desktop\classes\Spring03\pic20b\NewsgroupSearcher>jar -cvmf manifest.txt NewsgroupSearcher.jar *.class
    added manifest
    adding: NewsgroupSearcher.class(in = 9331) (out= 5115)(deflated 45%)
    H:\Documents and Settings\Tommy\Desktop\classes\Spring03\pic20b\NewsgroupSearcher>java -jar NewsgroupSearcher.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: gnu/inet/nntp/StatusResponse
    thanks,
    TT

  • CAD Agent Won't Run...

    UCCX 7.x
    Windows 2k Pro
    One of our client's agent PCs won't run CAD. Installs okay, but any attempt to execute it just fizzles;  double-click the icon, no response, no error on the screen, no errors logged. User has local administration rights, all non-standard apps and anti-virus have been disabled. Local PC support is no help (they claim it's our app, so it's our problem) and I'm trying to avoid getting stuck troubleshooting a PC issue outside the scope of voice work.
    In the interim the user has the phone agent service.
    Any ideas appreciated.

    Hi,
    I think I've seen this before. The client PC was trying to reach the IPCCX server using its hostname, but the DNS was not set up correctly so it was not able to reach it at all. Did you check that?
    G.

  • CS3 installs but won't run

    Ok - not sure if this goes in this section or not.. but it's a technical question.
    My b/f bought me a Dell Laptop last week. It has the recommended minimum of everything adobe says it needs for photoshop CS3 (see below for 1721 specs)
    When I installed it on the laptop - it was slow, but said it installed. But when I go to open up Photoshop, it opens the screen - and then just hangs. After about 5 minutes it says not responding and I close it. Any of the other programs that came with won't even get that far. I click on them and it gives the little "thinking" circle (as I call it.. lol) and then nothing.
    I have read that CS3 has issues with Vista - but their site says the home premium should work. I've also read about 64 bit issues.. but the OS is 32 bit - so it's capable of running 32bit systems... I guess.
    I called adobe yesterday after installing and reinstalling CS3 15+ times... with the same issue. I was on the phone for about 2 hours with them. Basically - they have NO CLUE what it would be since it installs fine and opens with no error messages. I checked the log files and there is nothing in there I see that says any kind of error.
    I have disable windows defender, uninstalled McAfee and google desktop (all are known to cause issues with CS3), I have ALL non MS startup services turned off.. I have turned off the MS users control.. all suggested by the adobe tech.
    I have installed using the run as administrator. Nothing. Created a new admin account and installed on that user and opened on reg admin account. Nothing. (again typical things that correct cs3 install issues)
    The last thing the guy said was that it might be a video issue. I checked and there aren't any issues mentioned and no driver updates listed.
    We tryed installing this on my b/f's laptop. He bought the exact one I have (except his is red.. mine blue.. lol) and it does the EXACT same thing...
    So today we called dell. they say it's a software issue and won't answer any questions for free. Apparently only hardware support is free... But they won't accept this is a hardware conflict with the software..
    errrrr
    Anybody have any clues on this?
    =======================================
    LAPTOP SPECS:
    Inspiron 1721 Notebook: AMD Turion 64 X2 Mobile Technology TL-56 (1MB/1.8GHz) Genuine Windows Vista Home Premium
    Operating System
    Genuine Windows Vista Home Premium
    Memory
    2 GB DDR2 SDRAM 677MHz (2 DIMMs)
    Hard Disk Drive
    120 GB SATA Hard Drive (5400 RPM)
    Video
    ATI RADEON Xpress1270 HyperMemory
    Media Bay
    8X DVD +/- RW w/dbl layer write capability
    Base
    Inspiron 1721 Notebook: AMD Turion 64 X2 Mobile Technology TL-56 (1MB/1.8GHz)
    Bluetooth Wireless
    Bluetooth Wireless Card 355
    Software Upgrade
    Microsoft Works 8.5
    Premium Pack - Advanced Photo+Music: Deluxe Pack + Paint Shop Pro XI
    NoteBook Screen
    17 inch WXGA+ TrueLife Glossy Notebook Screen
    Hardware Upgrade
    No Camera
    6 Cell Primary Battery
    90W AC Adapter
    Network Interface Card
    Dell 1505 Wireless-N

    Rob - thanks for taking a stab at this.
    I have tried installing from the DVD and also from the zip file. the zip file was extracted to the hard drive brfore I ran it - and I ran it as administrator.
    And when it stalls - it gives the (NOT RESPONDING) tag on the window - which usually means that even if I leave it (and I have for up to 20 minutes) - still nothing.
    Here's the update from my dealings with DEll today...
    Dell tech support guy told me that it was a know issue that CS3 WON'T run on Vista and that Adobe is working the issue
    Told them that I knew others that were running it on Vista and it worked fine. They had no answer.
    Then I waited for the Technical support manger to call. This is after expressing my displeasure to the technical supervisor about them trying to pawn this issue off on anyone else but themselves. Why can't they go grab a 1721 off the shelf and replicate the issue and try to figure it out from there?!?!?!
    I used to work on a network helpdesk.. if I tried to pull that crap answer without trying to replicate the issue and AT LEAST try to find an answer.. I wouldn't have lasted very long at all!!!!
    The Tech manager told me to call customer support and ask for an OS swap (from vista to XP) because they don't know what the problem is and so it muct be a Vista compatibility issue
    I call customer support. They say that they no longer will give out XP since it is a step backwards. And to install XP on the machine ourselves (even a liscensed copy) would void the warranty. They suggest I talk to sales about swapping the laptop out with a "more compatible" one. Which isn't a totally bad idea since I really do think it is an AMD/ATI conflict.
    They transfer me to Sales.. ohh - you used the Employee Purchase program.. you need to talk to them.. and they transfer me.
    The EPP people tell me.. ohhhh you didn't actually go through us since you bought it off the Dell Outlet store. So they transfer me.
    The dell outlet store says they will be more than happy to swap me out to an Intel based machine.
    Only catch is the Intels are more expensive. They don't have any for the price we paid for the amd's. Fot about $40 more I can get one with a slower processer, a gig less ram, no dvd writer, but with a 160gb hd. To get compatible to mine - would be about $150 more.
    And they only have silver in the low end, and black or brown in the higher. Not that I really give a s@!t what the color is.. but it brings up the main reason I am sooo pissed abput all of this....
    Why should I have to pay more money, settle on doing without option/features want/need.. just because THEY don't want to take the time to figure out what the real issue is?!?!?! Why isn't it them doing these calls and doing all this troubleshooting.. Why am I being peanilzed for THEM not wanting to do their jobs....
    Told the B/F that I am done with Dell. That I don't want the laptop anymore and I don't want any other one from them. He says he'll pay the extra and get me the other one.. but that isn't the point....
    Not sure what my next move is.

  • How do I install the FM10 licensing fix when Adobe Update Installer won't run?

    Adobe Update Installer won't run so can't install FM10 licensing fix
    This question is Not Answered.(Mark as assumed answered)
    Aug 9, 2013 12:09 PM
           Tags (edit): none (add)  
    Because FM10 began crashing with "fatal" errors whenever I tried to generate a TOC for a small (65 page) book, I researched workarounds and none of them worked. Now that I have delivered a crippled deliverable via Acrobat manipulations, I would like to fix FM. I uninstalled it and reinstalled it, got some updates, and then received the "licensing fix" error that popped up in January. I'm wondering why this fix was included not in the updates. That said, the licensing fix package, first, would not unzip so I downloaded it again. I unzipped it but I got a message that Adobe Updater Installer could not run and after several clicks I found that file. I reinstalled Adoble Update Installer but it still does not run.
    I am running Windows XP and have TCS 3.5.I uninstalled FM and RH but not Acrobat, Captivate, or Photoshop.
    So, now what? Listen to my supervisor who says never use FM again?
    P.S. Why do I have to enter a title for my question and then do it again when this page opens??

    Give Adobe Support a call or contact the TCS team at [email protected] - something in your environment is causing the installer to fail (I'd guess).

Maybe you are looking for

  • Xfa.layout.relayout(); not working properly on two of four fields

    I have a contract that can be signed by four different departments with multiple people able to sign. I have used a text field where the signer can enter their name and have that name appear under the signature line, with their title.  I have used xf

  • Window s 8 consumer problem with hp laserjet p1005

    hello everyone today my second day with consumer preview  my printer was working will with developer preview but now i installed the software of hp full package and the printer where installed then i am trying to printing any page at give's me a side

  • How to 'start over' with music library?

    Hi, Newbie here. Brand new Ipod touch 32G, 3rd gen. Yesterday i setup my itunes account and brought in my music libary, then synced to my ipod. Now i realize I have a LOT of music in my library I don't like and don't want. I want to delete the files

  • Problem deploying plug-in archive file in 11.1.0.1.0

    Hi, I am trying to create a very simple plug-in in Grid Control. It has only one metric. I follow the steps to create the archive file, import it, and when I tried to deploy the archive, I got error message said: "At least one error has occurred. Ref

  • Inserting data from database in an applet in grid view.

    I want to get data from the database, through the server, on the applet in grid view form. i have connected the applet and the server through sockets now how to put the data in the grid...... how to get the grid view in the applet..