LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

web server with CVI

Solved!
Go to solution

Hi,

I want to know if it is possible to create a web server with CVI so that I can log in my application and see the data with the internet explorer?

 

Backround: we run an CVI-application on a computer inside a network. On this computer we collect data from different systems and publish these data in a CVI panel. Users who wants to see the data, have to log in the computer with a remote control software.

Now we asked ourselves if it possible to create a web server with CVI. And if the user can not see the data on his computer by using the internet explorer.

 

In the forum we found some very old posts. Are there any new information about this?

 

thanks

Oliver

0 Kudos
Message 1 of 9
(5,529 Views)
Solution
Accepted by topic author OZI

As far as I know this is not supported at the moment.

And there is this product suggestion that needs some kudos 😉

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
Message 2 of 9
(5,526 Views)

I would approach this problem more conventionally.

 

You can write a client application that connects to that app and get its data.

There are many old and new techniques to pass such data between computers: simple TCP connections, data sockets, shared variables, etc.

 

The client may display the data (downloaded from the server) in its own way. You can even make it a 2-way communication and control the server app from the client.

 

I think you are looking for a much simpler solution, like a CVI wizard that turns your panels into web panels with a single click.

Well, it looks like you literally need a "wizard" for this until the product suggestion is implemented 🙂

S. Eren BALCI
IMESTEK
0 Kudos
Message 3 of 9
(5,520 Views)

Hi

 

> There are many old and new techniques to pass such data between computers:

> simple TCP connections, data sockets, shared variables, etc.

 

Yes, we use these technologies in our project to exchange the data between our systems

 

 

> The client may display the data (downloaded from the server) in its own way.

 

Yes, but how can I display them on a web page?

 

greetings

Oliver

0 Kudos
Message 4 of 9
(5,511 Views)

Well, I assumed the displaying of the data is the main requirement, not the web page.

 

If you must really display it on a web page then maybe you need another application on the server side that will collect the data (from the CVI app running on the same machine) and present it in a web form.

 

I am not very experienced on that but I think .NET would be a good choice.

S. Eren BALCI
IMESTEK
0 Kudos
Message 5 of 9
(5,498 Views)

One option would be to use Measurement Studio's ASP.NET support to publish a web page. Measurement Studio actually supports NI Network Variables and NI Datasocket so you can easily transmit the data between applications. It also comes with graphing capabilities similar to CVI. However, this will require a Visual Studio license and a Measurement Studio license.

 

Alternatively, you can create the web site using the tool of your choice and transmit the data to the web page using a client-server architecture with TCP/IP.

National Instruments
0 Kudos
Message 6 of 9
(5,478 Views)

If you only want to view date on a web server, create a bitmap image of the panel and save in to a web browser compatible format, i.e. .jpg or .png

 

GetPanelDisplayBitmap (panelHandle, VAL_VISIBLE_AREA,VAL_ENTIRE_OBJECT, &PanelBitmap);
SaveBitmapToJPEGFile (PanelBitMap,"\\\\intranetserver\\panelbitmapfile.jpg",JPEG_INTERLACE, 80);

 

then create a web page to display the image:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <TITLE> New Document </TITLE>
  <META NAME="Generator" CONTENT="">
  <META NAME="Author" CONTENT="">
  <META NAME="Keywords" CONTENT="">
  <META NAME="Description" CONTENT="">
 </HEAD>

 <BODY>
  <IMG src="\\intranetserver\panelbitmapfile.jpg" WIDTH="597" HEIGHT="554" BORDER="0" ALT="">
 </BODY>
</HTML>

 

Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
0 Kudos
Message 7 of 9
(5,462 Views)

That sounds very interesting. I will try this and report if it is working

 

 

Just to precise our idea a little bit. We have an application which run in a production. This computer (consists a TCP server) is connected to the company network. We have also a client software (consists a TCP client) which can be installed on computers in the offices e.g. for the production manager to see how his production is running. Both applications are written with CVI.The problem is that the two application run in different networks (production and office network) and from time to time we loose data or at some customers we do not have a connection because of some firewalls. Also all people who want to see the data have to install the client software on their computer and this installation has to be done by an administrator.

 

we think that it is much easier, when we improve the application software from a TCP server to a web server and all people can connect to it by a standard browser

 

greetings

Oliver

0 Kudos
Message 8 of 9
(5,454 Views)

To NI,

 

What happened to LabWindows/CVI Internet Toolkit. I came across the help file for that which does exactly what OP wants.

 

 

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 9 of 9
(5,242 Views)