04-01-2015 02:13 PM
So, what the title says. I'm having issues with Remote Panels.
First, the default example in LV 2014 does not appear to be working. The client always returns "vi not loaded in server computer" type error. Yet, I found an example from LabVIEW 7 (attached) that appears to be working fine. The differences are very minor. Any suggestions?
Second, if anyone has links to good reading / documentation / examples, etc on remote panels any and all would be much appreciated. End goal is to have medium-large sized application that will be run remotely in a LabVIEW environment (not web).
Thanks!
04-01-2015 04:10 PM
04-02-2015 09:43 AM
After some testing, it looks like the remote panel example shipped with 2014 does not work. It is missing the FP.Open VI Method needed to load it in to memory.
The next problem I'm having with remote panels is launching dialog / popup windows. Calling a VI that has the property "Show front panel when called" will launch the VI on both the client and server computer. If the client closes the panel (Panel Close?) event will close it on the client, but not the server - effectively locking the running VI. Any fixes to this?
04-02-2015 09:54 AM
Not that I can think of, unless... Perhaps you could get a reference to the dialog box that is running on the server and force it to close in some way. A better solution as a whole might be to not using blocking dialog boxes. Can a VI tell if it's being remoted into?
Mike...
04-02-2015 10:05 AM
Rewriting my application to not use pop up dialog / menus / options, etc is... not ideal 😛
As far as I can tell there is no way for a VI to determine if it is being called via remote access. I guess plan "B" is to just create my own menu bar and add it to all of my dialogs, and turn off the "Has Title Bar" property. It'd be a pain, but easier than redesigning things.