Detect the LabVIEW Runtime Version in a LV executable?

The LabVIEW 6.0.0 runtime version will allow to run LabVIEW 6.0.2 executables, but errors do occur (e.g. setting tab sheets properties, and some database connectivity routines don't work as expected).
Is there any way to retrieve the LV runtime version by the program such that the program can be aborted when the wrong version is detected?

Thanks Brian, the 'version' property of the application indeed returns the version of the LV runtime driver whereas I expected that it would return the LabVIEW version that created the executable. Indeed, the proper runtime version needs to be installed, but if your exe runs on many different PC's, then a check for the version is preventing errors at execution time.
Regards, Peter

Similar Messages

  • How to check the AIR runtime version?

    How can I check the AIR runtime version that is currently
    installed on the machine?
    Is there a properties file stored in the "Documents and
    Settings" Folder or something like that?
    Thanks in advance!
    Maik

    There is a KB article on this:
    http://kb2.adobe.com/cps/407/kb407625.html
    This may get outdated, but as of AIR 1.5.3 the paths are:
    Mac OS X
    Open the /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Info.plist text file and locate the <key>CFBundleVersion</key>entry. The corresponding string entry represents the version of AIR, for example: <string>1.5.3.9130</string> 
    Linux
    Open the ApolloVersion text file located inside the /opt/Adobe AIR/Versions/1.0/Resources directory (for example the ApolloVersion text file would show 1.5.3.9130)  

  • Unable to determine the install root path for the LabVIEW Runtime Engine

    Hi,
    i have an issue with using a LabVIEW interop assembly in a .NET application. I get an exception "Unable to determine the install root path for the LabVIEW Runtime Engine" when calling the assembly.
    The little test program is attached below. It's called dotNETHost.exe. If you excecute the programm a dialog with an button appears. Clicking the button shall open another dialog (the LabVIEW Interop component). But the only thing I get is the exception message. The ZIP folder also contains the complete exception meassage (ExceptionMessange.jpg & ExceptionDetails.txt).
    The Interop Assembly was built with LabVIEW 2011. We use Visual Studio 2010 and .NET 4.0.. The dotNETHost.exe.config file is prepared as mentioned in Knowledge base - Loading .NET 4.0 assemblies.
    The Interop assembly contains only one simple dialog (loop is finished by clicking OK) without calling any other VIs or other DLL's.  In case of this there's also no support directory generated by the build process.
    I have no idea why it doesn' work. I hope anyone can help me.
    Thanks in advance
    Kay
    Attachments:
    Debug.zip ‏75 KB

    This may be unrelated, but Labview and .Net4.0 dont work well together. Not yet anyway. I had to compile my assembly in 3.5 to get it to work.
    Please read the following:
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/configuring_clr_version/
    http://digital.ni.com/public.nsf/allkb/32B0BA28A72AA87D8625782600737DE9
    http://digital.ni.com/public.nsf/allkb/2030D78CFB2F0ADA86257718006362A3?OpenDocument
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • What is the Java runtime version required for SAP GUI 6.20 for Windows?

    Hi All,
    I need the following information:
    1.       What is the Java Runtime version required for SAP GUI version 6.2 for Windows (Platform Windows XP)?
    2.       And is there any problem if we use Java runtime version 1.6 on PC?
    It would be great if anybody can provide the information on the above.

    To run SAP GUI for WIndows -- Java isnt a pre-requisite nor is there any dependency for the same.
    Thanks,
    GLM

  • Can you put the labview runtime engine in a vi?

    hello,
    can you put the labview runtime engine in a vi when you build an application or do you need to install it separately on each computer that is going to run a labview application?  thank you

    I found the tutorials in labview help pretty good
    Example: Building a Stand-Alone Application
    Example: Building an Installer (Windows)
    This certainly got me started working with the project explorer to build and deploy your application.
    Hope this helps
    David

  • Deploy simple Labview applications without installing the Labview runtime?

    [Labview 8.21 - Windows XP]
    Hello and a happy new year to all !
    I have coded very simple Labview applications that basically read text files (exported from Ms Excel), make some string operations, array sorting and at the end write another text file that is then imported in Ms Access. Now I would like other people from the School parents association to use this application on their own PC but ideally without having to install the Labview run-time;  for various reasons one of them being that they are not administrator of their PC, another reason being that I feel bad to ask them to install 100Mb of programs on their PC to execute my <1Mb applications. All that I can assume is that they have Excel and Access installed on their PC.
    I have read some postings on the Forum and in the Knowledge base from which I understand that the only way to use my application without the Labview runtime is to build a shared library that maybe I could then link via a VBA code from inside Excel or Access. But I cannot find any usable example on how to do that practically. And maybe it is not possible. 
    What is the easiest way to run such very simple Labview compiled applications on a PC that does not have Labview installed? Is Labview not at all built for such use?
    Thanks a lot for your help and ideas.
    Christophe

    You will need to have the runtime installed. There is a lot of other languages that also have the need for there own runtime, but they are commonly installed with the OS, so you don't realize it. Just building a dll won't solve this.
    There might be a hack possible, though. People have managed to strip down the required installation and been able to deploy the required parts of the runtime only. If you want to go this way, search on LAVA. But I'm not sure if it works with LV 8.20, and you will need to invest some time to figure out the minimum requirements. But be aware that it is a hack, so it's on your own risk.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • How can I detect the Mac OS version in JavaScript?

    I know how to detect the OS (e.g. Mac or Win) using navigator.userAgent, but I need a way to know the OSX "version" that the user is running.

    You cannot detect the Mac OS X version directly through JavaScript; you can use this information to determine whether they're using a PowerPC or Intel Mac. If a visitor is using Safari, you can estimate the Mac OS X version by getting the browser's version and then using this table to translate that.
    (19662)

  • Flash method to detect the user browser version.

    Hello, I found this property in Flash: System.capabilities.
    You can retreive some information about the user, but i did
    not find how i can detect
    what kind of browser they use to view the flash.
    example:
    trace(System.capabilities.os); // output is the current
    Operating system.. in my case "Windows XP"
    Does anyone know how to detect the browser and the version of
    it?
    Regards,
    Michea.

    I fully agree with you : it SHOULD but... it doesn't!
    Safari is the only browser with which it doesn't work...
    I tested it with IE, Netscape, Firefox and Opera.
    Do you run Safari on Mac OS X? so you could be able to test
    it...
    I put the code to get the values in the very first frame of
    the movie and it is on an "open" layer i.e. it is available from
    any frame of the movie.
    Any idea to "force" the script to work for Safari?
    For the Flash Tracer, I think the problem is Mac related...
    Anyway, thanks for your time!

  • Using the LabVIEW (PDS), version 6.0, I cannot find the "Application Builder".

    Hello,
    I use the LabVIEW Professional Development System, version 6.0. However, I cannot find the "Application Builder" in the "Tools" menu.
    How can I install this toolkit from the CD?
    Thanks.

    Hmmm... The App Builder is located in the project folder:
    project\prodisttool.llb\build application.vi
    Make sure this LLB is in your project folder. Also... have you changed the location of your "Library folder" under tools>options ? LabVIEW looks for the project folder inside your "Library folder" whose default is usually something like this on a PC:
    C:\Program Files\National Instruments\LabVIEW\
    So the App Builder should be at:
    C:\Program Files\National Instruments\LabVIEW\project\prodisttool.llb\build application.vi
    If you changed your Library Folder, LabVIEW might not be able to find it, and then you won't see it under Tools

  • Cannot find the labview runtime when creating installer

    I'm trying to create an installer and to add the labview 8.2.1 runtime.  When I build  the installer,  a window pop and ask me to find where the runtime is located. 
    I have the runtime installed on my computer,  but it doesn't seem to find it.  What can I do to solve this problem?
    Thnak you in advance

    Here they are.
    Thank you,
    Attachments:
    Error Labview1.jpg ‏52 KB
    Error Labview21.jpg ‏84 KB

  • I give up where are they hiding the LabView runtime engine downloads?

    When I deploy en EXE I find it much easier to just plug the target machine into the network and download VISA and the Runtime Engine.
    VISA is easy to find but I always end up spending 45 minutes to an hour looking around for the LV runtime download.
    It's been 45 minutes now and the closest I have come is finding the Web Browser runtime plugin.

    2012 32bit
    2012 64bit
    2012 SP1 32bit
    2012 SP1 64bit
    2011 32bit
    2011 64bit
    2011 SP1 32bit
    2011 SP1 64bit
    2010 32bit
    2010 64bit
    2010 SP1 32bit
    2010 SP1 64bit
    2009 32bit
    2009 64bit
    2009 SP1 32bit
    2009 SP1 64bit

  • How to choose a specific version and detect the same specific version?

    I've found the following link in other posts about choosing versions programmatically:
    http://java.sun.com/products/plugin/versions.html
    Well, I'm not quite sure how to use that classid for "static versioning". I mean, if I need to use 1.3.1_08 but not others (not even 1.3.1_07 or 1.3.1_09, but only 1.3.1_08), what classid should I use?
    That page doesn't teach us what syntax we're supposed to use!
    On the other hand, my webapp needs to detect what JRE is installed and would suggest what to do in case the specific version can't be found in client computer. What should I do?
    Thirdly, I've noticed that the order of installing versions is important. Let's say there're two versions in a computer, V1 and V2, while what I need is V1. Depending on V1 or V2 is the final installed one, my detection might or might not work. Someone knows what to do?
    TIA

    galo,
    willkommen zu den Apple Diskussionen.
    You don't state which version of Keynote you're using. Keynote 3 offers an option to restart the presentation after an inactivity of x min (at least 1 min).
    Look at Document inspector on the Document tab.
    In German: Klick im Informationen-Fenster auf das weiße Blatt und ggf. den Dokument-Button. Dort findest Du:
    Präsentation als Endlosschleife
    Präsentation neu starten nach Inaktivität von
    Viel Erfolg.
    If this information is useful to you, please mark it as "helpful" or "solved" using the little buttons in the titlebar of this message. Thank you.
    PowerBook G4 17", 1GB   Mac OS X (10.4.7)   iMac G5 20"; iPod 3G, iPod Shuffle, iSight

  • HT1338 I have a Callaway range finder and need a software update and they provided the following directions and have changed the Java runtime versions several times to get their exe to update.Hello Doug,  Thank you for contacting Callaway uPro Technical S

    Hello Doug,
    Thank you for contacting Callaway uPro Technical Support.
    Please follow the instructions below to sync your upro mx/mx+ with your computer and update to the latest software - 3.1.005.
    1. Ensure the upro sync software is running on your computer (you will see a black icon at the bottom right of your screen by the clock with a Callaway logo in it).
    2. Plug your device into your computer; select Sync then PC.
    3. The sync software should initialize and launch the uxplore website. If you haven't installed the upro sync software you can download it Here:http://www.callawayuxplore.com/downloads/
    4. Download this: http://media.callawaygolf.com/webupdate/callawaygolf/2012/products/accessories/u pro/upro-mx-plus/downloads/3_1_005_launch.jnlp.zip
    5. Double click "3_1_005_launch," then click the green START button
    NOTE: If you get a "Unable to launch application" error please follow the instructions below.
    1a. Navigate to "Control Panel" through the start menu located in the bottom left of your screen.
    2a. Find and uninstall any "Java" applications. After uninstalling please go back to the start menu and right click on "Computer" or "My Computer" and select "Properties". In the right half of the pop up windows it'll say the Operating system your computer is running. If it says x64 bit click: http://tinyurl.com/lhkps2rto download the correct java for your computer. If it doesn't have a number please click: http://tinyurl.com/qysyctb to download the correct Java.
    3a. Once the correct Java is installed please follow steps 1-5 listed above.
    4a. To update your Java back to 7 please click: http://java.com/en/download/index.jsp. Once on the page select "Free Java Download" to run the download (Make sure to uncheck any Mcafee or toolbar installations during the installation).
    Once the update has completed the device will restart itself. At that time you can unplug it or select Sync and PC to launch the uxplore site again to continue syncing courses.
    NOTE: Do not try to sync courses to the unit while the update is running or both processes will fail. 

    Java isn't a part of the Mac OS X anymore, so you will need to install a version of Java. However, I don't know what version of java is required for this software. You need to explain to their support that you are using a Mac and what OS you are running. Download the latest java and see if that works.

  • Detecting the JVM version using Javascript in IE

    Where can I find the neccessary code to detect the existance and version of the JRE/JVM installed on a client machine. I'm looking for something like this:
    http://java.sun.com/j2se/jre_check/index.jsp
    I'm not a Java programmer, I don't know how to compile a class file. Can someone help? Thanks.

    What you reference is a JavaServerPage served from a server. It doesn't use Javascript.
    You don't give much information; take a look at these search hits and see if anything listed is what you're after. Some of the threads include Javascript code. (But I'm not very knowledgble of its details.) If not, post back with details, maybe someone then would be able to answer.

  • Not found error message from LabVIEW runtime when called from VC++ with statically linked MFC

    I have a dll built using LabVIEW 6i. I am calling the dll from a VC++ application. When the application loads I get an error pop-up 'cannot find LabVIEW runtime'. If I change the VC++ code to dynamically load MFC (using the loadlibrary function) or dynamically load the LabVIEW dll I created then the problem goes away. Only when both are loaded statically do I get the error message.
    The target machine is running Win2K pro and has the LabVIEW runtime installed.
    I do not want do dynamic loads as I need to call the dll from a legacy application. Are there any options to change the way LV links to MFC or to force the dll to find the LV runtime?
    Alan Widmer

    Ben,
    I have attached a ZIP of the files required to test a DLL from an MFC application. Or you can build the same application by following the instructions below. I used the numtest dll that you previously sent to me so there is no 'magic' in the LabVIEW or dll.
    In VC++ select NEW. Pick the MFC AppWizard (MFC) to build an MFC application. In the wizard select
    Project Name: MFCNumtest
    Single Document
    No database support
    No Compound document support
    Support for ActiveX
    Default settings on the Features page
    MFC Standard
    MFC as a shared DLL
    From the ResourceView of the project explorer, add an item Test to the IDR_MAINFRAME menu then add an item Go as a submenu item (with an ID of ID_TEST_GO)
    Right click the new menu item and run the Class
    Wizard. Click Add Function.. button to make a function OnTestGo()
    Open MainFrm.cpp and scroll to the end of the file to see the skeleton for the OnTestGo function. In this function add a call to the LabVIEW dll. You will also need to add a reference to the .lib file and the usual extcode.h.
    When you run the app you will see a window with the Test menu item. Select it and click Go to run the call to LabVIEW.
    This all works great. If you now go to Project | Settings and on the general tab change the Microsoft Foundation Classes: item from 'Use MFC in a shared DLL' to 'Use MFC in a static library' rebuild ALL files in the project and run the app you get the error message:
    System error 998 while loading the LabVIEW Run-Time Engine (C:\Program Files\National Instruments\shared\LabVIEW Run-Time\6.0\\lvrt.dll).
    numtest requires a version 6.0 (or compatible) LabVIEW Run-Time Engine. Please contact the vendor of numtest to correct this problem.
    I apologies for my slow response, g
    ot distracted by some other issues.
    Thanks for your help,
    Alan Widmer.
    Attachments:
    mfcnumtest.zip ‏44 KB

Maybe you are looking for

  • Can't create a .war file....

    Hi, I feel a little stupid but I can't create a .war file. I'm under the folder tuto which contains WEB-INF and index.html and I write this instruction on the command line: C:\tomcat\tuto>jar -cvfM ../tuto.war Unfortunately, it's not accepted. Can yo

  • External Monitor for 233MHz iMac?

    Happy Thanksgiving to All...... Can an LCD monitor be connected with a Mac to VGA adapter?

  • Set type for product pricing

    Hi, Its urgent requierment i need set type if any for updating product price for z type condtion table. I CRM_PRODUCT_CONDITIONS check this package but i dont get any input. the bapi which i am using have no code inside for conditions COM_PROD_MATERI

  • [Solved] Xfce4 Aero Snap

    Gnome3 has it too, unfortunately it is lacking in customization. So is there anything like this for xfce4, without using keyboard shortcuts, or compiz? Last edited by *vitali* (2011-05-27 02:49:15)

  • Installed Trend Micro Titanium and now some sites look scrambled, facebook and espn, how do I fix this?

    Called Trend Micro and said it was Firefox's problem. I am sure that is bull, but can I fix this? I uninstalled Trend and was still having the problem.