LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HTML table does not show up on webpage

Hello All,

 

I recently switched from Labview 2011 to Labview 2013 and also changed my machine. I copy pasted my codes from the previous machines and now I am having some trouble making them work.

 

I am using Labview 2013 and Internet ToolKit 2012. I am using Internet Toolkit and CGI to run a VI from the web browser. Basically that VI (aracgi.vi) takes data from 2 shared variables namely:

1. cgi_tabledata

2. cgi_tracedata

which are being filled in ara2.vi (a separate vi). I have enabled aliasing for both the variables and are bound using PSP so that I can view them remotely. I have set my Laptop IP to a static IP 192.168.1.21 and added to the list of available machines using DSC. And I have bound the shared variables with PSP under this IP as that is the home IP.

 

The aracgi.vi should take data from these 2 variables and make an HTML table with current values of all the parameters which should look like this

htmltable.jpgplot.jpg

 

And when I should click on on one of the parameters it should open the waveforms as shown above.

 

I always start the G web server at the start of the VI. My G Web Server port is independent of my Labview server port. I have my set G web server to 8082 to avoid conflicts.

 

I set Document Root to the folder which contains this project and the cgi-bin folder.

 

The problem that I am having is that when I open the webpage using this URL in the internet explorer: http://192.168.1.21:8082/cgi-bin/aracgi.vi

 

I just see a blank page.

 

In the aracgi.vi I have the Keyed Arrray Index Wildcards.vi. If I set the case matching to a==A the VI does not work at all. If I set the case matching to a!=A or system then the VI loads on the webpage but is completely blank? Can any of you please guide me on what the possible source of the problem here? And how can I have the html table show up on the web page.

 

I have attached the folder which contains the project and all the VIs.

 

0 Kudos
Message 1 of 2
(2,698 Views)

Hi Uzair,

 

Unfortunately, the level of support that can be provided for the Internet Toolkit and CGI is limited now since they have been deprecated for a while. 

LV Internet Toolkit Deprecated

 

Have you tried to generate a more simplified version that would do something similar? With this I mean a version that doesn't have other features like network shared variables to simplify the behavior.

 

Andres G

AE

NI

 

 

 

 

 

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