09-19-2007 03:18 PM - edited 09-19-2007 03:18 PM
Message Edited by Kenny K on 09-19-2007 03:19 PM
09-19-2007 03:33 PM
I also tried adding in an event structure, and setting the timeout to the same as you have it. The vi still functioned normally.
I am not sure if it matters or not, but are you running the vi on the same pc you build it on, or are you transfering it to another computer and then trying to run it??
Just a wild guess here, but are you stuck in a loop somewhere when it is in "idle" mode??
Also, I would recommend wiring all the error clusters, and doing some error handling. Remember that a system dialog only appears on the host PC, the remote clients will not see it, so the program can appear locked up when it has an error.
For reference, link to knowledge base article on the same topic.
09-19-2007 03:44 PM
09-26-2007 11:42 AM
Gentlemen, thank you for your feedback, it was helpful. What I found out is that 'RemotePanel.ConnToClients' does not work for re-entrant VIs. It works well for non-re-entrant VIs whether the property is in a separate VI running on the server or the target VI. I was not able to see which instances were open and controlled by a remote user from the server side much less control them properly for my re-entrant VI. I did figure out a way to get the remote panel to autostart although indirectly. Instead of using IE I wrote a VI that is run from the client side. I used the remote panel server method to open the target VI from the client with the request control bool set to true then wait for the remote panel server property to let me know when the client is in control of the VI then use the Microsoft keybd_event dll and do a Control+R to run the VI. Sorry for the long sentence. The remote panel server property knows which instance by name was launched where as the remote panel conn to client does not. The client can close the session by entering Control+W, ALT F4 or click the X in the corner and it all goes away.
Thanks again
Bob
09-17-2009 07:28 PM
09-18-2009 10:33 AM
Ethan85
Here is the vi that I used for launching the remote; it has the keyboard code plus how I used it. I hope its useful to you.