Problème téléchargement Dll de CVi 2009 vers OS Pharlap

Bonjour,
J'ai deux application qui doivent tourner sur la cible PXI sous l'OS temps réel Pharlap. La
première fait l'acquisition de signaux logiques et analogiques via les cartes présentes
sur le châssis PXI. Le téléchargement de cette Dll vers la cible sous Pharlap fonctionne
correctement et l'application embarquée interagit bien avec l'hote.
La seconde application fait l'acquisition de signaux logiques et analogiques et
l'acquisition de trames CAN via des Dll développées en Labview/FPGA.
C'est lors du téléchargement de cette Dll avec des fonctions CAN qu'il y a un problème.
Le téléchargement s'arrête et demande une Dll qui s'appelle "Version.dll".
Je n'est trouvé nulpart la trace de Version.dll
Merci pour vos réponses
JGO

Bonjour,
Je ne suis pas sur qu'une DLL créée avec LabVIEW puisse être executée sur LabVIEW RT... à voir.
Pour cela je vous invite à vérfier que votre DLL est exécutable sur un système RT en regardant le lien suivant :
How Can I Verify that My DLL is Executable in LabVIEW Real-Time?
Version.dll fait partie de l'API Windows pour avoir des informations sur les versions de fichiers de DLLs ou d'exécutables, mais il est probable que ces fonctions ne soient pas implémentées dans le système RT de LabVIEW type Pharlap ou VxWorks.
Cordialement,
Da Helmut

Similar Messages

  • How to create a DLL in CVI which can be used in MFC?

    I want to create a DLL in CVI and use the DLL in MFC. But even if I tried
    many ways, I cannot reach the objective. There are always link errors. Could
    you give me some instructions about it?

    I once made a DLL that I could call from Excel, and I noticed the LabWindows
    DLL would call the runtime DLL (CVIRT.DLL). So maybe you must add the
    runtime lib in some way to your MFC project?
    Hans D. Jensen
    "Bo Bai" wrote in message
    news:[email protected]..
    >
    > I want to create a DLL in CVI and use the DLL in MFC. But even if I tried
    > many ways, I cannot reach the objective. There are always link errors.
    Could
    > you give me some instructions about it?

  • Run-time DLL in CVI 8.0

    I never work bevore with DLL but I want to learn it. So I create without big problems a program with a static DLL in LabWindowCVI 8.0
    Now I want understand the handling of dynamic DLLs. I read this (http://digital.ni.com/public.nsf/websearch/8AE57BD​A995ACCB486256AEA0062B3C6?OpenDocument) article and build my own program like the example but it does not work and show many errors. I have only changed myFunction and MYDLL.DLL with my own names. CVI seems not understand the instructions.
    It could be that I understand the instruction wrong. I do not realy understand the wxample code. Can you help my and explain it esay?
    Solved!
    Go to Solution.

    Hi Susay,
    As a first step, you need to include the stdio and windows headers to get access to the Windows SDK functions that you will need for the dynamic DLL call:
    First you load your dll - Make sure that you pass a correct file path to the LoadLibrary function.
    Then you find the function in the dll by calling GetProcAddress and passing the function name you would like to call.
    Then you can call the function by using the typedef'd function pointer. (You would have to define one for each function to call)
    You should start by using an example, which you can find here: Calling a DLL in CVI: Explicit Linking vs. Implicit Linking (Dynamic vs. Static)
    The example is explained on this page: Calling a DLL in CVI (Tutorial). These pages also contain links that may help you decide which linking method to use.
    Don't hesitate to ask if other questions arise. Good luck!
    Peter
    Peter A.
    Field Sales Engineer, NI Germany

  • Is it possible to make .dll file of .vi project then load it to CVI and use the APIs in the dll to CVI project

    Is it possible to make .dll file of .vi project then load it to CVI and use the APIs in the dll to CVI project?

    Hi Kumar,
    It is possible to make .dll from Labview and i think we can call the same from other programming application also.
    Pls refer the
    below link
    http://zone.ni.com/devzone/cda/tut/p/id/4038
    GAnesan KAni

  • Problème téléchargement Indesign et Illustrator

    Hello,
    I subscribe to Creative Cloud to 61 € per month. I could download all the software of the following EXCEPT Adobe Illustrator and Indesign.
    The download application tells me an error and asks me to contact customer service. What I do with this email before calling Monday morning.
    Thank you for your help
    Regards
    Serge Lieutier

    Hello,
    Thank you for the advice, but I always get the creative cloud screen attached.
    I downloaded new creative cloud, but the problem is the same.
    sincerely
    Serge
    Le 30 août 2013 à 21:54, Romsinha <[email protected]> a écrit :
    Re: Problème téléchargement Indesign et Illustrator
    created by Romsinha in Downloading, Installing, Setting Up - View the full discussion
    Hi,
    Please try downloading the software from the direct link: http://prodesigntools.com/adobe-cc-direct-download-links.html .
    Kindly follow the very important instructions before download.
    Regards,
    Romit Sinha
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5641374#5641374
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5641374#5641374
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5641374#5641374. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to use CVI 2009 with CVI 2012 installed

    I have TestStand 2012 / CVI 2012 installed. 
    I need to also test using teststand 4.2.1 / CVI 2009.
    I installed teststand 4.2.1 / CVI 2009 and can activate teststand 4.2.1 but I cannot access CVI 2009. 
    Is there any way to have CVI2009/2012 both available on the same computer? 
    Is there a way to compile CVI 2012 to work with TestStand 4.2.1?

    Hi HMRJ,
    You can have multiple versions of CVI installed on the same computer. Can you explain in detail what you mean when you say that you cannot access CVI 2009? Do you mean that you can't open it or can't activate it?
    I am not sure I understand what you mean by compiling CVI 2012 to work with TestStand 4.2.1. You should be able to create a DLL from CVI 2012 and call this code module from TestStand. Are you receiving any errors when you try to do this?
    Regards,
    Anjelica W.
    National Instruments
    Applications Engineer

  • CVI 2009 + NIDAQMX ?

    Bonjour,
    J'ai installé une version d'essai CVI 2009 et lors de la compilation d'un ancien projet (historiquement sous 8.0) j'ai des problème de link sur la bibliothèque NI-DAQMX ...
    Cela vient-il d'un problème de compatibilité avec mon ancien NI-DAQ ? Si oui quelle version dois-je utiliser avec CVI 2009 ?
    Merci d'avance 
    Résolu !
    Accéder à la solution.

    Bonjour,
    J'ai besoin de quelques informations supplémentaires pour vous aider. Quelle version de NI-DAQ, NI-DAQmx utilisez-vous ? Sur quel OS êtes-vous? Quelles sont les problèmes de link que vous avez rencontré, pouvez-vous copier les messages d'erreurs ?
    Avez-vous encore la version 8.0 de CVI installé en même temps sur le pc ? Si oui, ce document peut vous aider :
    Installing DAQ Support for Multiple Versions of LabWindows/CVI
    Cordialement,
    Charlotte F. | CLAD
    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;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...

  • LabWindows CVI 2009 9.1.0 - Build 64-bit Apps?

    I have LabWindows/CVI 2009 (version 9.1.0 427).  Can I build my apps as 64-bit apps?  Do I need a service pack upgrade to do this?  Or do I need to upgrade to a higher version of LCVI?
    Thanks

    LabWindows/CVI 2009 introduced the ability to create and distribute 64-bit executables, DLLs, and static libraries, see e.g. here

  • LabWindows/CVI 2009 Run-Time Engine update

    I wanted to let everyone know that NI has released an udpated CVI 2009 Run-Time Engine. Information on what bug(s) this update fixes can be found here. If you are currently not using the CVI 2009 Run-Time Engine, you do not need to install this update.
    This is an updated installation of the CVI Run-Time Engine, not a patch. If you download and install this update it will upgrade whichever version of the CVI Run-Time Engine you currently have to version 9.1.0.428 (CVI 2009 released with version 9.1.0.427). One way to find out which version of the CVI Run-Time Engine you have installed is to view the version number of c:\windows\system32\cvirte.dll. If you install version 9.1.0.428, any installer distributions that you create from any version of the CVI ADE will include version 9.1.0.428.
    If you have not yet installed LabWindows/CVI 2009, it's recommended that you install this update, either before or after you install CVI 2009.
    Luis

    To be clear, the original problem that you reported ("Attempt to free pointer to memory not allocated by malloc() or calloc()") might very have been the problem that this patch fixed, which was in fact new to 2009. But that problem only happens if there were actual plots in the graph.
    However, after looking at the "dynamic memory is corrupt" isse some more, it turns out that it is actually expected behavior, believe it or not. This is a limitation of easytab controls, caused by how they use callback chaining in their implementation. Whenever a panel or a control has its callback chained, you cannot change the callback, or make a copy of it after the chaining takes place. This is described in the EasyTab_ConvertFromCanvas function help ("...For the same reasons, do not call DuplicatePanel or DuplicateCtrl on any of these panels or controls after the Easy Tab control has been created.").
    As you probably have read elsewhere, easytab controls are quite obsolete. They were a stopgap "solution" to the problem of there not being a native tab control in the CVI user interface library. Native tab controls were finally added in CVI 8.0, and so we recommend that, if possible, users update their code to use these instead.
    Luis

  • LabWindows CVI 2009 Word_Rpt routines: Document is corrupted: Error reported: The MSWORD.OLB file cannot be opened.?

    Using WordRpt support routines with a C application in LabWindows CVI 2009 to format Word files, an error sometimes occurs resulting in the document format being corrupted.  An error  is generated: The MSWORD.OLB file cannot be opened.  I don't know why or how to correct this problem.
    Any help you can provide would be appreciated!

    Hi LPR1,
    Do you have an application that reproduces this.  If so, do you mind posting it?
    Regards,
    Hassan Atassi
    NI Community Project Engineer

  • Can't open .prj files CVI 2009

    Running CVI 2009 and everything had been running fine for weeks.  Shut down test program that was running.  Installed my license device and went to my .prj file to open it up in debug mode.  When I double clicked on it, Windows says it can't find the file, even though it is sitting right there in explorer, it will not open it.  Tried several other .prj files and it does the same thing.  Tried opening CVI by itself and then loading the .prj file, but the splash screen comes up and then it never does anything else.  Rebooted several times (running XP SP3), then finally tried to do a repair of the CVI install.  This didn't help and it did the same thing.  Then deleted everything and did a fresh install...it still says it can't find the .prj file.  It seems like something has gotten corrupted in my Windows install maybe??  Probably going to try and re-image the machine, but trying to figure out what happened.  Anyone seen anything like this ever before???
    Thanks for any info...
    EDGE

    Hi EDGE,
    I haven't run into a similar error in the past but keep us posted on if reimaging the machine resolves the issue.
    Best Regards,
    Swathi B

  • CVI 2009 Very slow installation of distribution kits

    I'm having an issue with distribution kits built with CVI 2009 taking a long time to install on some PCs.  In the installer, the progress bars will both be completely full, with the top one displaying "Overall Progress" "Currently Installing [application name].  Part 1 of 1."  The bottom bar displays nothing.  During this time, there is usually a few instances of msiexec.exe sucking up considerable CPU time according to Task Manager, and the disk does not appear busy.  If I wait several minutes (sometimes 10 minutes or more), it will eventually move on, with the next step displaying "Validating Install..." on the bottom progress bar.  This only happens on some PCs, other ones install in a reasonable amount of time (less than a minute).  Once the installation is complete, everything appears to have worked and the installed software runs fine.  The only pattern I've noticed that the PCs that show this problem tend to be older models.  One is a P4 3.2Ghz desktop with 1.5GB of ram, and the other is a Core Duo (not sure about speed at the moment) Dell laptop with 2GB of ram.  Both are running Windows XP SP3.  
    Any insight into this would be appreciated, as some of the PCs that show this are ones used for testing software packages and often having things installed onto them.  Thanks.

    Hi tstanley,
    I was wondering what you were running distribution kits from - hard drive, CD, network or USB stick?
    Charlie Rodway
    Test Design Engineer
    Rolls-Royce Controls and Data Services Ltd

  • Timer( ) resolution in CVI 2009 SP1

    In the CVI 2009 SP1 Contents Help for Timer() function I find
    The resolution is normally 1 microsecond. However, if you set the useDefaultTimer configuration option to True, the resolution is 55 milliseconds.
    But if you click on the useDefaultTimer hyperlink, a new page is opened, where you can read that the resolution is 1 millisecond if you set useDefaultTimer to False.
    Which is the right resolution?
    I wrote my application considering 1 microsecond, but I found strange problems, and I think it is 1 ms.
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

    Hi vix,
    Thanks for bringing those documentation problems to our attention.
    1. There does seem to be a problem with a lot of the function prototypes in the .chm help in the CVI 2009 SP1 and 2010 versions, where an extra asterisk seems to have been added to a number of output parameters. We'll fix this and post a corrected version of the affected .chm files as soon as possible. In all these cases, the parameter data type as it appears in the Parameters section of the help topic is correct, as is the prototype in the corresponding function panel.
    2. Concerning the timer resolution issues, the async timer resolution is in fact 1 millisecond, as confirmed by the GetAsyncTimerResolution function. But note that asynchronous timers are a library in and of themselves, and are not covered by what is discussed in the documentation of the Timer() function or the useDefaultTimer option.
    The resolution of the Timer() function should be 1 microsecond, as of CVI 9.0 and later. The function documentation is correct. When that change was made, however, the documentation of the useDefaultTimer option was incorrectly not updated. It should say that "the performance counter timer provides a resolution of 1 microsecond".
    You mentioned that you didn't think that the resolution of the Timer() function was 1 microsecond. If you run the following code, what do you see?
    int     i;
    double  time[10];
    for (i = 0; i < 10; i++)
        time[i] = Timer();
    for (i = 0; i < 10; i++)
        DebugPrintf ("timer = %f\n", time[i]);

  • SqlToolkit Problem with CVI 2009 and Windows7

    Hello,
    I'm using the test version of CVI 2009 and have a problem with the sql toolkit which works fine under CVI 8.5.
    DBNewConnection()  returns always -100 and the error message is NULL.
    Did you have any ideas what causes this problem and how it can be solved?
    Thanks in advance
    Inomed1

    Hello Inomed1
    have you tried to reinstall the SQL Toolkit?  I found some cases in the past where this has been helpful. 
    For further investigation it would be interesing witch DBMS is used?
    Regards
    Moritz M. 

  • Unable to use external compiler support in CVI 2009 with VC++ 2005

    The compiler gives me this error message:
    cvisupp.lib(setprec.obj) : fatal error LNK1103: debugging information corrupt; recompile module
    Solved!
    Go to Solution.

    Well, I do call InitCVIRTE  in my main, but it doesn't find it in cvisupp.lib, it finds _InitCVIRTEEx@12   this way:
    00404808      _InitCVIRTE@4                                    initcls.obj
    00404818      _InitCVIRTEEx@12                              initcls.obj
    004048FC      _CloseCVIRTE@0                                initcls.obj
    The identifier  cvisupp.lib is no where in the map of my project.
    I do see this library in the NI folders on the PC however.
    I think we may be crossed up here in what we're doing - I am building the application from the LabWindows 2009 framework in release mode using the VCPP 2005 compiler as an external compiler ... are you building from Visual Studio or from CVI 2009?
    Menchar

Maybe you are looking for