04-26-2010 06:20 AM
04-26-2010 09:31 AM
To get more help with this you should post an image illustrating what you want to accomplish.
On the surface this sounds like a "remote witnessing" application where you want a single web-page that get you started and then does the re-directing to the appropriate target machine.
Ben
04-26-2010 10:31 AM
04-26-2010 10:47 AM
First let me set your expecations.
This is going to require a bit of work. AS you move along break up the challenge into bite-sized chunks and handle them one by one posting new Q's for each puzzle.
Inthis thread starting at post #39 I posted a brain-flush outlining how the LabVIEW community could set up a web-site to allow us to particiapte in virtual robot wars. Please take a look at what I posted there and give it some thought.
I would be very interested in any posts that can simplify this approach.
Ben
04-26-2010 11:25 AM
From your post I got this idea:
Whenever the client requests a VI for an experiment a new process is spawned off, that handles the user session for that experiment, forwarding him to the machine that hosts the Experiment. If this is the case, then won't the machines still be be needing a public IP?
04-26-2010 11:33 AM
amragman wrote:From your post I got this idea:
Whenever the client requests a VI for an experiment a new process is spawned off, that handles the user session for that experiment, forwarding him to the machine that hosts the Experiment. If this is the case, then won't the machines still be be needing a public IP?
If you just redirect the user to that machine yes.
If your public machine acts in the users behalf, then the server could host FPs for each experiment. Those FPs could then use VI server to update values. So the user still interacts with a LV app on the public mahcine but the public machine turns around and checkes the private machine (via VI server or other update methods). I don't expect this reply helped much aside from giving you another term (VI sever) to look into.
Ben
04-26-2010 12:09 PM
Ben wrote:If your public machine acts in the users behalf, then the server could host FPs for each experiment. Those FPs could then use VI server to update values. So the user still interacts with a LV app on the public mahcine but the public machine turns around and checkes the private machine (via VI server or other update methods). I don't expect this reply helped much aside from giving you another term (VI sever) to look into.
Ben
Hey this is the approach we've been on...I was stuck at how to configure VI Server for this.
04-26-2010 12:13 PM
amragman wrote:
Ben wrote:If your public machine acts in the users behalf, then the server could host FPs for each experiment. Those FPs could then use VI server to update values. So the user still interacts with a LV app on the public mahcine but the public machine turns around and checkes the private machine (via VI server or other update methods). I don't expect this reply helped much aside from giving you another term (VI sever) to look into.
Ben
Hey this is the approach we've been on...I was stuck at how to configure VI Server for this.
Depends on what you mean by "configure VI Server". In one of my remote witnessing apps, the GUI is just a thin layer calling VI Server invoked Action Engines to get teh updates and pass user actions.
Ben
04-26-2010 11:22 PM
04-27-2010 07:57 AM
First a suggestion on hwo to use this forum...
I and many of the contributors to this forum are volunteers so you can't expect anyone of us to reply. We also have our own jobs so we appreciate people who want to learn but are willing to do the leg-work themselves.
So go to the LabVIEW help and serach for the example on using the VI server. You can start with the example running a client and a serve on the smae machine. After you get that working move to getting it working across two machines. Any error codes you get should be in the forum somewhere so search out those to get it working.
If you run into trouble, post everything you have so far along with a clear question and hopefuilly one of the volunteers will help out.
I am telling you this because I don't want you to depend on me sonce I can disappear without notice when I go off to help one of my paying customers.
So...
Serach the examples, try it yourself, post with code, and have fun!
Ben