LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding the generated html via www in a LAN?

I have created the html via labview and the whole 'thing' works fine in a LAN but when i want to acces the same program via the www i can't seem to find the webpage. The adress that i get from labview is http://pcemc8/isowave prototype.htm and what i did to acces the page from the www was too change pcemc8 into the ip-adress of the computer which is 10.2.98.108, but the computer is located within a LAN that is ended with a router. Do i need to implement the adres of the router or go about this in a different way? I tried to acces from my home (where i have lv 6.1 installed) but i did not find the page.

Also i would like to know what port lv is using because i am also running a webcam om port 8080 and have equal problem
s with that so maybe it is possible that they both want to acces via 8080. Again everything works fine within the lan buth when i try to acces from the outside i get nothing but frustration.
Anyway Thanks for the time
0 Kudos
Message 1 of 8
(3,094 Views)
This is a network setup issure and not related to labview. Please post your questions to other newsgroup. However, I'll elabrate just a little bit on this topic from my limited knowledge. Other people may have better answers than mine.

Basically, the router restricts your access to the computer behind it from the internet. In order to show your computer on the internet , you need to either put it in the DMZ (de-military zone), by doing so, you expose your computer on the internet and it is very unsafe. Or, you can setup your router to allow a wan to lan access on a port where your web server is using (which can be different than port 80). Check your router manual to see how to do it. Similarly, you need to open the port 8080 for wan-to-lan access in
order to use your webcam.

Joe
Message 2 of 8
(3,094 Views)
Hello joe,
I don't really know where to post this question elsewhere. (concerning remote panels)

Could you help me out here?
PS: the configuration is not that simple because the host where the html is generated is in the lab somewhere in the lan and all i do is create a link to the adress given by the html creator in a webpage on the server of the school. When i contact from within the lan every thing works buth from de www (via the router) i don't find the page. I think it is just a question of how to have the wright link, i thought this was http://ip-adress/isowave.htm but it doesnt work and i suspect that the router is causing the problems.
But i thank you for your answer.
0 Kudos
Message 3 of 8
(3,094 Views)
This won't work without changing the router settings, which I think the school won't like doing.

I'd try to find a different way to do this if possible. Do you have the possibility to upload to a "shared" directory somewhere in the school, from which you can access outside the school?

Ask the system administrator in the school, he's really the only one who can answer your question.

Your thinking that it's simply a matter of getting the right link is incorrect. The traffic is being blocked by the router (Which is exactly what it's supposed to do).

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 4 of 8
(3,094 Views)
I have been given an account where i have a public_html map but the problem is that i have to ftp the generated webpage to that map. Could this be possible with the labview "web publishing tool"?
And would it still work fine if you just open the weppage that has been ftp'ed there?
If it would then that would solve my problem i think.
Then the only thing that i would have to do would be making a new htm page and storing it at the public_html directory of the school's server. Or ftp'ing it later inderectly. And then just calling that page.

thx for the reply
Wim
0 Kudos
Message 5 of 8
(3,094 Views)
If you just want to see the updated frontpanel image, then it is much easier because you can save it to an image and put the image (copy or ftp) into your public html site at a regular interval. Of course, you have to write a webpage to display the image and some other data.

If you want to control the application as well. The answer is no. You must contact your IT and tell them what you want exactly. They probably can work out something for you.

Your application works in a lan environment because your request never went outside your lan.

Joe
0 Kudos
Message 6 of 8
(3,094 Views)
Well i do want to control the front panel so i will have to contact my IT but the problem is that i don't exactly know what to ask them.
Which port has to be openend? i don't know what labview uses.
And is it sufficient then to just use the http://ip adress/isowave.htm or not?
I am sorry if these questions are really stupid but i don't understand what is necesarry.
I need to know exactly what i need to change to make this work.
I also need to know the ports used for the datastream of the front panel because i am also showing a streaming video that wants to use port 8080 for incoming traffic (in another frame but in the same website).
THX
wim
0 Kudos
Message 7 of 8
(3,094 Views)
When the labview server is running, you can go to to the menu to configure it, it should tell you what port is used. Or, Broswe in the NI's program directory, there is also a configuration file that can tell you which port it uses. For VI server port, you can check the preference setting from the Tools->Options from whithin Labview. The ports used by labview can be changed.

When everything is setup and labview web server is running, you can use Http://ip:port/software.htm to access the pages.

Joe
0 Kudos
Message 8 of 8
(3,094 Views)