Detect if my VI is remotely controlled
Started by
javier viniegra
, Jul 04 2012 12:30 AM
webserver web client controll
6 replies to this topic
#1
Posted 04 July 2012 - 12:30 AM
I have a VI with some Dialog Boxes and I implemented this VI to be cotrolled through internet.
My problem is that those popup messages are not loaded through internet and my VI stops running so I think to replace those dialog messages with a simple text indicator and two buttons, but to do this first I need to know if my VI is remotely controlled, is there a way to know that?
Thankyou
Javier Viniegra
My problem is that those popup messages are not loaded through internet and my VI stops running so I think to replace those dialog messages with a simple text indicator and two buttons, but to do this first I need to know if my VI is remotely controlled, is there a way to know that?
Thankyou
Javier Viniegra
#2
Posted 04 July 2012 - 06:11 AM
Right, can't do pop ups with remote panels. But why do you need to know if the remote panel has taken control?
#3
Posted 04 July 2012 - 06:23 AM
Right, can't do pop ups with remote panels. But why do you need to know if the remote panel has taken control?
I guess the thinking is to not show popups, when being controlled remotely, but only when in local control. But it would seem more logical to make the application generally such that popups are not required, or separate the UI for remote control from the UI for local control,
Rolf Kalbermatter
CIT Engineering Netherlands
A division of Test & Measurement Solutions
#4
Posted 04 July 2012 - 01:49 PM
Right, That is my problem, if it is not possible I will copy my VI and remove the popups for remote control.
Thankyou
Javier
Thankyou
Javier
#5
Posted 06 July 2012 - 10:12 PM
You could have your VI send messages to a pop-up handler. That way, whether remote or local, its not dealing with the pop-ups itself. Then you would not need multiple versions of your VI
#6
Posted 08 July 2012 - 01:46 PM
FWIW, you can use popup's in remote panels. Just not system dialogs. If you implement your own popup dialog sub-VI it will also work for a remote panel.
#7
Posted 09 July 2012 - 03:43 PM
Thankyou Jeffrey Habates and COsiecki you are completely right, I can use popups, I am creating those popups dialog vi following this tutorial http://www.ni.com/white-paper/8768/en
Have a nice day
Have a nice day












