Do i have to use .h files to call .dll files?

Dear,
Now i want to use labview to control an instrument. And the instrument company give their dll files.
When i use tools---> import---->share library,labview tells me import .h file,but their are many .h files,you know you can just choose only one head files in labview at the same time.So should i write a new .h file to concluding this head files and every thing will be ok?it is complicated.
I use another method to call .dll and it is CIF.But i also encounter new problem.When i invoke the node .dll,and then choose the functions,i find that the functions are void.Does It meanthat i can not input my parameter,and get output?
So what' the problems?
Thanks.

To call a dll in LV, you have to use the Call Library Fuction node in your BD. Then dbl-click it to open the Configuration dialog. In that, you have to browse to the appropriate folder in teh Function tab & select the dll you want to call. Then select the function from the list populated down to it. Then go to the Parameters tab & select/assign the parameters for that function. This will do the job.
- Partha
LabVIEW - Wires that catch bugs!

Similar Messages

  • Despite my best efforts, I am unable to remove iTunes 11.1.4 from my PC, this being made necessary because the original installation had a flaw and did not load properly. Effor to use the control panel, deleting dll. files, etc. all failed. iTune out??

    Despite my best efforts, I am unable to remove iTunes 11.1.4 from my PC, this being made necessary because the original installation had a flaw and did not load properly. Effor to use the control panel, deleting dll. files, etc. all failed. And, of course, on startup, a window opens with the error and tells me find QTMovie.dll and delete it because this may be the source of the hangup. Also, in trying to delete iTunes, I get the additional message that I must get approval from the System Administrator to take this action. I am the System Administrator.
    Any ideas would be welcomed.
    Thank you.
    James
    <E-mail Edited by Host>

    Thank you for asking this question.  I'm having the same issues. 
    Liz

  • How can I get a Mac to run a LabVIEW VI that was created for Windows? (it calls DLL files)

    This is for a spectrometer. A motor controller is connected by serial and a lock-in amplifier is connected through GPIB. I have a Windows version of the VIs I need to get it all running, but I need to get it running on a Mac. The program was written in LabVIEW 6.0.1 and I have both version of 6.1. Is there a type of file that Mac uses that are similar to DLLs? Is this even possible? Any advice is greatly appreciated.

    > Thanks for your help. The supplier of the VIs hasn't made a Mac
    > version. Is there a way I can find what the information is that is
    > being passed? and use a static library to pass the information to the
    > Mac? I'm very interested in hearing the 'not necessarily easy' answer
    > if you would share it. ([email protected])
    >
    You can open the VIs on a PC or Mac and double click on the DLL node.
    It will show you the parameter info, the function name, path to the DLL,
    etc.
    If you have the source code to the DLL, then make it on the mac using
    the Metrowerks CodeWarrior compiler. If you don't have the source, then
    you need to either shift to using diagram nodes exclusively or come up
    with some other way of replacing the DLL.
    For the details on compiling a DLL, you should look at your manual that
    came with CodeWarrior and look at the CIN Manual or search online for
    something ...
    Greg McKaskle

  • Calling dll file to control a third party board from PC Control.

    Hi there,
    I have this hawkeye stepper motor control board from PC control company. 
    It comes with a software written by the company  which is in DLL format. I would like to call the DLL file in labview and be able to do further programming on it using labview platform to control the motor board. 
    The reason that I need to call this DLL file is because labView does not recognise the control board when connected to it. 
     I would really be grateful if anyone who has purchased the same motor control board from PC control company before and successfully using labview to control it could share the code and driver with me. 
    Many thanks.
    XI CAN LIU

    Hello,
    I'm not using that vendor products so I can't help you directly with your issue.
    Nevertheless, you can find several documents on this site explaining how to use DLLs in LabVIEW: I point you to three of them, but yu can find more with apropriare searches.
    Can LabVIEW C? - Example 3: Using the Right Tools with LabVIEW a whitepaper on using external DLs in LabVIEW
    Calling External Code From LabVIEW link useful documents on how to call different external codes in LabVIEW
    Using Existing C Code or a DLL in LabVIEW a tutorial which explainh how to use DLLs
    I must also warn you that this is not the proper forum board where to post LabVIEW-related questions: this board is dedicated to LabWindows/CVI users, while there is a specific board for LabVIEW users where I suggest you to post further questions.
    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?

  • We have always used custom excel and other PDF files how do we build an app for ipad

    apart from the "mac" what else do I need as I only want 1 license of the resulting app and as it is an inhouse app paying a developer and getting volume license is too expensive.  Or is all extras in the dev pack issued by Apple

    it is only for myself to use in the business on a day to day basis
    The app is to collect 5-6 types of data that currently we have to write down each time we do certain processes with work
    current example new page new day so 300+ sheets per year with 1-3 lines of writing on
    initials of employee - product made - added ingredients batch numbers 4-5 columns - total made
    this type of capture should be ideal for ipad with scroll or number input and each day new form saves the planet as well
    our only issue is we have all custom programs and equipment based round XP pro systems and cannot go to touchscreen windows 8 with any of our old custom software hence going to custom app as keyboards are not possible in our industry due to hygiene issues unless stainless and silicon coated at $700 each

  • I use lightroom 5. Have always used the general automatic backup. I want to backup my catalog to an external backup drive.  I go to file,, then export catalog and I get message that about 900 pictures will be exported. I have about 38000 pictures with key

    I am out of space on my desktop. I want to export my catalog to an external drive and then work off that external drive which has more storage. I have about 38000 pix, which have keywords etc that I want to be part of this export so I can work on groups of pictures, when necessary.
    When I go to files, export catalog I get a message that about 1000 pics will be in the catalog to be exported. How might I get all the pics with keywords metadata and other vital info exported?

    With due respect, you appear to have a fundamental lack of knowledge on how LR works.  The "pic" files are not in the catalogs.  They are separate.
    The catalog has NOTHING in it but the adjustments you've made.  There are no "pics" in it at all.  The 38,000 photos exist separately.  So Exporting your catalog to another drive will do nothing to fix the crowded "desktop".  It only would move the list of adjustment to another location.
    The reason that it Exports a catalog with only 1000 "pics" is because that is what you have somehow selected.  If you want to export a catalog for all the "pics", select all of them.  But, that won't make room on your "desktop".  You need to move the "pics".
    To make room on your "desktop", you need to move the "pic" files themselves, not the catalog.  To do that may require an understanding of computer file structure.  In terms of how Lightroom ties your adjustments (recorded in the catalogs) you will have to use Lightroom itself to move the files.  You do that within the Library module and, to do it right, will require an understanding of operating system standard file structures.
    To keep the adjustments (recorded in the catalogs) connected with the "pics" you need to plug in the external HDD, and WITHIN LIGHTROOM, create a files structure on the external HDD you are happy with.  Then, you can copy, cut and past or drag and drop from you "desktop" to the new file structure.  If you do it within LR, your adjustments will remain intact. 
    It may be tempting to use your operating system programs, like Windows Explorer or the Mac equivalent to move the files, but that will fix the "desktop" space problem but you will loose all of you keywords, adjustments or whatever.
    It is probably rude and impolite, but it amazes me that people trust their cherished photography to a program such as Lightroom without ever doing the homework to understand the underlying principles of operation. 
    Good luck!  This can be terribly confusing.

  • VS 2013 - SQL Server Projects - Can I Change defaults for SQL Servers to use and the paths to DB-files?

    Hi all,
    when a create a SQL Server Project using "File > New ...", I find the following settings defaulted:
    SQL Server is (local)\Version12.0 and
    DefaultDataPath, DefaultFileprefix and the DefaultFilename(s) for MDFs and LDFs point to the Project directory.
    Initial settings of file size and increments are also not settable but defaulted.
    Because my projects have to verify performance by testing with large volume of data, we have to use a different SQL Server with files stored on that Server. The Project settings have a button to changes DB properties, but these are not part of that
    dialog.
    So I spent some fruitless hours in vain to find a way to change the project's connection to my development SQL Servers.
    How to cope with that?
    Thanks in advance.
    Regards Uwe

    Hi Caillen,
    thanks for Your response. I have to apologize for being a little late with my answer. I'll try to clarify my case more precisely:
    This is surely a topic related to VS2013 handling new "SQL Server Database Projects". When one clicks "OK" the following steps are executed by VS2013 (surely controlled by standard templates or the like):
    VS2013 creates the new project in a selectable directory and uses the projectname as a subdirectory whre the directory elements (*.sqlproj, bin\, obj\) where  later all the *.sql are placed, too. This is normal and expected.
    VS2013 creates a new database with its DB-files
    and attaches it to "(localdb)\ProjectsV12". The name of the database is the name of the project. The path to the DB-files (*.mdf and ldf) and their sizes are also defaulted to small values. The DB-server and the
    path to the DB-files is taken from the registry (!) HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\SSDT\LocalDbDatabaseFilePaths. I don't know when and by what tools these values are set.
    The path to DB-Files is typically also the path to the projects. The (local)-server places all system database files in the User\<user-ID>\Appdata\.. tree. Which is OK for small databases. The templates extracts some data from the DB-file path and
    places it in the deployment SQLs to populate the SQLCMD variables DefaultDataPath, DefaultFileprefix and the DefaultFilename(s) which are generated when pressing "Executed" or "Debug" the project.
    My problem is that we have to test database performance with larger volumes of data (e.g. two million rows and more). These cannot be stored in the User-path but must be handled by some kind of professional DB-Manager on various storage devices. When everything
    is tested, the publishing function of VS2013 will extract the structure and you are done incl. all the performance taming things.
    The dialog from the project properties can change to a different Server, but that server does not know your project database. The server and the DB-Files should be specified by the developer before VS2013 creates the database.
    So  the right forum would be a forum, where people developing SQL Server solutions with VS2013 are reading the questions.
    Thanks again for your patience.
    Regards Uwe

  • Use .dll files in Java

    hi,
    i have a dll file thats present some function. i called DLL file from java . i got the some errors such as
    Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'USBIsConnected': The specified procedure could not be found.
    but I hope with in that DLL the function present. here i have used java 1.6 version . kindly give the ideas

    You need to have a good look at the JNI documentation.
    It isn't nearly as simple as you appear to think.

  • Using dll files

    my application(applet) uses some dll files(native method but got the problem how to place the dll(into yhr user system) file when user loades the applet
    if anybody knowing plz help me

    i order work dll files the dll files d\should be placed inside the [system32[/b] folder if no path is set
    if not we have to set the path for the dll files now how i can achive one of this in runtime
    there no need to instal jmf file but we can take what ever requered class file and we can run the application (with some sequrity setting )
    but my main problem is dll files if anybody having fix to this plz respond me

  • How to use a VB dll file in java

    hi,
    i am working on college project,In this output of calculation is not matching with college site .So any one can tell "how to use or combine a VB 'dll' file in java?".so that i can use VB 'dll' file in java to get right Output.
    If possible write code or send it to "[email protected]"
    Thanks
    Ravi kapani

    Did you try Google? And no, there is no native support for accessing .dll files from Java. That said, take a look at JNI.

  • How can i call a DLL file using invoke node from labview?

    I cant call a DDL function using call library function.so plz tell me how to use invoke node and call DLL using invoke node
    Please Mark the solution as accepted if your problem is solved and donate kudoes

    Please stay in the same thread.
    - Cheers, Ed

  • Call specfic file in CHM file

    Hi All,
    I have created .chm file. Now I want to open specific htm file on press of F1 on the form. How do I give the path ? I am using following code to call chm file:
    If pVal.MenuUID = "275" And pVal.BeforeAction = True Then
                    If SBO_Application.Forms.ActiveForm.TypeEx = "ChkRdo" Then
                        Dim psi As New ProcessStartInfo()
                        psi.UseShellExecute = True
                        psi.FileName = "C:\Documents and Settings\Harish Patil\Desktop\Checkbox and Option button\ChkOpt\ChkOpt\New_HTML_Help.chm"
                        Process.Start(psi)
                        BubbleEvent = False
                    End If
                End If
    This works fine but call the main chm file. How do I call specific file?
    Thanks & Regards

    Hi Sheetal,
    If u want to open a different file depending on the Form Type and if u dont have many different form types the i guess u can use the following code snippet.
    If pVal.MenuUID = "275" And pVal.BeforeAction = True Then
    If SBO_Application.Forms.ActiveForm.TypeEx = "ChkRdo" Then
    Dim psi As New ProcessStartInfo()
    psi.UseShellExecute = True
    psi.FileName = "C:\Documents and Settings\Harish Patil\Desktop\Checkbox and Option button\ChkOpt\ChkOpt\New_HTML_Help.chm"
    Process.Start(psi)
    BubbleEvent = False
    ElseIf SBO_Application.Forms.ActiveForm.TypeEx = "ChkRdo" Then
    'Past the above same code with a different file name
    End If
    End If
    like that u can open different files, or if u have name different files and forms.. then its better to use the Case statement instead of the If clause.
    Hope it helps.
    Regards,
    Vasu Natari.

  • Converting a class file to a dll

    Hai please help me..
    I am trying to convert my .class file to a .dll file.
    This is my java code:
    public class DateFunctions {
         public int getTimeInSeconds(int i){
              return i;
         public int addNumbers(int i, int j) {
              return (i+j);
         public static void main(String[] args) {
              DateFunctions df=new DateFunctions();
              df.getTimeInSeconds(
    Created class file DateFunctions.class.
    Created jar DateFunctions.jar using:
    jar cvf DateFunctions.jar DateFunctions.class
    Generated dll file using bimp tool like this (Visual J# .NET tool):
    jbimp DateFunctions.jar /t:library
    I got the file: DateFunctions.dll
    Now loaded this dll into my code (say, TSL code in WinRunner) using load_dll("DateFunctions.dll");
    When I try to access the method like:
    j=getTimeInSeconds(int i);
    I am getting the error RPC error.
    Note: DLL is loading fine. but while accessing the functions I am getting the RPC error..
    What could be the reason..?
    Please help...?
    Thanks,
    Satish

    Your answer lies in the documentation for WinRunner and whatever else is calling the DLL.
    Certainly Java JNI has requirements for DLLs called from Java: They have to be C++ bindings that use the native header that Java generates, right?
    So now you need to look at the requirements for your WinRunner and make sure that the program translating your .class file to a DLL does it in a such a way that the bindings WinRunner expects are indeed there.
    But none of that has anything to do with Java. If your Java class compiles and tests successfully, then your questions about Java are satisfied. You have to figure out what WinRunner needs and what's missing from what you supplied.
    %

  • Interface with device driver (API or DLL files)

    I want to make my C++ program interface with an instrument which has a device driver available at the OEM's website. It's a DLL file (not a .cpp file), but I don't know how to call DLL file from C++. I am using Measurement Studio for Visual C++ and Microsoft Visual C++ compiler. Do you have a C++ example code or tutorial about calling DLL (or API) from C++ ?

    Irene,
    Measurement Studio is simply a plug-in for Visual Studio C++. Calling a DLL is general to C/C++. It usually amounts to #including the .h file that comes with the library, like this:
    #include "MyDLL.h"
    I found the following website through Google, which is pretty thorough on calling DLLs:
    http://www.codeproject.com/dll/XDllPt1.asp
    I hope that helps.
    Matt P.
    NI

  • DLL files require JRE

    Hi,
    I have an application which has one piece of java code which is built into a DLL file. This java code basically has code to connect to the database using JDBC thin driver. The DLL is deployed along with the application. Do we need JRE to be installed on the user's PC to make use of the application or DLL files do not require JRE to be installed on the user's PC.
    Note that the java code was built into a DLL file using VJ++.

    I have an application which has one piece of java
    code which is built into a DLL file. This java code
    basically has code to connect to the database using
    JDBC thin driver. The DLL is deployed along with the
    application. Do we need JRE to be installed on the
    user's PC to make use of the application or DLL files
    do not require JRE to be installed on the user's PC.Certainly you will need a JRE and any decent machine which accesses applet based web sites would certainly have one. If you are making a package installer, you might add a JRE installer alongwith your application.
    Note that the java code was built into a DLL file
    using VJ++.You answered the question that first crossed my ming. Great!!!
    Rich.

Maybe you are looking for

  • Running Total & Distinct Count Query

    Crystal 10.0.0.533 CR Professional Hope you can assist. I have a report listing deals signed, each deal has a corresponding category i.e. industry type, Accountant, Chiropractor, Financial Services, etc. I am undertaking a Distinct Count on these cat

  • Oracle 9i RAC

    Oracle claims that from a functional perspective, Oracle9i Real Application Clusters is equivalent to a single-instance database. I understand that it means exactly that. In a cluster of several servers, multiple Oracle 9i databases on the servers ar

  • Airtunes speaker show in iTunes, but never connects

    Help. There is no diagnostics, nothing. My airtunes speakers show in iTunes, but when I go to connect to them to play sound through them it never connects. What can I do to find the problem, let alone fix it?

  • Re: How is license allocated to multiple CPUs?

    We do not count the number of CPUs when WebLogic is running. You are simply restricted to an IP address. All restrictions to the number of CPUs is done through our agreement with the customer. So, you need to speak with your sales representative. Mic

  • Why do I see "Blocked Plug-Ins" when I try to play a video - this is generally on the BBC News website.  I haven't tried elsewhere.

    Why do I see "Blocked Plug-Ins" when I try to play a video - this is generally on the BBC News website.  I haven't tried elsewhere. I have an old Mac 2009.