LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to embed a .vi as a web page on a remote server

I use a remote server running a Plone content management system application to allow remote users connect via the internet and store data files (delimited text files) for later analysis .

I am using Labview 7.0

I wish to change our current data analysis process:

the process now:

1) go to the web site via an internet connection (this is a site served by a remote 3rd party server running a Plone instance)
2) download the data to a local PC
3) run the data analysis .vi on the local PC (the .vi prompts the user for the location of the data file, the user browses to the location on the local hard drive and then the .vi graphs the data and generates the results)

the desired new process:
1) using a smartphone or similar web enabled PDA go to the web site where the user can remotely control an embedded data analysis .vi
2) the remotely served .vi prompts the user for the url location of the data file and then the .vi graphs the data and generates the results

My questions:
A) How do I get the data analysis .vi loaded onto the remote server?  (I just don't see how to do this with the web publishing tool, maybe it is not possible?)
B) Will the remote server require other software such as Labview RTE?

Thanks,
Bernie
0 Kudos
Message 1 of 5
(5,640 Views)
Bernie,
I would install and configure an FTP-Server on the computer that runs your analysis.VI.
Users can upload data via FTP to that computer. (That way, they should know the absolute path to that file.)
Enable your analysis.VI to read data from the local disk.
Make your analysis.VI a remote panel and configure LabVIEW WebServer options accordingly.
Users now can connect to the remote panel and specify which data file the remote panel should read.
The remote panel then generates the results and displays them on the front panel.
Does it match your demands?
Guenter
0 Kudos
Message 2 of 5
(5,623 Views)
You are going to need to have more access than you probably already have.  On the remote server, you will at least need the RTE installed, given you build your VI into an exe.  On top of that, many servers are Linux based, which means you would need to compile your VI to run on that platform.  Essentially, you have to go through the same process you would need to go through to set that VI to run on any other computer, plus a bit more work (above post says a lot of that information)
0 Kudos
Message 3 of 5
(5,567 Views)
Thanks to both for your replies, I know understand and as was mentioned since the server is a linux machine I do not see a clear path to achieve what I envisioned.

Regards,
Bernie
0 Kudos
Message 4 of 5
(5,552 Views)

Hi Bernie.

Your "vision" should run on Windows in the same way as on Linux system (LabVIEW is available for both). Did you try to prototype a system that almost matches your requirements? This would provide a better understanding how the final system might work. I do not see that "clear path" either. For that reason I would create a prototype.

Regards, Guenter

0 Kudos
Message 5 of 5
(5,532 Views)