LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Want to monitor/control my running VI anywhere in the world !!

Hi all,
 
As 'Lycangeek' explained very good, me and i think 'tst' is also agreed to him. When it's the matter about publishing pages over the internet i think the IP address of my PC is no longer having the interest of the end user, just because I'm making a page available on the internet via saving it onto my company's server which is further connected to the ISP and obviously which has given some space us to do like that.
 
There are a lots of ways to know the current IP address of the connected PC, even i think we can know the Internet IP, but why if it's variable for each new connection.
 
The job of identification of a connected computer is done by ISP which uses NAT and assigns each of it's client a unique name. Through this web server we get connected to the internet and if somebody wants to visit our website, he finds us by using that unique name (just like every web page on the internet).
 
Now in case of LabVIEW, they say that our LabVIEW's server behaves like a web server. Then how it'll get connected to this structure? and What address it'll be assigned? I mean what all a visitor will type in URL?
 
 
I don't know, I might be wrong at above so please clear my doubs and give me ideas u having.
 
 
Thanking all of you,
 
-Alok
 
 
 
 
 
 
-AL☼K
0 Kudos
Message 11 of 19
(1,850 Views)
Hi all,
 
As 'Lycangeek' explained very good, me and i think 'tst' is also agreed to him. When it's the matter about publishing pages over the internet i think the IP address of my PC is no longer having the interest of the end user, just because I'm making a page available on the internet via saving it onto my company's server which is further connected to the ISP and obviously which has given some space us to do like that.
 
There are a lots of ways to know the current IP address of the connected PC, even i think we can know the Internet IP, but why if it's variable for each new connection.
 
The job of identification of a connected computer is done by ISP which uses NAT and assigns each of it's client a unique name. Through this web server we get connected to the internet and if somebody wants to visit our website, he finds us by using that unique name (just like every web page on the internet).
 
Now in case of LabVIEW, they say that our LabVIEW's server behaves like a web server. Then how it'll get connected to this structure? and What address it'll be assigned? I mean what all a visitor will type in URL?
 
 
I don't know, I might be wrong at above so please clear my doubs and give me ideas u having.
 
 
Thanking all of you,
 
-Alok
 
-AL☼K
0 Kudos
Message 12 of 19
(1,848 Views)
Hi all,
 
As 'Lycangeek' explained very good, me and i think 'tst' is also agreed to him. When it's the matter about publishing pages over the internet i think the IP address of my PC is no longer having the interest of the end user, just because I'm making a page available on the internet via saving it onto my company's server which is further connected to the ISP and obviously which has given some space us to do like that.
 
There are a lots of ways to know the current IP address of the connected PC, even i think we can know the Internet IP, but why if it's variable for each new connection.
 
The job of identification of a connected computer is done by ISP which uses NAT and assigns each of it's client a unique name. Through this web server we get connected to the internet and if somebody wants to visit our website, he finds us by using that unique name (just like every web page on the internet).
 
Now in case of LabVIEW, they say that our LabVIEW's server behaves like a web server. Then how it'll get connected to this structure? and What address it'll be assigned? I mean what all a visitor will type in URL?
 
 
I don't know, I might be wrong at above so please clear my doubs and give me ideas u having.
 
 
Thanking all of you,
 
-Alok
 
-AL☼K
0 Kudos
Message 13 of 19
(1,846 Views)

So, your company has a server which hosts a web site...

In that case, it's another matter.

To connect to your computer, you would still need to do what Brian outlined. If you can get the people who manage your site to run your application on the server, then you should be set.

You would need to build your code into an executable and take the htm file created by the web publishing wizard (I believe the LV help explains how to use remote FPs in the executable).

Then, you would need to install the application (including the LV Run-Time engine) on the server and place the htm file in the appropriate place.

As a last thing, the people managing the server should be able to tell you the IP address assigned to the site and where the htm file is on the server, so you should be able to browse to http://x.x.x.x/path-to-application-htm-file and the application should be visible.

The main problems with this would be to convince the server guys to do this, to update the application in the future (you will have to talk to them each time) and what happens if they replace the server - you will have to reinstall your application.


___________________
Try to take over the world!
Message 14 of 19
(1,843 Views)

hello tst,

everything is fine you wrote, but still want to share something with you.

is it possible to publish something without a host server? If I don't have the web server occupies some space from ISPs, then?

Second thing, even if i do publish it via my local host server then we would't need to reinstall application everytime if we want changes in my pages.

I thought so b'coz if we can upload our website with the same procedure.......we don't need to convert it into an application, moreover if we require changes then we just have to replace files with the same name and as soon as the viewer refreshes the browser, gets updated page.

 

cheers !!

 

-Alok

-AL☼K
0 Kudos
Message 15 of 19
(1,832 Views)


@AL☼K wrote:

is it possible to publish something without a host server?


Brian explained how to do that - you need to get your IT people to assign a port for your own computer. This will be a problem if the only static IP address you have is at your ISP and not at your company.


we can upload our website with the same procedure.......we don't need to convert it into an application, moreover if we require changes then we just have to replace files with the same name and as soon as the viewer refreshes the browser, gets updated page.

Don't confuse files with applications. In order for people to see the application, you need to install it on the server once and it has to run all the time. After that, if you want to replace it, you will need to stop it each time and replace it with the new exe (not install, just replace and run the new application).

If the server hosting your site is a remote server, then you have a problem, because I don't know if the company owning it will let you install a program on it.


___________________
Try to take over the world!
Message 16 of 19
(1,831 Views)
And a couple of other points to keep in mind. You have to use NI's web server for your VI. Your LabVIEW license includes a limited number of licenses for simultaneous clients. The exact number depends on the type of LabVIEW you have (base, full, professional). You may have to buy additional licenses. Lastly, every client will require the installation of the LabVIEW run-time engine. Make sure you provide a link so it can be downloaded.
0 Kudos
Message 17 of 19
(1,817 Views)

Hi tst,

I'm using LabVIEW's web publishing tool, and it creates HTML file in the default (C:\Program Files\National Instruments\LabVIEW 8.0\www) folder. this HTML file is continuously gets updated, i don know LabVIEW server might be doing that. But is it an application? If I use the same file then should it be installed everytime i press a button on my remote panel (having the LabVIEW server).

at this stage i dont want to trouble my company's server coz it's still on R&D. And also NI guys said that my front panel can be published on internet only by using ''Web Publishing Tool".

-AL☼K
0 Kudos
Message 18 of 19
(1,804 Views)

The htm file created by the wizard is only used to tell the browser that when it opens the page it also needs to connect to a running application and display it. It only has a few lines of text with the important one being the one pointing it to the proper application. The htm file itself never gets changed.

Since the server does not have LV installed, you will have to build the VI as an executable and install the LV run-time engine on the server. The RTE will allow the server to run whatever LV application you place on it, but you have to install it once. Technically, an LV application could run without installing the RTE, but that would only apply under certain conditions and would require knowing what you're doing. I'm pretty sure it won't help you in this case, because you would need the LV RTE to be registered as an ActiveX server. As Dennis also mentioned, if you want the users to be able to control the VI, each of them will have to install the LV RTE on their computer as well.

Basically, as the NI guys told you, you can publish your VI on the web simply by using the wizard, but you must have a static IP address in order to access that front panel. If this is only for your use, you can try other solutions, like using the Remote Assistance feature built into XP (Start>>Programs>>Accessories). This will allow you to connect to the computer even without knowing its IP address, but does not always work behind a firewall.


___________________
Try to take over the world!
0 Kudos
Message 19 of 19
(1,797 Views)