Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling more than one .net dlls from the same LabView VI

I have created few .net dlls using Visual Studio 2010. When I call one dll from the labview VI, it detects the constructor node and works perfectly fine. But when I try to call two dlls from a single VI, it does not work. Moreover, it just links with only one dll, either the old one or new one but not both at once. These two dlls are in the same folder as the VI. What can I do so that I can call these two dlls(probably more in future) simultaneously from a single VI? I am using LabView 8.6.....Please help...

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

Hi Paritosh,

 

What is the error that you are receiving? Is it running and then reporting an error, or is the constructor node not recognizing the second dll? Are you always adding a separate dll or are you calling the same dll a second time? Are you always adding a particular dll to the VI second or is this behavior regardless of the VI being called second? Are the subVIs being called in sequence and that is what makes it a second call, or are the subVIs called in parallel? As much information as you can give will make it easier to diagnose the issue.

Ben R.
Aerospace & Defense Test
Solutions Marketer
National Instruments
0 Kudos
Message 2 of 3
(5,154 Views)

When i revised my codes there was a same namespace for both projects so i think the problem is due to this. Thus, although I was adding 2 dlls in the project, it was calling only one all the time. I've not checked yet with different namespaces. I'll check that and let you know. Thanks for your reply.

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