LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using ASPX page to call .NET application in LabWindows/CVI

I am not sure about this, but here is goes:

I have an ASPX webpage on the client side that call the .NET application on the server.  I want to be able to do whatever the ASPX is doing, in LabWindows/CVI.  Is this possible or is there a better way to do this?

I am using LabWindows 8.0.1
0 Kudos
Message 1 of 3
(3,506 Views)
 

Hi Appu,

I am assuming that you have an ASP.NET application that is running on the "server" that you then access via the internet from your web browser on the "client".  In this scenario, ASP.NET is essentially using the built in Microsoft IIS Web Server to serve and display the information over the web.  This is process is all automated by Visual Studio when you choose to run the application.

Unfortunately, this functionality is not built into LabWindows/CVI.  There are a number of options to accomplish the remote distribution of your application, such as building two applications that communicate over TCP/IP; or using DataSocket to build and Interactive web page.  Additionally, CVI does not have support for hosting .NET controls on CVI panels.  I have included several Knowledge Base entries below that document the LabWindows/CVI support of .NET controls as well as how to use TCP/IP and DataSocket communication.

 

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

Hi Appu,

Another suggestion that you could look into is using network variables to communicate between your CVI application and your ASP.NET application. The Professional Edition and later of Measurement Studio provides a Network Variable Library that can communicate with the CVI network variable. They both use the same underlying shared variable engine.   Additionally, with the Professional Edition of Measurement Studio, you get ASP.NET Web Forms controls that you can use which are very helpful when displaying data or providing user input.

I typically have seen other customers reading their data in through CVI and then pumping that data to a network variable that the ASP.NET application displays (i.e. a graph maybe).

Just a thought!!

Best Regards,

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