LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

web publish tool creates blank page

I've been having some trouble with the LabVIEW web publishing tool. It seems that when I try to publish the front panel of my vi, a blank web page is produced instead. To publish, I select Tools>>Web Publishing Tool..., then select my VI from the VI name dropdown menu. I select monitor mode and use a refresh rate of a couple seconds. From there, I try to view a page preview, but all I see is a blank white page. When I try to view the html source of this page, it looks like a blank html document (i.e. view source just shows a blank page as well). 

When I follow the web publishing wizard through to completion, I visit the address that the page is supposed to be published at, but get the same blank page results as I did in the preview. Note that I don't get a 404, just a blank page. However, when I look at the html document that was produced, it does contain a page (I've attached the html it produces, all I've done is change the extension to text so I could upload it).

I'm running LabVIEW 2009. The vi in question is in memory, running on the server computer. I have enabled the web server, but in the web publishing wizard, the "Start Web Server" button is inaccessible.

Does anyone know what might be wrong? Or better yet how to fix it?

0 Kudos
Message 1 of 6
(3,926 Views)

boreasCryo,

 

When you are using the Web Publishing Tool, are you able to successfully preview your web page?

 

Regards,

Jordan G.

LabVIEW Product Marketing Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,878 Views)

Jordan,

Thanks for getting back to me. No, when I use the preview page button on the publishing tool's setup wizard I only see a blank page. It doesn't matter at which step of the wizard I try previewing, it always shows a blank page.

0 Kudos
Message 3 of 6
(3,874 Views)

boreasCryo,

 

If the "Start Web Server" button is disable that means the Web Server is started. You had mentioned that the front panel associated with this VI is on another computer. Do you you receive a blank page when running the Web Publishing Tool on that computer?

 

Regards,

Jordan G.

LabVIEW Product Marketing Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,845 Views)

Jordan,

What I meant was that the VI was running on the computer that is acting as the server, which is in fact the same computer I was testing from. So yes, the problem still arose there. I have made some progress on this issue- it seems that it might be due to some bug with the Browser Access List. Our Browser Access list was empty. Whenever I tried to add something to it (i.e. by typing "*" into the Browser Address bar, selecting the "Allow viewing" radio button and then clicking the "Add" button), a blank entry would show up in the Browser access list. After hitting "ok" on the options box, the blank entry seemed to dissapear; when I would revisit the settings page under "tools->Options->Web Server" the browser list would show up totally empty again.

I was able to fix this problem just by typing "*" into the Browser Address bar, clicking "Add", and toggling back and forth between the radio button access options a few times. Eventually the * showed up as an entry in the browser access list, and when I hit ok the option seems to persist (so I can leave the Web Server options dialogue and return to it later to see that the * is still added with the proper permissions).

However, I'm still having problems. Now when I visit the url of my web published vi, I get the message "Client does not have access to the specified VI." I currently have the settings such that I think all browser clients should have view & control permissions for our published vis. I have attached a screenshot of this message and of our current browser permissions screen. Is this the proper set up? If not, what do I need to do to give viewing permissions to all clients?

0 Kudos
Message 5 of 6
(3,840 Views)

Hi boreasCryo,

 

From the screenshot you provided, I believe that your Browser Access list is configured correctly for the Web Publishing Tool.

 

I have found two possible reasons why you are receiving the error "Client does not have access to specified vi." These possible reasons usually are related to having a client running the remote panel on a server. Have you tried using Remote Panels for your project, instead of the Web Publishing tool? Here is a tutorial on how to use Remote Panels. Also, here is a KnowledgeBase article that describes a possible reason for you receiving this error. 

 

Regards,

Jordan G.

LabVIEW Product Marketing Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,818 Views)