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: 

Action engine with .Net Assembly build

Hi,

 

I have used an Action engine in my program. The actions are for TCP/IP reference open,read and close. Everything is fine if I implemnet my sequense in LabVIEW but I have to export the current code to C# using .NET Assembly

Now if I make 3 VIs for open ,read and close what shoudl I do with the reference passing between these VIs when I export it to C#. I would greatly apprecaite your help

thanks

0 Kudos
Message 1 of 3
(2,329 Views)

I'd make 3 wrapper VI's, one for each function. Simply drop the AE with the command in a new VI.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 3
(2,288 Views)

Your code runs in an runtime engine, so as long as your assembly is referenced and running (here maybe reading from port)  dont care about internal references.

0 Kudos
Message 3 of 3
(2,276 Views)