Does a stand-alone EXE built with Labview 8.2 return a return code?

My application is an executable that was built from a VI in Labview 8.2. I'm expecting a return code of this stand-alone executable after the execution, however couldn't find a way to control the return code of the application.
Does a stand-alone executable built with Labview 8.2 return a return code? If yes, how is this code controllable?

Hi Tdot!
Thank you for contacting National Instruments.  It looks like your question is something that many others have run into.  This topic is discussed here, and looks to be answered along with a couple of suggestions.  I hope this helps!  Let me know if there is anything else I can clarify.  Have a great day!
Jason W.
National Instruments
Applications Engineer

Similar Messages

  • Stray Blob with Dual Monitors and a Stand Alone exe

    Hi,
    When I run any stand alone exe that I make on a dual monitor system (XP Media Center) I get a blob (see attachment) that is stuck in the middle of the primary monitor.  I tried a very simple app and a complicated one.  Clicking on this blob will make my app run in the foreground and if my app is in the foreground then the blob will show up in front of everything else except for my app.
    I'm using LabVIEW 8.01.
    Thanks,
    Albert
    Attachments:
    Blob1.GIF ‏8 KB

    Have you tried a CO2 fire extinguisher on it? (reference to the movie "The Blob")
    Message Edited by AnalogKid2DigitalMan on 09-19-2006 01:35 PM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    Attachments:
    200px-The_Blob_poster.jpg ‏16 KB

  • Build stand alone (exe),help?

    hi i want to make build stand alone (exe) but i cant do that, can you tell me where i can found some example
    to make it (explain with images)?
    tanx

    smercurio_fc wrote:
    Reading the manual might be worth trying as well. You keep asking VERY basic questions which can be answered by just looking in the Help, which NI spent a great deal of time making, or doing a simple search. Your question has been asked many times before, all with the same answer.
    Come on Smercurio, that is too much work!  It would really be easier for him if you would just fly to wherever Marp lives, sit next to him, and handhold him through programming for the rest of his LabVIEW career.
    Marp,
    Take the tutorials. How to Learn LV
    Pay for taking some LabVIEW courses that NI offers.
    and RTFM!

  • Is it possible to view VIs remotely on windows 7 if VI was built with LabView 8.2?

    So I know i'm probably dealing with software compatibility issues here, BUT, I wanted to make sure every option was exhausted before considering the idea of upgrades.  
    Im using LabView full development system 8.2 on windows XP 32bit os.  Currently, I run into no issues when controling or building VIs on my computer.  Problems do occur when trying to control VIs on a remote computer with windows 7. That computer has run-time 8.2.1 installed on it.  For the most part it works best to just view the VIs, and not interact or control too much.  More specifically, the VI will freeze once interacting with a control that is intended to pop up a two button dialogue box.  I'm sure there are a lot more issues with using run-time 8.2.1 on a windows 7 computer; that one in particular is just the only one i've experienced.  
    In all efforts to avoid what could eventually be an unavoidable situation where an upgrade is necessary, is there a way to remotely control (on windows 7) a VI front panel that was built with labview 8.2?

    Thank you for the response.  Just to preface, I am fairly new to LabView so pardon my potentially "stupid" questions.  Here's my process in a nut shell:  VI programs are created on our server computer and then published for web with the "web publishing tool...".  The html page created is then put on a main page with all other created VIs and are then viewed on other computers that are part of the network via ip address.  
    I was under the impression the LabView run-time engine enabled remote computers to view and control these VIs.  Could be wrong?  After downloading and installing run-time 8.2.1 (since vi's were created with labview 8.2), those computers are able to enter the ip address and navigate to the main page to control the web published vi's.  The issue is with the computer that has windows 7.  I know run-time 8.2.1 isn't necessarily compatible with windows 7, but it does seem to run the vi on a pretty minimal level.  I run into problems on that computer when hitting particular controls that are wired to be more complex than just a simple boolean.
    Just to provide a visual, I attached an image of one of the scenarios where it will freeze up on the windows 7 computer.  This is how the VI should normally function; however, before the dialogue box even pops up after clicking a valve control, it freezes.  
    I didn't even consider VNC or Remote Desktop up to this point.  Thank you for that idea.  I'll definitely look into that as an alternative.

  • Application crashes when calling DLL built with LabVIEW 2011

    Hello everybody,
    Our application calls DLLs built with LabVIEW 2010 SP1. We installed LabVIEW 2011 and built some DLLs. So far so good. If we start our application and run 2010 DLLs it still works fine. If we run a 2011 DLL just once no error happens, but if we try to run the same 2011 DLL our application crashes reporting the error below. I saved the code for 2010 version and built a DLL and it works fine. Does anyone know why?
    Thank you in advance.
    #Date: Fr, 16. Sep 2011 16:25:25
    #OSName: Microsoft Windows XP Service Pack 3
    #OSVers: 5.1
    #OSBuild: 2600
    #AppName: PasTA
    #Version: 11.0f2 32-bit
    #AppKind: AppLib
    #LabVIEW Base Address: 0x30000000
    16.09.2011 16:25:26.181
    Crash 0x0: Crash caught by NIER
    File Unknown(0) : Crash: Crash caught by NIER
    minidump id: 8a779b3f-51d7-4864-8e4d-6ab0195cd158
    ExceptionCode: 0xC0000005
    N
    0x3072C804 - lvrt <unknown> + 0
    0x3072CBB8 - lvrt <unknown> + 0
    0x7C864191 - KERNEL32 <unknown> + 0
    0x7C83AB50 - KERNEL32 <unknown> + 0
    0x00000000 - PasTA <unknown> + 0
    Attachments:
    error.PNG ‏11 KB

    On that note, you should be able to create DLLs in 2010 and run them with 2011, correct??  In my case, I have a 2010 built DLL (talking to sbRIO), most of the functions work when run in 2011, but a couple of them lock up LabVIEW on the desktop (but not the sbRIO), no lock ups happen with 2010 on the desktop.

  • To invoke an application exe built using Labview from python.

    I am trying to invoke an application exe built using Labview from python.
    I am able to invoke labview vi, send and receive data. But if I change the vi to exe, it doesn’t work.

    This is more of Python. I can suggest you another way, if you can do those changes to your existing code.
    This is what I do: If I have to communicate between 2 different platforms I use "File" as a communication medium (Simple method). So if you want to pass data to the LabVIEW code from python, write the data to the file from Python and read the data in LabVIEW and vice versa. I generally use *.ini files for this purpose.
    The best solution is the one you find it by yourself

  • Program ended with error or warning, return code: F

    Friends, During client export i am facing below mention error, Pl suggest asap
    Client export from 06.04.2011 18:00:44
    System ID............................ PPT
    R/3 Release.......................... 700
       Basis Support Package...............SAPKB70018
    Host................................. pptest
    Start in background............. .....X
    User................................. SUPER
    Parameter
    Source client........................ 500
    Source client user masters............500
    Copier profile:.......................SAP_ALL
    Table selection
    Command file......................... PPTKT00008
    Customizing data .....................X
    With application data................ X
    Initialize and recreate......... X
    Change documents are not copied
    Transport control program tp ended with error code 0012
    Error exporting request PPTKT00008 23:40:31
    Program ended with error or warning, return code: F
    Runtime (seconds)         :         20,390
    End of processing: 23:40:33

    There could be three things possibly causing this error:
    1. There is some database issues, that is the connection to the database maybe is lost that's why TP ends.
    2. The TP return Code can also arise due to issues at the OS level, where SAP is installed.
    3. Due to permission issues also this can creep in. By permission issues I mean there are not enough permissions, please use trace ST01 and run the process again.
    Also please paste the Imort Log, as it can help in further analysis and with that please give your database and OS informations.

  • How to run stand alone executables developed with different versions of LabView on the same system

    I am using LabVIEW 8.2 to develop a stand alone executable for a target system.  The target system already has a stand alone executable written by another vendor, using LabVIEW 7.1.  I installed the LV RunTime Engine for 8.2 which left the 7.1 engine intact (as it should).  The problem I am now having is that the drivers installed on the target system are incompatible with the NI-DMM vi's that I am using.  My concern is that if I replace the old drivers with the ones I am using on my development platform I may end up breaking the old software.  What would be an appropriate work around to ensure that the target system will be able to run both executables?  (FWIW the system will NOT be running both executables concurrently.)
    The target system is an embedded PXI card cage, running Windows XP, with a NI PXI-4070 DMM (among other instruments, however I have had not had this issue with the NI-DAQmx drivers).

    Hi Yerffejj,
    Thanks for sharing your issue with the community. I am struggling to see what you mean by "break the software." If you only have the two executables and LV Run-Time versions 8.2 & 7.1, then you just need to go to http://www.ni.com/support/ » Drivers and Updates » Search within Results: » enter "NI-DMM" » GO to get the DMM driver you need. To see the driver you were using on the development machine, just go to Measurement & Automation Explorer (MAX). The DMM driver should also automatically install DAQmx, NI-VISA, and NI-IVI, fyi.
    Best wishes to you, and please let us know if that does not solve your problem.
    Regards,
    Dan Richards
    Dan Richards
    Certified LabVIEW Developer

  • Stand alone exe errors using report generation vi's

    I have a stand alone application that uses some report generation vi's. I have added the _wordsub.llb as a support file. In the main program I have told the report generations vi's where to find the _wordsub.llb so it can load the dynamic vi's as needed. The problem is when I run the stand-alone executable I get an open refernce error for one of the dynamic vi's that says that vi is not executable. But when I reconfigure the executable and include that vi as a dymaically loaded vi in addition to the _wordsub.llb, the stand alone works error free. Any suggestions?

    It really depends on what version of office you are using. Some methods have different set of parameters or even different names, labview does not adjust them accordingly, even though the code might execute but it will fail during build process. You must reselect the methods manually in order to build the executable. Most time you need to build different executables for each office version.
    -Joe

  • Creating Properties and Methods for an exe built in LabVIEW

    Hi all,
    How do we create properties and methods for an executable built in LabVIEW.
    I know when building an exe, the "Enable ActiveX server" option in advanced has to be enabled.
    But after that how do we create Properties and methods for the activeX component.
    Your help is greatly appreciated.
    Regards,
    Muthuraman S
    Regards,
    Muthuraman

    You cannot build your own COM specific properties and methods for the ActiveX interface in LabVIEW, the only thing exposed are the normal VI server properties and methods.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Stand-Alone exe not seeing my VISA instruments

    Hello, I am attempting to build a standalone installer application from my VI using LV 7.1 on a Win 2k machine. I have gone through the build application wizard making sure to enable hardware configuration checkbox and select the desired VISA TCP/IP instruments from the list. I am able to build the application without errors and install the stand-alone app on a new PC without LV installed. When I try and run the app, I do not see my TCP resources.
    I have tried to install the NI-VISA runtime ver 4 with no success.
    Now, when I was installing the app on the new PC, I did recieve an error saying that MAX wasnt avalible. So is there a way to get MAX without installing Labview? Is there someplace on NI's website that allows you to download just the MAX. I would think that the whole purpose of building a standalone application is to NOT have to install labview and therefore MAX.
    So what am I missing here? Any help would be great.

    I have done some additional digging and here are my results. On my front panel I have a VISA Resource Combo box that selects which instrument I want to use over ethernet (they are both Agilent RF sources). In the visaconf.ini file on my development PC, I see that the aliases for my instruments TCPIP0::xxx.xxx.xxx.xxx::instr0::INSTR are present. There is also a TCPIP-RSRCS section in the config file with more info relating to the TCPIP0 instrument.
    On my target PC with only my stand-alone application installed (and no LV), my visaconf.ini file doesnt say a thing about TCPIP0. There is no TCPIP-RSRCS section in the file either. This probably explains why I am not seeing my Agilent instruments in the standalone application.
    I do have the MAX configuration file (.nce) but I see no obviously way to load this file into my stand-alone application. I think I bundled it with the installer, but I am really stuck.
    Any thoughts???
    Attachments:
    Labview MAX error.jpg ‏21 KB

  • Is mp3 licensing required for stand alone apps created with Flash Builder?

    I've been writing some interactive educational software in ActionScript that utilizes Adobe AIR and plays mp3 files to communicate/instruct the user.   I was wondering if I would need to pay mp3 licensing fees based on what I found at mp3licensing.com
    I wrote to the folks at mplicensing.com and got the following question in reply:
    Will the software itself include mp3 decode (playback) capability, or will it be using the decoder provided in Android.  If the software doesn’t include mp3 code itself, but simply includes mp3 files for playback by the hardware device mp3 code, than you would need our content distribution license, not our electronic gaming license.
    If this is true, then it may be that no license is needed at all, since we exempt from the need for our license any entity with mp3 revenues below USD $100,000 per year.
    I responded:
    I am writing this software in ActionScript using Adobe Flash Builder to create a stand alone application that will be bundled with Adobe AIR and use Adobe AIR to run.  AIR supports Android, iOS, PC desktops, and Macs. 
    they replied:
    I am not sure if AIR will play .mp3 files. If it does, and your code does not have mp3 encode or decode functionality, and AIR is simply used to play the content, and your revenues do not exceed USD $100,000 per year, our license is not required.
    My question now is:   Does Adobe AIR use the decoder provided in Android or does it have it's own decoding code?   Are we subject to the licensing fees for games, etc when distributing programs that play MP3 files using Adobe AIR?
    Thanks,
    Robert

    That site helps a little bit, but not totally.  My existing server is Windows 2003 with 5 CALs included, and it works, though not because I understand the head-spinning details of Microsoft licensing.  For example, I have no idea if I am actually
    using the CALs, since the only thing ever done on that server (aside from web, email, and FTP) is me logging in by RDP to administer it.
    I never considered 2008 Web edition because I might want to install something like the Access GUI, and the Web edition seems to forbid that.  It was not clear if you could install third-party ftp server or mail server also.  Web edition was a mysterious
    product and is not my reference point.
    It would be nice if Essentials could run a web server, since it's cheaper and simpler in terms of licensing.  But nowhere is that stated yea or nay.
    If I buy 2012 standard, do I need to spring for 5 CALs also?  I need to administer by RDP, and have the other server drop backups onto the disk of the new one.

  • Error building stand alone applicatio​n, with LV.7.01

    Hi to all....
    I always get this pop up error (see picture attached) when trying to build a Stand alone application. I got the full version of Labview 7.01 and the Application builder also. the runtime engine is also 7.01.
    Regards
    HFZ.
    HFZ
    Solved!
    Go to Solution.
    Attachments:
    Error Building App.JPG ‏51 KB

    Hi GardW
    All comm. problem are handeled.
    The problem was based on the destinations for the .VI's.
    Labview 7.1 isn't so got to manage these. It's something the user got to be carefully about.
    Allmost solved. But now can't get the default 'labview Icon' to my finnished Application.  You know... when you make a stand alone application..
    then somewhere under the building process... you can choose if you want your own Icon added as the application starter icon! If you don't  choose any.. Labview makes the Labview Icon as your application starter Icon.
    And that is my problem now. Any ideas???
    Thanks for trying to help , i appriceate it !!
    Regards HFZ
    HFZ

  • Is it possible to create a vi-file in an .exe file with labview 6.1i? and how to create it?

    Hello,
    I want to create a vi-file into an exe-file but don't know how to do it with labview 6.1i.
    Maybe somebody here can give me hints to do it!
    thank you very much!

    To build EXEs you need the application builder. To see if you have it, open the tools menu. If you have an option named "Build application or shared library", you're OK. Just open it and you can set up your app there. To run this application, a computer would have to have the LV run-time engine, which can be downloaded from the NI site. For the first time you deploy the app, you should use the app builder to create an installer, which will install the run-time engine as well as your app.
    If you don't have it you can purchase it seperately from NI.Message Edited by tst on 03-17-2005 10:42 AM
    Try to take over the world!

  • InCopy is it stand-alone, or madatory with InDesign ?

    Hi,
    a simple question, i didn't found any answer about it : do i need Adobe InDesign to use Adobe InCopy ? Or is InCopy a stand alone software, which can be used lonely ?
    Thanks for your answers, and sorry for my english writing, i think it's not so good l'd hope ...
    Olivier.

    Very fast and good answer ! Perfect, thanks very much.
    Olivier.

Maybe you are looking for

  • Will Time machine automatically back up an external hard drive connected to my iMac?

    I have a Lacie external firewire hard disc connected to my iMac, containing Aperture library. Will Time Machine automatically back up both the external disc and the iMac HD? Adrian

  • Queues in READY status

    Dear All, This question has been posted many times but never saw a conclusive answer on this forum. To repeat, all settings of scheduler being fine (SMQS - Type R), there are large number of queues awaiting to be manually unlocked from READY status t

  • Connecting AsanteTalk bridge to a switch or hub

    I'm 99% sure this will work fine, but I'm hoping someone will confirm the remaining 1%. At present my AsanteTalk Ethernet to Localtalk bridge is connected directly to my Airport Extreme Base Station's LAN port. There's nothing else on its LAN port. A

  • Newbie Installation Troubles

    Hi all, Im trying to get JSTL to work with my setup but I'm hitting a few troubles. Can anyone see if they can help. Here's a little of my setup: JDK - 1.5 IDE - Eclipse 3.1 with Web Tools Project v0.7 Milestone MD 5 JSTL - Apache Taglibs Standard 1.

  • List in organizer of thumbnails without name?

    Can the Organizer give me a liist of all pictures without a name?  I can see the option to get list of lots of other categories but not the name.  Did I miss it? Thanks in advance