LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling external dll and ocx in LabVIEW

I am trying to integrate an external application w/ LabVIEW by using their dll and ocx files. This program communicates and sends commands to the serial port.

When I tried to use the activeX controls w/ the ocx file, and then using invoke/property node, I couldn't type in the commands I want sent through the program, only ints. My understanding of .dll's are very basic, and I don't know what my inputs to the program should be!

Please help! I've attached the program files. This program is used to control a camcorder.
0 Kudos
Message 1 of 2
(3,043 Views)
Janet,

To call external dll function from LabVIEW place "Call library function node" function located on Advanced palette into your vi. Double click the icon on a diagram and specify parameters of function you want to call - dll file location, function name, argument set and return value. To determine what are function names and argument types please refer to your Control-L SDK help which contains detailed description of each function. In "Call library function node" use C calling convention. Look at the example below or examples available in NI Example Finder.

Arkadiusz Roszczewski
National Instruments
0 Kudos
Message 2 of 2
(3,043 Views)