Jump to content
Sign in to follow this  
Phil Duncan

[CR] Multistate Boolean LED Indicator

Recommended Posts

index.php?app=downloads&module=display&section=screenshot&id=74

Name: Multistate Boolean LED Indicator

Submitter: Phil Duncan

Submitted: 04 Jul 2009

Category: X-Controls

LabVIEW Version: 8.5

Version: 1.0.0

License Type: BSD (Most common)

Make this available on the VI Package Network?: Undecided

Multistate Boolean LED Indicator V1.0.0

Copyright © 2008, Phillip Duncan

All rights reserved.

Author:

Phillip Duncan

--see readme file for contact information

Background:

I have had many people ask for an LED type indicator for their project. During development, I often get asked to have this Boolean (ie 2 state) indicator display one of (more than 2) colours.

Whilst that in itself is not difficult, more often than not I am then asked to make the Boolean LED flash as well to highlight certain states.

For example a single LED will often need to indicate the following states:

OFF (green, red or grey)

ON (Green, red or grey)

Flashing (green, red, any other colour)

I have had so much demand for this functionality, that I decided to develop this XControl and share it with the LabVIEW Community.

Many thanks must go to Aristos Queue and his inspiring "Scrolling LED XControl" example.

Description:

This XControl is a typical Boolean LED indicator that can also be configured to flash between two user defined colours. The flashing interval can also be modified.

When not flashing, the XControl behaves as a normal Boolean LED.

This XControl is an indicator only is is not intended to be used as a control.

Dependancies:

There are no OpenG dependencies for this XCtonrol

Known Issues:

If you save this code for version 8.0/8.2, you may encounter issues trying to assign multiple properties in one property node.

This is a bug in LabVIEW 8.0/8.2

Change Log:

1.0.0 Initial release

Click here to download this file

  • Like 1

Share this post


Link to post
Share on other sites

index.php?app=downloads&module=display&section=screenshot&id=74

Name: Multistate Boolean LED Indicator

Submitter: Phil Duncan

Submitted: 04 Jul 2009

Category: X-Controls

LabVIEW Version: 8.5

Version: 1.0.0

License Type: BSD (Most common)

Make this available on the VI Package Network?: Undecided

Multistate Boolean LED Indicator V1.0.0

Copyright © 2008, Phillip Duncan

All rights reserved.

Author:

Phillip Duncan

--see readme file for contact information

Background:

I have had many people ask for an LED type indicator for their project. During development, I often get asked to have this Boolean (ie 2 state) indicator display one of (more than 2) colours.

Whilst that in itself is not difficult, more often than not I am then asked to make the Boolean LED flash as well to highlight certain states.

For example a single LED will often need to indicate the following states:

OFF (green, red or grey)

ON (Green, red or grey)

Flashing (green, red, any other colour)

I have had so much demand for this functionality, that I decided to develop this XControl and share it with the LabVIEW Community.

Many thanks must go to Aristos Queue and his inspiring "Scrolling LED XControl" example.

Description:

This XControl is a typical Boolean LED indicator that can also be configured to flash between two user defined colours. The flashing interval can also be modified.

When not flashing, the XControl behaves as a normal Boolean LED.

This XControl is an indicator only is is not intended to be used as a control.

Dependancies:

There are no OpenG dependencies for this XCtonrol

Known Issues:

If you save this code for version 8.0/8.2, you may encounter issues trying to assign multiple properties in one property node.

This is a bug in LabVIEW 8.0/8.2

Change Log:

1.0.0 Initial release

Click here to download this file

Thanks! It is cool.

Share this post


Link to post
Share on other sites

Can some one save this in 8.2 so I can take a look at it? If it works for me great, if not I can work around the bug.

Thanks

Share this post


Link to post
Share on other sites

Awesome, I don't need this right now but there have been times where something like this would have came in handy.

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

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