Jump to content


Photo
- - - - -

Detect if my VI is remotely controlled

webserver web client controll

  • Please log in to reply
6 replies to this topic

#1 javier viniegra

javier viniegra

    I want a LabVIEW icon under my name!

  • Members
  • 3 posts
  • Version:LabVIEW 8.5
  • Since:2007

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

#2 MarkCG

MarkCG

    More Active

  • Members
  • PipPip
  • 37 posts
  • Location:Austin TX
  • Version:LabVIEW 2012
  • Since:2007

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 rolfk

rolfk

    LabVIEW Aficionado

  • Premium Member
  • 2,045 posts
  • Location:Netherlands
  • Version:LabVIEW 2011
  • Since:1992

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,

#4 javier viniegra

javier viniegra

    I want a LabVIEW icon under my name!

  • Members
  • 3 posts
  • Version:LabVIEW 8.5
  • Since:2007

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

#5 COsiecki

COsiecki

    Active

  • Members
  • Pip
  • 19 posts
  • Location:San Antonio TX
  • Version:LabVIEW 2009
  • Since:2006

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 Jeffrey Habets

Jeffrey Habets

    Very Active

  • Premium Member
  • 188 posts
  • Location:Netherlands
  • Version:LabVIEW 2011
  • Since:1997

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.
---
Jeffrey
VIT

#7 javier viniegra

javier viniegra

    I want a LabVIEW icon under my name!

  • Members
  • 3 posts
  • Version:LabVIEW 8.5
  • Since:2007

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