LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hidden controls appearing in web instance

 Hello,

      i have created an application in which the vi has some controls and these controls are useful only during the development and on special instance can be unlocked in the application. i basically use app.kind property node to determine what environment the vi is running in and suitably hide/unhide the controls.

 

    I have the application published on the web using the NI Web publishing tool. The computer which hosts the app works fine(and these controls remain invisible) but these controls can be sen on the web page. The vi is in "Embedd" mode. As a workaround i have pushed these controls some distance away and hence avoided the user from knowing about it. but this introduces the problem that i cannot view these controls when i unlock them.

 

Any help would be greatly appreciated.

0 Kudos
Message 1 of 3
(2,685 Views)

Interesting. For completeless, can you give us your LabVIEW version?

 

Can you place an app.kind property node and display the output. What does it say in the web instance?

 

Does it work better if you would use a conditional disable structure instead? (Use the RUN_TIME_ENGINE case as described here).

0 Kudos
Message 2 of 3
(2,634 Views)

Hello Mr Altenbach,

    per you advice i did try using the conditional diagram diable structure but the issue still exists. i created an indicator for app.kind and it gave the correct environment value. In the web instance it says "Run time system" .I'm currently using labview 2012. Herewith i have attached few snaps that show how i use app.kind and cond. disable structure, just to be sure i'm not straying. Thank you.

 

image 1 is as per your suggestion. Image2 is the original code.

Download All
0 Kudos
Message 3 of 3
(2,613 Views)