From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Invoke methods in a namespace -- .net DLL

Solved!
Go to solution

I have a DLL developed in .net from a 3rd party. The DLL contains a static class with static methods exposed in a namespace. How do I invoke these methods in LabVIEW 8.5?

 

I have used a constructor node and the assembly does show an object with the namespace but when I select the namespace, it gives a message "The class contains no public contructors"

0 Kudos
Message 1 of 2
(2,656 Views)
Solution
Accepted by topic author Shankar Kumar
If it contains static methods then just drop an Invoke node, select the .NET class (right-click and Select Class...) and then select the method.
0 Kudos
Message 2 of 2
(2,649 Views)