Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How Do I create A DLL for Labview from a CVI Driver

I have Gone to several spots on the website trying to find an answer to this but no luck.  I have a thermotron GPIB driver for a 2800 serieas controller.  It was written in CVI but I need to program this test system in LabView.  I tried to convert the Function Panel to a DLL but all of the Function calls are _VI_FUNC instead of _stdcall or _cdecl which is needed for for creating a DLL.  The Thermotron driver doesn't have a source file it is using a static .lib file. On top of that even if I could convert the file to a DLL it seems that LabView 8.0 no longer has the ability to import a DLL.  I hope I'm wrong. So what do I do?

Message Edited by gallen70 on 05-05-2006 02:11 PM

Message Edited by gallen70 on 05-05-2006 02:13 PM

0 Kudos
Message 1 of 6
(4,941 Views)
  • from the search in lv8 help
  • The CVI Function Panel Converter and the Update VXIPNP Drivers dialog box are not available in LabVIEW 8.0. Download the LabVIEW Interface Generator for LabWindows™/CVI™ Instrument Drivers tool from ni.com/idnet to obtain this functionality.
  • greetings from the Netherlands
    Message 2 of 6
    (4,931 Views)

    The tool can be found at the bottom of the following page:

    http://www.ni.com/devzone/idnet/development.htm

     

     

    0 Kudos
    Message 3 of 6
    (4,915 Views)
    Hi,

    I am quite sure that LabVIEW 8 can import DLL's and COM dlls ... The
    API I use for instrumentation ( LabTab ) is for instance completely
    integrated to it ...

    In LabView you have icons in "ActiveX" for instance and "nodes" for
    interfacing LabVIEW very easily with an activeX DLL or a regular DLL
    .... It is even more convenient, with LabVIEW than in VC++ since you
    have all the functions listed for DLL's ( I do not know how they did
    this, reading the export part probably ... ).
    This makes regular DLLs as easy to use as COM DLLs !

    Regards,

    FG

    0 Kudos
    Message 4 of 6
    (4,898 Views)

    You don't happen to work for LabTab do you? You've posted an awful lot of answers that mention it and several, like this, one are completely off topic.

     

    Message 5 of 6
    (4,896 Views)

    Good remark Dennis

    You don't have to convert to a dll, you only need the labview interface layer and that is nicely done by the conversion tool that is also free and not in french

    greetings from the Netherlands
    Message 6 of 6
    (4,887 Views)