LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with linking dll.

Hi,

I am trying to link a third party dll in labview. I have the dll, the
header file and the c file but I am unable to define the input
parameters of the fuctions correctly.
I am attaching the files, can any one please check and correct the
problems that I have and check if I have defined the input parameters
correctly.

Thanks,
Ajit
0 Kudos
Message 1 of 4
(2,661 Views)
Hello Ajit �

The Call Library Function Node in LabVIEW does not require the input
param to be defined for a program to execute. However, I will assume
your program needs this parameter defined for your program to run as
intended.

For information on configuration of the Call Library Function Node,
please review chapter two of the
href=�http://www.ni.com/pdf/manuals/370109b.pdf�>Using External Code
in LabVIEW
manual.

You can find an example in LabVIEW by navigating to Help>>Find
Examples. Choose the Search tab and enter and select the keyword
dlls. The Call DLL.vi example allows you to browse examples of
external code (C and C++) data types and how they interface with
LabVIEW. This example is shipped with LabVIEW 7.0. If you are using
a previous versi
on of LabVIEW, please let me know and I can find an
example that will work for you.

If these suggestions do not solve your problem, please give me more
detailed information about your application and how you would like
LabVIEW to interact with it. Have a great day!

Becky B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,661 Views)
Hi Becky,

Thanks a lot for your response.
I am a student at the university of Delaware.
This is what I am trying to do,

I have a third party software. I am trying to work with it in LabVIEW 7.0 version.
I have the dll, the header file, the C file and all the data.
I am using the call function node but I am finding a difficulty to figure out how to call the dll, then test the dll by running a very simple test.

The dll has a few functions and they are clearly explained in the header file which I am including in the attachment.

I also have the c code of the test file I am trying to run with this dll.I am including it also in the attachment.

Can you help me by building a VI that can link to the dll and run the simple test file that I have he
re.

Thanks a lot,
Ajit R Nalla.
0 Kudos
Message 3 of 4
(2,661 Views)
Hi Becky,

I could figure out the way to do this,
I will get back to you if I have further doubts.

Thanks a lot for your help,
Ajit.
0 Kudos
Message 4 of 4
(2,661 Views)