LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable subvi on the web

Hi...
I have a main VI that is web publish on the net. Within this VI there are some subvi. These subvi will have their own front panel when activated. Can i disable these subvi from appearing on the client side (web)
0 Kudos
Message 1 of 5
(2,817 Views)
> I have a main VI that is web publish on the net. Within this VI there
> are some subvi. These subvi will have their own front panel when
> activated. Can i disable these subvi from appearing on the client side
> (web)

Your diagram is in complete control, so you likely want your diagram to
know it is remote or know based upon user login or other factor that
these windows shouldn't be shown. Then make the display optional.

Greg McKaskle
0 Kudos
Message 2 of 5
(2,817 Views)
hi...

thanz for the fast response...
but how can i set the display optional?
plz enlightened me
0 Kudos
Message 3 of 5
(2,817 Views)
> thanz for the fast response...
> but how can i set the display optional?

Conditional code in LV is code inside of a case structure. You have two
different options. You either put the entire subVI call into a case and
avoid calling it. This works if it has no side effects.

The other way to make it conditional is to turn off the Open when Called
options and use the VI Server to Optionally set the VI panel open
property to True. So if the subVI has side effects, you always call it,
but sometimes set the panel to visible, and other times not.

Greg McKaskle
0 Kudos
Message 4 of 5
(2,817 Views)
Hi,
I think there are some misunderstanding, I think I am not clear enough. Actually I wanted the front panel of the subvi to appear on host side. But on the client side (through web-publishing) the front panel of this subvi will not appear.
Thank you

Best Rdgs,
Sky
0 Kudos
Message 5 of 5
(2,817 Views)