Skip to main content
14-Alexandrite
December 22, 2020
Solved

how do I used state formatting for value display (displaying status of program)??

  • December 22, 2020
  • 1 reply
  • 4287 views

Hello,

         I want to apply state formatting' before (15 min ) program starting it will show in yellow background  and if program is start then I want to show status is "ON" in green background and if the program is finish it will show program status is "OFF" in red background please suggest how do I used state formatting for value display with these use cases and refer below attachment 

Thanks in advance

Best answer by odukiya

Hello @RM12 

 

Have you checked the following post?

https://community.ptc.com/t5/IoT-Tech-Tips/How-to-set-up-and-configure-Schedulers/m-p/537793/highlight/true#M762

 

Can you also help me with your thingworx version ?

 

Thanks

Om Dukiya

1 reply

5-Regular Member
December 22, 2020

Hi , State property works on the property value .So you can define a property and change the property value accordingly like using some event when program start or subscription or if property changes on time use timers event to show change on property and you can define state based on the property values and property values changes according to implementation.

RM1214-AlexandriteAuthor
14-Alexandrite
December 22, 2020

Thanks for your reply ,can you please explain in detail with one example how do I used state formatting for value display??

5-Regular Member
December 22, 2020

valuedisplay.PNG