Application développée sur Labwindows 2009 (9.1.0) fonctionne sur Windows XP et pas sur Windows 7

Bonjour à tous,
J'ai développé une application sur Windows CVI 2009 (9.1.0) qui fonctionne sur Windows XP parfaitement, qui s'installe et se lance sur cet OS mais qui ne fonctionne pas sur Windows 7 32.
Le fonctionnement est le suivant, avec le kit d'installation créé sur Windows XP (mon PC de développement), l'application s'installe. Par contre, une fois que l'on veut l'exécuter, rien ne se passe.... Pas de lancement de l'UIR, pourtant présente sur le PC. De plus, l'application est lancée car elle apparait dans la liste des processus et consomme de la mémoire.
J'ai déjà fait cette démarche pour des petites application de test très simple (1 seul panel) et tout marchait parfaitement, l'UIR se lançait bien.
Merci d'avance si vous avez une idée du problème ou simplement une piste de réflexion...
Bonne journée!
PS: Message déjà posté dans la section Labwindows du forum, je le reposte au sein de la communauté française de NI
Résolu !
Accéder à la solution.

Mais que fait la police, non la dll?? As-tu tenté Exécuter l'exe en tant qu'Administrateur sous win7? clic droit Exécuter en tant qu'Administrateur?
Luc Desruelle | Voir mon profil | LabVIEW Code & blog
Co-auteur livre LabVIEW : Programmation et applications
CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

Similar Messages

  • Applicatio​n développée sur Labwindows 2009 (9.1.0) fonctionne sur Windows XP et pas sur Windows 7

    Bonjour à tous,
    J'ai développé une application sur Windows CVI 2009 (9.1.0) qui fonctionne sur Windows XP parfaitement, qui s'installe et se lance sur cet OS mais qui ne fonctionne pas sur Windows 7 32.
    Le fonctionnement est le suivant, avec le kit d'installation créé sur Windows XP (mon PC de développement), l'application s'installe. Par contre, une fois que l'on veut l'exécuter, rien ne se passe.... Pas de lancement de l'UIR, pourtant présente sur le PC. De plus, l'application est lancée car elle apparait dans la liste des processus et consomme de la mémoire.
    J'ai déjà fait cette démarche pour des petites application de test très simple (1 seul panel) et tout marchait parfaitement, l'UIR se lançait bien.
    Merci d'avance si vous avez une idée du problème ou simplement une piste de réflexion...
    Bonne journée!

    Mais que fait la police, non la dll?? As-tu tenté Exécuter l'exe en tant qu'Administrateur sous win7? clic droit Exécuter en tant qu'Administrateur?
    Luc Desruelle | Voir mon profil | LabVIEW Code & blog
    Co-auteur livre LabVIEW : Programmation et applications
    CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
    CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

  • Default cell values for column not properly saved in uir file in labwindows 2009 (9.1.0 427)?

    I've run into a strange problem with the table control.  Basically, even though I set default cell values for a particular column as numeric, when I try to add items to the list it tries to add them as strings, and returns an error message that it is expecting *char instead of int.  Furthermore, when I open the uir file that contains the table in question in 2010, it appears as if the default cell values for that column are still set as strings, even though in 2009 when I open the uir file it shows as numbers.  I tried converting the uir to C code, and sure enough the C code indicated that the column still is a string type.
    I've gone ahead and made a small project to show the issue.  If you open this project in labwindows 2009 and click on the table in the table_bug.uir, and edit default cell values for column 1, you will see that the cell settings have type as numeric and data type as int.  When you run the project, however, it will fail with an error message saying that it is looking for a *char.  When this same project is loaded into labwindows 2010, clicking on the table in table_bug.uir and edit default cell values (column 1) shows the type as string.  When I change this to numeric (and change numeric attribute to int), this runs fine in 2010.  I tried simply changing the uir in 2010, and then using it in 2009, but 2009 complains that the uir is from a newer version (understandable).  If there is any workaround that would let me continue to use 2009 for the time that would be great.
    Any help would be greatly appreciated.
    thanks,
    Alex Corwin
    Solved!
    Go to Solution.
    Attachments:
    table_bug.zip ‏324 KB

    I opened the UIR in 2009 (but I have 2009 SP1) and it still showed that the default value for the first column was a string. I didn't have any problems changing it to a numeric int, and then building and running the project without error.
    Here are a few things you can try:
    1) Change the default value to a string. OK out of the dialog, re-enter the dialog, and change it back to Numeric int. Resave and see if the problem has gone away.
    2) You said you get a ".UIR is from a newer version" error when opening the 2010 UIR in 2009. Does the UIR still open if you click okay? Often times this will work just fine. Assuming you don't have any problems with this, make a minor change to the UIR in 2009, such as moving the table to the left, and then back to the right and then re-save. See if your program works now.
    Kevin B.
    National Instruments

  • NIReport_Print LabWindows 2009 vs 2010

    I have code complied under LabWindows 2009 that is working, but when I complie it under LabWindows 2010 it stops working.
    I am trying to create pdfs using Adobe Distiller, functions like PrintPanel and PrintTextBuffer work in both 2009 and 2010.  However,
    NIReport_Print only works in 2009, if I try to print to Adobe.  It works printing to a real printer.
    I have attached the code the works and doesn't work.
    /* print report to the default real printer - THIS WORKS */
      if(!iLocalFail)
       iLocalFail = Report_ErrorHandler(NIReport_Print(iReportHandle, NULL, 1), "Report Print");
    /* set printer to adobe pdf to create pdfs */
      iLocalFail = SetPrintAttribute(ATTR_PRINTER_NAME, "Adobe PDF");
      if(iLocalFail < 0)
       printf("SetPrintAttribute was %d\n%s\n", iLocalFail, GetUILErrorString(iLocalFail));
    /* create the key for the buffer test */  
      if(!iLocalFail)
         sprintf(caFilenameWithPathInfo, "%sBuffer_%s.pdf", TEST_DIRECTORY, caMyTime);
        iLocalFail = RegWriteString(REGKEY_HKCU, ADOBE_KEY, ADOBE_NAME, (unsigned char * ) caFilenameWithPathInfo);
        if(iLocalFail < 0)
          sprintf(caMessage, "RegWriteString Failed.\n, Error was %d.\n%s\n", iLocalFail, GetGeneralErrorString(iLocalFail));
          MessagePopup("RegWriteString", caMessage);
          iLocalFail = TRUE;
        else
         printf("Printing Buffer\n");
    /*THIS WORKS */
    /* read a dummy file to get data into a buffer and then print to the adobe printer */
      iFileHandle = OpenFile("c:\\mfgtests\\pdf_tester\\globals.h", VAL_READ_ONLY, VAL_OPEN_AS_IS, VAL_ASCII);
      if(iFileHandle > 0)
        ReadFile(iFileHandle, caBuffer, 50000);
        PrintTextBuffer(caBuffer, "");     /* "" for printer becasue of SetPrintAttribute */
    /* create the key for the panel test */  
      if(!iLocalFail)
        sprintf(caFilenameWithPathInfo, "%sPanel_%s.pdf", TEST_DIRECTORY, caMyTime);
        iLocalFail = RegWriteString(REGKEY_HKCU, ADOBE_KEY, ADOBE_NAME, (unsigned char * ) caFilenameWithPathInfo);
        if(iLocalFail < 0)
          sprintf(caMessage, "RegWriteString Failed.\n, Error was %d.\n%s\n", iLocalFail, GetGeneralErrorString(iLocalFail));
          MessagePopup("RegWriteString", caMessage);
          iLocalFail = TRUE;
        else
         printf("Printing %s\n", caFilenameWithPathInfo);
    /* THIS WORKS */
    /* print the panel, NULL for printer because of SetPrintAttribute */
      iLocalFail = PrintPanel(ghMainPanel, NULL, 1, VAL_FULL_PANEL, 0);
      if(iLocalFail < 0)
        sprintf(caMessage, "Error was %d.\n%s\n", iLocalFail, GetUILErrorString(iLocalFail));
        MessagePopup("Print Panel Failed", caMessage);
    /* create the key for the report test */  
      if(!iLocalFail)
        sprintf(caFilenameWithPathInfo, "%sReport_%s.pdf", TEST_DIRECTORY, caMyTime);
        iLocalFail = RegWriteString(REGKEY_HKCU, ADOBE_KEY, ADOBE_NAME, (unsigned char * ) caFilenameWithPathInfo);
        if(iLocalFail < 0)
          sprintf(caMessage, "RegWriteString Failed.\n, Error was %d.\n%s\n", iLocalFail, GetGeneralErrorString(iLocalFail));
          MessagePopup("RegWriteString", caMessage);
          iLocalFail = TRUE;
        else
         printf("Report Handle %d Printing %s\n", iReportHandle, caFilenameWithPathInfo);
    /* THIS DOESN'T WORK */  
    /* print the report, NULL for printer because of SetPrintAttribute */
      if(!iLocalFail)
       iLocalFail = Report_ErrorHandler(NIReport_Print(iReportHandle, NULL, 1), "Report Print");
      printf("Done\n");
      NIReport_Discard(iReportHandle);
    Solved!
    Go to Solution.

    Hi Paul,
    Are you receiving any specific errors? Could you post a screen shot of it if you are getting one? That would help us understand what is happening a little better. Thanks.
    Regards,
    Perry S.
    Applications Engineer
    National Instruments

  • Sur l'application iPhoto 8.2.1 pour Mac OS X 10.6.8, je n'arrive pas à activer la fonction "Diaporama". Merci pour votre aide

    Sur l'application iPhoto 8.2.1 pour Mac OS X 10.6.8, je n'arrive pas à activer la fonction "Diaporama". Merci pour votre aide

    Google translation:
    On iPhoto 8.2.1 for Mac OS X 10.6.8, I can not activate the "Slideshow" function. Thank you for your help
    As a test launch iPhoto with the Option key held down and create a new, test library.  Import some photos and test to see if the same problem persists. Does it?
    OT

  • J'ai acheté une application avec mon compte sur le mac d'un ami, comment je peux la mettre sur mon mac sans l'acheter de nouveau?

    J'ai acheté une application avec mon compte sur le mac d'un ami, comment je peux la mettre sur mon mac sans l'acheter de nouveau?

    I catch an app with my account with my friend's macbook . How can I put it on my mac without rebuying it

  • Comment appliquer un catalogue L3 sur un plusieurs disques?

    Bonjour
    Je débute avec L3 : j'ai créé un catalogue depuis un disque dur
    Question 1
    J'ai  importé de photos depuis un autre disque
    J'ai appliqué des mots clef sur toutes les photos
    Lorsque je veux publier une sélection de photos via les mots-clef, j'ai un message "photos absente"
    Question 2
    Par sécurité j'ai copié les photos  sur un disque amovible.
    Comment appliquer le catalogue existant sur le disque de sauvegarde?
    Est-ce que je ne risque pas de rencontrer le mm problème de "photo absente" comme dans ma question 1?
    Merci d'avance pour votre aide
    Cdt
    Philippe

    Bonjour!
    Est-ce sur PC ou Mac?
    1) ou sont les photos, maintenant, exactement? Quel est la méthode d'importation? est-ce bien depuis LR?
    Un clic droit permet de redonner le bon chemin. (le nom des disques durs(HD) peuvent changer facilement sous windows, parfois, leur attribuer un nom est utile.
    2)Le but est de sauvegarder le catalogue aussi, ou faire en sorte que le catalogue fonctionne aussi sur le HD externe? Pour la deuxième solution, clic droit sur le point d'interrogation, et reconnecter.

  • Comment mettre une application d'un pc sur un iphone ?

    comment mettre une application d'un pc sur un iphone ?

    Bonjour,
    Quelle version de LabVIEW tu utilises ?
    SI tu as une version récente, et que tu as la palette Silver (ou argent en français), tu peux partir d'un de ces boutons qui possèdent une image dessus. Tu suis la procédure proposée par Kaleck0 mais au lieu de remplacer le bouton en lui-même, tu le fait sur l'image utilisée dans le bouton silver.
    Tu devrais obtenir le résultat souhaité, c'est à dire une image qui est comprise dans le bouton mais qui n'est pas le bouton.
    Par contre, je ne crois pas qu'on puisse avoir une image différente en fonction de l'état du bouton.
    .mesLeft{float:left} .mesInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898} .mesLogo{float:right;opacity:0.18} .mesLogo:hover{opacity:0.9}
    Maxime R.  
      CLD - Certified LabVIEW Developer / Développeur LabVIEW Certifié  
      CLAD - Certified LabVIEW Associate Developer   

  • Est ce qu'il faut acheter deux fois une application pour l'utiliser sur l'ipad et sur le mac?

    Est ce qu'il faut acheter deux fois une application pour l'utiliser sur l'ipad et sur un mac?

    An iPad application will not run on a "mac" and a "mac" program/application will not run on an iPad. Different operating systems therefor different programming requirements. You would have to find an application that runs for example on your iPad then find a similar or the same application written for your "mac".

  • Oracle Application server Forms and Report services 10.1.2.0.2 on Windows 2

    Hi,
    I am installing the Oracle Application server Forms and Report services 10.1.2.0.2 on Windows 2003 R2, but the problem is that setup is not running on this Windows 2003 R2 version.
    Any idea about this why it is not running.
    Regards,
    Iftikhar

    You asked this
    How can i find what is the latest version that i can upgrade this install to
    I told you where to find the last update, I checked that version yesterday, the last update is 10.1.2.3, my misstake was to put a 0 before the 3.
    You can go to Patches & update>Quick Links to: Latest Patchsets, Mini Packs and Maintenance Packs>Oracle Fussion Middle Ware> Look for you OS versión and CPU> No clic just put pointer over the links and you will see the last one.
    And finaly could look for the CPU of Jul and Apr that as requirement they ask for version 10.1.2.3 (as I say I checked yesterday)
    Greetings.

  • Hi, I'm trying to download applications, but after I enter my ID password it's giving me window - cannot open iTunes? Please could you help me with the solution

    Hi, I'm trying to download applications, but after I enter my ID password it's giving me window - cannot open iTunes? Please could you help me with the solution

    What did you have to do? I am having the same window come up and I read all of the support trouble shooting. Still won't work.
    I need help please.

  • Hi I have delevolped a windows application using selenium , i need to know does MAC os support my windows app?

    Hi I have delevolped a windows application using selenium , i need to know does MAC os support my windows app?

    Not using OS 7, 8 or 9. Some later Macs running versions of OS X can run Windows applications using 3rd party emulation software. Most current Macs allow the instation of Windows.
    What version of Windows does your app run on?
     Cheers, Tom

  • Convert labwindows 2009 to 8.5

    Is it possible to convert a program written in LabWindows CVI 2009 to LabWindows 8.5?  If so how would I go about coverting this file?
    Thanks

    Hi, this problem needs to be handled in two different areas: converting UIRs and portinog code back to 8.5.
    As per UIR files, files written in CVI2009 cannot be opened in 8.5 natively: you will need to convert them so that they can be opened. This is possible only if you have not used any feature not present in CVI8.5. With an UIR file opened, go to Files >> Save as... and look into Save As field if you can switch back to 8.5. I hope you can but I cannot be sure since I have not installed 2009 yet. This is the very first thing to do since if you cannot convert the UIR porting the code has little interest.
    If there isn't a direct option from 2009 to 8.5 you could try installing CVI9 evaluation version and execute the conversion in two steps: from 2009 to CVI9 and from this to 8.5.
    In any case, examine the converted UIR files in 8.5 before uninstalling CVI2009 as some controls can result in different aspect and settings when converted (in some cases controls not present in the older versions are simply ignored when saving: this is the case for TAB control passed from version 8.5 to 7.1 where it doesn't exist).
    The next step is to port the code back to 8.5. You should have no problem in directly compiling the source in the old environment, provided you have not used any of the feature CVI2009 or CVI9 introduced in the IDE. This table should help you in finding if there can be any incompatibilities.
    If you happen to use any additional software like DAQmx or others, be sure it is installed in the older version as well as CVI2009: this can be a problem if you are planning to install 8.5 after installing 2009 on the same machine, as several packages install in the newer release found in the system, not considering previous versions. If this is your case put a note here as in some case it is possible to port the relevant files from the newer to the older release of CVI without running the installation program.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Dans Fenêtre de l'application, si je clique sur une application elle ne s'affiche pas en plein écran !

    Bjr,
    Quand j'active le coin actif "fenêtre de l'application", il y a plusieurs fenêtres et si je clique sur l'une d'elles, elle ne s'affiche pas en plein écran...

    Qu'appelez-vous le coin actif "fenêtre de l'application" ? Et de quelle(s) application(s) s'agit-il ?

  • Why do i keep receiving bills of application purchase which im sure i never bought? I never share ID to ANYONE. Please help, this is so stressing.

    I almost receive email of application pirchase thrice a week. Im sure i spdidnt purchase anything, how do i stop it? Please help, so stressing.

    Yes, every time you dowbnload something from the store, free or paid, Apple will send you an invoice for it to your email. It will also be added to your Purchase history for reference.
    If you have a credit card associated with your Apple ID, I would also check that no charges have been made.
    If you are just getting random invoices, I would double check the address they are coming from, and also that they are indeed real invoices.

Maybe you are looking for

  • Can't update from Acrobat 9.3.0 to 9.3.2

    I installed Acrobat 9.3.0 from my Adobe Creative Suite CS5 disk set and now I need help updating to 9.3.2, the most recent version. I've pasted the error messages and what I tried below. I'd appreciate it if anyone can tell me what I need to do diffe

  • ERROR - 16016 - FOR FORM CREATED ON A VIEW AND USING INSTEAD OF TRIGGER

    I have created a form based on a view. The view has instead of Trigger on it. When I try to update the form I get the following error: Error: An unexpected error occurred: ORA-22816: unsupported feature with RETURNING clause (WWV-16016) Can anyone te

  • SSL image cache

    Hi, I have made an jsf web app using ssl.Now i'm testing the app on a real server and i have seen that my content loads much faster then the images.They are several small icons and table corners around 4 Kilo. Is any way to cache the images in the br

  • Location of downloaded packages

    Hi all, I just installed opensolaris and, although I only had time to take a quick glance at it, i have to say I am very impressed. Now I am getting ready to "move" it from VirtualBox to my laptop. I'd like to avoid downloading NetBeans again, so I w

  • How to open pages documents in icloud on macbook air

    I have pages on my IPhone, IPad and new MacBook Air.  I have confirmed that my Pages documents are all in iCloud.  However, I dont know how to find them from the Pages app on my MacBook Air.  Any help?