ni.com is experiencing intermittent service disruptions.

Support teams are actively working on the resolution.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a DLL in Labview 8.6 and calling it from Visual Basic 6.0

Dear friends,

 

I need to create a DLL in Labview 8.6 and call it from Visual Basic 6.0. The system works as follows:

I made an application using Labview 8.6 + Vision Assistant 8.6 where I can obtain the x,y coordinates of a template in an certain image being captured by an USB camera. The template coordinates change every time it moves and Visual Basic 6.0 must read these x,y values in real time. I found some information in the link http://zone.ni.com/devzone/cda/tut/p/id/3925, but it works for version 6.x of Labview and 8.6 version is different. Am I in the right path? If you have an updated tutorial like the one in the link above but for Labview 8.6 It would be very nice. Please help me.

 

Kind regards.

 

João Júnior

0 Kudos
Message 1 of 5
(5,279 Views)

Hello,

 

I'm sending to you an updated tutorial that can helps you on:

 

http://zone.ni.com/devzone/cda/tut/p/id/3188

 

Please contact me if you have any doubt.

 

Best Regards

Message Edited by Osvaldo Santos on 10-16-2009 12:01 PM
Osvaldo Santos
0 Kudos
Message 2 of 5
(5,258 Views)

Hello Osvaldo,

I analysed the updated tutorial you sent me, but the thing is that it doen't show how to create the DLL in LV 8.6 but only show how to accessing the DLL from VB6. My problem is really HOW TO CREATE THE DLL IN LV8.6. In the link http://zone.ni.com/devzone/cda/tut/p/id/3063 there is detailed information about how to do this in LV6.x, the problem is that I don't find the path Tools»Build Application or Shared Library (DLL) in LV8.6, I think the procedure in LV8.6 is a little bit different. Don´t you have an updated tutorial on how to build a dll in LV8.6?How could you help me?

 

Kind regards.

 

João Júnior

Message 3 of 5
(5,243 Views)

I've been looking for something similar... I need to write a labview DLL for access by C++.  But I'm having difficulty finding resources that really explain the process.  I'm hoping NI will consider upgrading their tutorials... (hint, hint).

 

Jason

0 Kudos
Message 4 of 5
(5,236 Views)

Hello J.J. are you from Brazil?

 

I'm sending to you a link that explains how to create a dll.

 

Take a look in the content 3 called "Shared Libraries"

 

http://zone.ni.com/devzone/cda/tut/p/id/3303

 

Please contact us if you have any doubt.

 

Thanks.

 

Regards.

 

Luciano Borges

National Instruments Brazil

Luciano Borges
Test Development Engineer
Message 5 of 5
(5,235 Views)