LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

C# and LabVIEW - running C# form in background

Hello everyone,

 

I am opening in Labview a C# form, by using .NET constructor and Show display() method. I would like to realize the following:

To use a state machine, in a first step open the form and then, after pressing a special button on the Form (for ex. a Start button), going back to LabVIEW and doing the next steps of the state machine.

This would mean, that the C# program runs actually in background, while the other states of the machine are executed. Is something like that possible?

With/without state machine? Or any other idea?

 

Thanks,

 

Ussr123

0 Kudos
Message 1 of 2
(556 Views)

Hi Ussr123,

 

maybe you could build a dll from your C# code and call it from LabVIEW using the Call Library Function Node. This node ensures that he LabVIEW code does not proceed to execute when the DLL function is active.

 

Regards,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 2 of 2
(478 Views)