Skip to main content
1-Visitor
May 19, 2017 7:51 PM UTC
Question

Blinking LED Display Widget

I have got a LED Display Widget.

When the value is less than 5, I change the color to red.  How can I make the number blink?

Thanks,

Dan

5 replies

5-Regular Member
May 22, 2017 2:48 PM UTC

Hi Dan, do you just want to change the color at once the moment the value goes below 5 or you want it to continue blinking the moment values goes below 5. If it's just about changing once you can do that with State Definition

Translate
dmahoney1-VisitorAuthor
1-Visitor
May 22, 2017 5:39 PM UTC

Thanks.

Yep, state definition got me to red digits. Now I would like to add blinking and didn't see any builtin way to do it.

Dan

Translate
5-Regular Member
May 23, 2017 4:26 AM UTC

Hi Dan Mahoney​,

As per my knowledge; this feature(number blink in LED widget) is not available out of the Box. You may look into widget modification and custom extensibility  to develop your own solution. Attached is documentation/guides.

Translate
1-Visitor
May 23, 2017 8:24 AM UTC

Hi, I think about a workaround. You can place a second empty LED Display widget (2) on the first one (1). When the value of (1) is less than 5, use a Validator to activate an AutoRefresh which changes frequently the Visibility of (2) on (1) (with a service, a Validator widget, a Expression widget...), to make a blink effect.

Translate
1-Visitor
Feb 15, 2018 7:08 AM UTC

Hello qngo,

I am having the same requirement of blinking LED, and I am trying to implement your solution (workaround), but I am not able to understand it completely. Being a newbie to thingworx platform, I would request you if you can explain your workaround in a little detail in steps.

Thanks

Translate