LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview dll for VB 2005

Hi there:

Can any one please help us with this issue (sending data from VB.net to labview, treat them -any simple VI, then get them back to VB).

 

Can't believe it's that hard for any NI guy to give us an exemple to hlp us deal with labview DLL's in VB2005.

all we can find is a basic exemple with single I/O working with VB2003, when we run it on 2005, it's full of bugs, limitations, memory restriction... 

 

 

 thank's in advance for any assistance.

 

 

Labview 8.5

VB2005

XP 

0 Kudos
Message 1 of 5
(3,054 Views)

Hi Elbob,

 

Here's a simple example I tested in Visual Studio 2008, I don't have 2005 unfortunately.  Does this work for you?

0 Kudos
Message 2 of 5
(3,030 Views)

Thank's kyle for the response:

But, can't open a 2008 project in 2005!

And the exemple you sent is still a single value input output, what we need is the transfert of an array of Data.

 

Hope any one can help, you can't imagine how much it's frustrating to see the feature available without finding a way to use it 😞

 

Thank's again. 

0 Kudos
Message 3 of 5
(3,011 Views)

Hi Kyle:

I managed to rebluild the dll, to write the project in VB2005, but got an error : Impossible to find the entry point Add in the dll ???

 

So:  Still need a working exemple of DLL transfer of Data (array not single value) between Labview and VB2005  .

 

Thank's in advance for your time and help.

 

0 Kudos
Message 4 of 5
(3,002 Views)

Hi ELBOB,

 

When you built the DLL, double check the prototype name you used.  It should match (double check the case-sensitivity) what is in the VB code.

 

Sorry, I misunderstood the request, I'll try to update it with an array, but it should be similar to the code attached. 

Message Edited by Smootastic on 03-03-2010 09:55 AM
0 Kudos
Message 5 of 5
(2,995 Views)