LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How To use or call dll ?????

Hi !

I have created one programm and i have genetared dll of that ( Using
LabVIEW) now i want to call that from vb.net how i can Do it
????????????


please help

Thanks in advance

Message 1 of 25
(5,571 Views)


@Anonymous wrote:
Hi !

I have created one programm and i have genetared dll of that ( Using
LabVIEW) now i want to call that from vb.net how i can Do it
????????????


By reading the Visual Basic Manuals about how to call a DLL and checking about other posts here with specific problems and according examples for this!
Without a specific problem and its description nobody can possibly give you more detailed information.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 25
(5,545 Views)
You can find a lot of information here.

___________________
Try to take over the world!
0 Kudos
Message 3 of 25
(5,539 Views)
The LV DLL is built to expose it's methods as C functions. Thus to call it from VB.NET, you need to use the DllImport statement. I did a quick google search and this is a good, simple explaination on how to use DllImport
 
Message 4 of 25
(5,529 Views)
i have read that article and tried it out but i am unable to do ?
 
 
can any one explain in detail....
0 Kudos
Message 5 of 25
(5,490 Views)
HI
 
I am able to call Labview Dll from VB.Net BUT NOW I WANT TO USE LABVIEW'S GUI IN VB.NET is there any way please reply fast
 
 
0 Kudos
Message 6 of 25
(5,512 Views)

What was hat tst?

         Now are you going to become a G-Man?

Thanks,

Nishant

0 Kudos
Message 7 of 25
(5,507 Views)
That depends on what you mean. You can have a VI front panel appear as a result of a call into the DLL - check the app builder settings and the documentation on how to do that. But you can't get a front panel control integrated into a VB.NET panel.
0 Kudos
Message 8 of 25
(5,488 Views)

@Lycangeek wrote:
But you can't get a front panel control integrated into a VB.NET panel.

Brian, this is obviously impossible when the control is part of a running program, but don't the LV style control appear in the list of registered ActiveX controls as ComponentWorks controls? I'm not near a computer with LV at the moment to check.

Nishant, G is the language behind LV and the logo (and signature) points to Superman. As all my icons, this should also be a temporary one.


___________________
Try to take over the world!
0 Kudos
Message 9 of 25
(5,475 Views)


@tst wrote:

@ Lycangeek wrote:
But you can't get a front panel control integrated into a VB.NET panel.

Brian, this is obviously impossible when the control is part of a running program, but don't the LV style control appear in the list of registered ActiveX controls as ComponentWorks controls? I'm not near a computer with LV at the moment to check.


No almost all LabVIEW controls are native implementations in LabVIEW itself. They have nothing to do with Component Works or Active X at all, although I guess the Component Works developers did get some inspiration from LabVIEW controls but even more probably from LabWindows/CVI controls.

Exception to this is the 3D graph which is a Component Works control incorperated into LabVIEW through the Active X control container (and my own private opinion about this control is that it sucks in several aspects, being an Active X control is not the least of its faults).

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 10 of 25
(5,477 Views)