LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

possible to call dlls (built by labview app builder) from main Labview application?

Hi All fellows.

I have seen how the dlls can be called by textual based programming application.

The reason to why dlls are built, is easier to build in small package, if any dlls need to be modified, it can be done  without affecting other dlls or application. Also it can be opened easier because it is smaller. Also several dlls can be selected for different tests just like we can load different MP3 songs into the same player.

 

Can it be said same thing for llbs too?

 

So for Labview, I have not tried before. There are two ways to do that. Either use dlls or llbs.

Is it possible to build dlls from Labview Application Builder? the same dlls can be called by Labview application?

If so, which one is better. dll or llb? To call either of them, is it the same method to call, just like labview application use File system functions vi to be directed to file?

 

Pls advise

 

 

0 Kudos
Message 1 of 6
(2,992 Views)

Hi astroyboy,

yes it´s possible to create dlls with the Application Builder. You can call all dlls in the same way in LabVIEW also the dlls created with the Application Builder. There is a main difference in both, llb and dlls. The dll contains compiled code with exported functions and a llb is only a special folder with different vi´s in it.

 

Hope it helps

Mike

0 Kudos
Message 2 of 6
(2,983 Views)

Hi Mike

 

Thank you very much. 

I will give it a try

 

Clement

0 Kudos
Message 3 of 6
(2,981 Views)
You can dynamically load VIs instead of using statically linked subVI calls. This is true even for exe files made by labview. I think you will save some time doing this. If you think it looks strange to send a customer a build with exe and vi files. Just rename your vi files to dll. The customer will never see the difference


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 6
(2,963 Views)

Hi all Thanks for your help

 

When I came across "Creating and Calling LabVIEW DLLs with Various Data Types from Microsoft Visual Basic" in the developer zone,

 

I saw  and decided to see if there is an article for "Creating and Calling LabVIEW DLLs with Various Data Types from NI LabVIEW".

 

But nothing comes out.

Seems that labview dll cannot be called  by labview exe. I am not sure if I am right.

 

Pls advise

Clement

 

0 Kudos
Message 5 of 6
(2,910 Views)
No, you are not right. A dll created by the LabVIEW app builder is called just like any other dll. The help contains directions. Search for the Shared Libraries topic and you will find an example.
0 Kudos
Message 6 of 6
(2,898 Views)