LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't load .net assembly (dll) using View\Class Browser

I am using LabVIEW 2010 SP1.

I have written sample .net class assembly which I am trying to load using View\Class Browser\.Net Assembly\Select Assembly and then I browse attached DLL but DLL doesn't show up in the list.

However I can invoke method manually. i.e. using constructor node and invoke method.

I have attached VI and dll which contains class/methods.

Why can't I browse it using Class Browser?

 

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
Download All
0 Kudos
Message 1 of 9
(3,932 Views)

Hi,

 

I have been able to reproduce your issue and am currently working on a solution or work around.

 

Perry S.

 

Applications Engineer
National Instruments
0 Kudos
Message 2 of 9
(3,915 Views)

Hi test_man,

 

I am still looking into this issue. It seems that the browse option is not working and I am currently escalating this issue. Just wanted to let you know that I am still working on it.

 

Perry S.

Applications Engineer
National Instruments
0 Kudos
Message 3 of 9
(3,905 Views)

Thanks for the update Perry.

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 4 of 9
(3,898 Views)

Hi test_man

 

I have an answer for you. It seems that the method of Browsing still works but not at the location you were using. The method that works is sidplayed on this vedio:

 

http://www.screencast.com/users/JustinParker/folders/Jing/media/d9cc8eb6-39b6-4bec-af49-1064246f3dfe

 

The method that you were following is not working or at least its functionality is not apparent. I will be filing a corrective action request to see that it si fixed. I hope that this helps.

 

Perry S.

Applications Engineer
National Instruments
0 Kudos
Message 5 of 9
(3,890 Views)

I just tried LabVIEW 2011 SP1 and it looks like I could still duplicate the originally reported issue.

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 6 of 9
(3,728 Views)

Hi test_man,

 

Thank you for bringing this bug to our attention. As Perry mentioned, he has filed a CAR and the issue has been brought to the attention of R&B so it can be fixed in later versions of the software. Does the workaround that Perry posted still work for you? 

 

Regards,

James D.
Applications Engineer
National Instruments
0 Kudos
Message 7 of 9
(3,715 Views)

I just tried LabVIEW 2013 SP1 and it looks like I could still duplicate the originally reported issue.

 

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 8 of 9
(3,548 Views)

Hi Test_Man,

 

I followed the steps to try to reproduce the issue but don’t see the error you mention. Attached is a picture of the DLL Properties and Methods from the Class Browser. I am using LabVIEW 2013 SP1. I did the following:

 

View >> Class Browser >> From the Object Library dropdown menu select >NET >> Browse Assembly >> Browse and select your DLL.

 

Please let me know if this helps you solve the issue.

 

Kendall Ruiz

Applications Engineer

National Instruments

www.ni.com/support 

0 Kudos
Message 9 of 9
(3,522 Views)