Jump to content

Hiding LEDs during runtime


Recommended Posts

Does anyone know how to hide some of the LEDs or buttons on the front panel based on some conditions. Actually I am developing an user interface which will display the status of some digital lines and these lines are not fixed. They will vary with the project. So, I want to read the no:of lines from a file and display only those LEDs on the front panel .I want the rest of them to be either hidden or grayed out. How to do it?

Link to comment
Does anyone know how to hide some of the LEDs or buttons on the front panel based on some conditions. Actually I am developing an user interface which will display the status of some digital lines and these lines are not fixed. They will vary with the project. So, I want to read the no:of lines from a file and display only those LEDs on the front panel .I want the rest of them to be either hidden or grayed out. How to do it?

1570[/snapback]

I suggest use Property Node.

Example is here:

http://layer.uci.agh.edu.pl/~mikrobi/LAVA/...ropertNode.html

You could also write to Property Node static Boolean value for hide/show indicator.

If you want to grayed or disabled only control use Disabled property and set 0, 1 or 2 (enabled, disabled, disabled & grayed)

regards

Mikrobi

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.