LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to let user view their test result in a webpage

Hi,

I am writing a program which enable user to conduct test. Then the test result will be write to a .txt file. I have to load this .txt file to a webpage and the user must be able to view their test result from the webpage(txt file display in a seperate notepad windows)Can anyone give me some advise or some example how I can do it with the CVI Internet ToolKit?
Thanks very much for your help!

Regards,
Karen
0 Kudos
Message 1 of 2
(2,874 Views)
Why don't you first create an HTML template file with some area where to "paste" your TXT data directly from the CVI application.
This could be done using some "Tag" in the template that the CVI application could looks for and then insert the txt data in.

Another (heavy) solution could be to programmatically launch Word, ask it to load the txt file and then save it as an HTML page (you will need Word on the target machine however)

In any case, I would recommend to seriously look at XML file format.

Best regards, Philippe
Visit http://www.baucour.com
0 Kudos
Message 2 of 2
(2,874 Views)