LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to dynamically allocate a .dll file?

Ok...guys....I want to make sure I get a piece of fact right before I actually launch into the real question itself:

 

Say I have a .dll that's located in "c:\", when I select that .dll using a constructor node in a VI, that VI is always going to go "c:\" to find that .dll right?

 

 

If that's correct, my first question would be:

 

"what would labview do if that .dll is not at c:\ "?

 

Secondly, how can I dynamically tell a constructor node where a .dll is stored?

 

I need to do this, because my .dll file will be sitting in a different location when it is deployed.

 

This seems to make Labview search for the .dll, which, I suspect, cause the application to start-up really slow.

 

Thanks in advance! Smiley Happy

0 Kudos
Message 1 of 2
(2,252 Views)

You mention DLL, but refer to constructors, which leads me to believe you're actually talking about .NET assemblies. .NET assemblies may have a .dll extension, but they are not DLLs. Assuming you are talking about .NET assemblies, then please read this: How LabVIEW Locates .NET Assemblies.

0 Kudos
Message 2 of 2
(2,247 Views)