LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Display the Panel output in HTML page Dynamically

Hi.!
 
  I have to display the dynamic outputs from the panel to the html pages.
  For example,
 
  I set the timer for 200 milliseconds. I generated a stream ofrandom numbers based on the time tick.
  I made a table in thw word and saved as html file. I read out that file and i changed the table by feeding the
  random numbers generated from the CVI. But now my problem is i need to display the stream in the html file.
  Now i can display only the certain values which i get from the panel when the quit button is enabled.
 
 My question is,
 
  In this idea of writing in word and saving as html file, is that possible to do display the dynamic results..?
 
  Is there any other way to do so..?
 
Thanx and regards,
Venki.
 
 
 
0 Kudos
Message 1 of 2
(2,850 Views)

Venki,

If I understand what you are tyring to do (store CVI data in some sort of medium and have that medium translate into a dynamic website) storing data into word then having it create a web page is definately not the best way to go about this.

Assuming you can do what you want with your server, the best way to do what you are trying to do would be the following.

1.) Create a dynamically updateable website connected to a database backend.  You can use asp, jsp, php, etc. to do this.  I perfer using .asp because it's what I know best.  The following link should help you get started with this part of the project. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/activeservpages.asp

2.) Download the data from the CVI application into the database on your server.  To do this you can either use the CVI SQL Toolkit or you can use straight ODBC commands.  See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcabout_this_manual.asp if you wish to use straight ODBC. 

Using these two steps you can have a single, or multiple webpage(s) that update(s) dynamically whenever data is changed in your CVI application.

0 Kudos
Message 2 of 2
(2,826 Views)