LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using .NET controller to control VB.net application (EXE)

I'd like to share some data processing acrocss 2 applications. One will be written in CVI and then other in VB.net. I've tried prototyping a few examples and keep hitting a wall. I've created a VB.net exe that has a class which I call the myInterface. I sign and register this assembly with the GAC. I'd like to create a .NET controll around Class myInterface and have that class act like an entry point into my exe. In this way CVI can command VB through the .net controller to open forms, accept data, and return data.

 

 

Is this possible? is this the appropriate way to approach this?

 

Thank You!

Craig

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

You might want to consider using Network Variables to communicate between your CVI and VB.NET application. CVI has this library but you need Measurement Studio to gain access to the .NET Network Variable library that you could use in your .NET application. Checkout the Network Variable Technical Overview.

 

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 2 of 2
(3,319 Views)