ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

C# - Execute a function which has no constuctor - Not possible?

Solved!
Go to solution

Hello,

i have a C#-DLL that contains a form-class with constructor. I can open and execute this form in LV by using the "Select .Net-constructor".

 

Then i have a second class in the DLL that just executes the form but has not an own constructor.

 

Here is now the problem: I see the name of the class in the "Select .Net-constructor"-popup but i can not select it as there is no constructor in this class.

 

Question is now: How can i execute the functiions in this class?

 

THX

BR

 

 

 

0 Kudos
Message 1 of 3
(3,303 Views)
Solution
Accepted by topic author OnlyOne

Try the steps in the solution to this thread - http://forums.ni.com/t5/LabVIEW/to-access-function-or-properties-in-sealed-singleton-objects/m-p/234...

 

If that doesn't help let us know and we'll try to help.

 

Regards,

 

Simon

Message 2 of 3
(3,271 Views)

This worked perfect.

Thx for the help

0 Kudos
Message 3 of 3
(3,239 Views)