Jump to content
Sign in to follow this  
v_pan

watch VI from web

Recommended Posts

hello , is it possible to watch a VI from internet?

i made a simple VI and i want to watch it from everywhere.

i have done some tries without result.

can you help me?

Share this post


Link to post
Share on other sites

Some things to keep in mind:

1 - the "looking" PC has to have the runtime engine installed.

2 - your "publishing" PC has to upload it via an open port (in Europe, 80 is blocked)

3 - the "looking" pc has to be able to look at the same port (where I work, only 80 is possible)

the combination of 2 and 3 make it impossible for me to do that.

.

Share this post


Link to post
Share on other sites

2 - your "publishing" PC has to upload it via an open port (in Europe, 80 is blocked)

This is straying OT, but I've never heard of that - why?

Share this post


Link to post
Share on other sites

Some things to keep in mind:

1 - the "looking" PC has to have the runtime engine installed.

2 - your "publishing" PC has to upload it via an open port (in Europe, 80 is blocked)

3 - the "looking" pc has to be able to look at the same port (where I work, only 80 is possible)

the combination of 2 and 3 make it impossible for me to do that.

.

In response to #1, with my web service tool, that is not correct. The 'looking' PC only needs a web browser. ANY web browser. I can 'look' with my iPhone. I am certain that the run time engine is not installed on my iPhone. As for #2, if that were true, then nobody in Europe would ever be able to surf the web, as all web traffic (HTTP) uses port 80.

Share this post


Link to post
Share on other sites

As for #2, if that were true, then nobody in Europe would ever be able to surf the web, as all web traffic (HTTP) uses port 80.

Actually, that happens sometimes when you create a web server on your home computer. My ISP (Montreal) blocks outgoing data on port 80 to prevent me from using it as a web server (without paying big bucks for a commercial access). The workaround is to configure the web server to use a different port (http://www.example:1000) that is not blocked. I guess that's what he's talking about.

Share this post


Link to post
Share on other sites

1 - the "looking" PC has to have the runtime engine installed.

2 - your "publishing" PC has to upload it via an open port (in Europe, 80 is blocked)

3 - the "looking" pc has to be able to look at the same port (where I work, only 80 is possible)

1) Sorry, for looking it's not needed, but for controlling a control or knob I definitly needed it.

2) Is so. Arguments of "surfing the web" are irrelevant. I don't know (exacly) why it is blocked

.

Share this post


Link to post
Share on other sites

1 - the "looking" PC has to have the runtime engine installed.

2 - your "publishing" PC has to upload it via an open port (in Europe, 80 is blocked)

3 - the "looking" pc has to be able to look at the same port (where I work, only 80 is possible)

1) Sorry, for looking it's not needed, but for controlling a control or knob I definitly needed it.

2) Is so. Arguments of "surfing the web" are irrelevant. I don't know (exacly) why it is blocked

.

Well, you certainly cannot 'turn a knob' with the web service solution. You can do some things with an automation interface. Like sending a command with parameters to cause the remote app to do something. But graphical interaction is not possible. There is a new web tool coming from NI where you can write a client side UI using LabVIEW like code and compile it into Silverlight code that the client can run. Limits you to web browsers that support Silverlight, however. And it means you need to write two apps instead of one.

Why port 80 is blocked for you, I have no idea. But, I can assure you all of Europe is not blocked from port 80.

Share this post


Link to post
Share on other sites

i'm a little bit confuse about this..

can you show me what steps must i do to

watch a simple vi from another PC ,via internet?

web publishing tool gives me an address like

http://mypc/simple.vi

but this address is a local .

maybe i must change "mypc" to current ip address like 82.210.125.150??

Share this post


Link to post
Share on other sites

but this address is a local .

maybe i must change "mypc" to current ip address like 82.210.125.150??

Yes you should, or you need some valid internet DNS address.

However when I try to go to 82.210.125.150 I get nothing, if you are connected through a switch you should use port-forwarding to get the incoming port 80 on your computer.

Contact you sysadmin, or if you are the sysadmin read your switch documentation. Be aware that you should not open unnessecary ports.

Ton

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.