Hey ioannis,
So I would recommend starting from scratch on this one and seeing if we can get things to work. I would recommend following these steps:
- Make sure that you have access to port 80, which is what LabVIEW and the Web Server uses for communication. This might mean turning off virus checkers or firewalls, as Altenbach suggested.
- Restart your computer. This is to make sure that there isn't anything already accessing this port that is conflicting.
- Start LabVIEW once the computer is back up.
- Open the VI that you would like to publish. I might recommend using an Example just to test, but you could use your program.
- Select Tools » Web Publishing Tool (WPT).
- On the bottom of the WPT window, press the Start Web Server button.
- Configure your VI as you would like. You can probably just use the defaults for now.
- Select Save to Disk and replace the file if necessary.
- Hightlight the address that comes up in the Document URL window and press Ctrl+C to copy it.
- Open Internet Explorer and past the URL into the address bar on the development computer.
These steps should be all that is necessary to use the WPT, so please follow them and let me know if they help or not.
Hi andy,
sorry for opening again this topic, but i rather to because this is my exact problem.
actually, I already done this WPT before with no problem at all in my 1st vi. but in my 2nd vi program, i encountered this problem they mentioned (i.e. invalid IP address in ie of WPT). is there a limitation on publishing vi programs? if so, what can i do about this, do i need toremove my 1st vi in able to use the WPT in my 2nd vi?
i already secure the port 80 to LabVIEW by checking into the task manager (i even go to the point of uninstalling my skype because it uses port 80 in my start up! whew.)
in your step #6
6. On the bottom of the WPT window, press the Start Web Server button
a.) this button is gray colored and unavailable, only the "Preview button". but when I presses it, "error message occurs" (see attached #1), also the same happens when i continue to "save to disk" and "connect".
b.)then, i also tried to go to the Labview8.5\www directory to verify my hmtl file, as i open this file, the WPT opened but my vi was not shown, rather it shows "invalid IP address" (as attached #2).
c.)then, itried to change the html address into IP address and i got the right front panel! ( as attached #3 shown).
here is my question again, the original hmtl address in Labview8.5/www is:
C:\Program Files\National Instruments\LabVIEW 8.5\www\CPM&MWHmain2.html
i change it into IP address that becomes like this (below) and it works.
why do i need to do this? before i did'nt do this method and just like you mentioned, your basic 10 steps satisfied the WPT. but now, i need to do this new method. do i miss something?
please considered this problem.
thanks!
Ivel R. | CLAD