Login Page - Create Account

Support Board


Date/Time: Fri, 04 Jul 2025 21:43:03 +0000



Post From: Study Line Color Based On Values

[2016-08-10 04:46:35]
User147461 - Posts: 33
I've searched the Support Board for a code example with no luck. Here is what I'm trying to code:

My study produces a signal line that oscillates between a low value of 0 and a high value of 100.
I want to color the signal line green when the value is <= 20, red when >= 80 and gray when > 20 and < 80.

How do I change the signal line color using 3 different colors with ACSIL?

Thank you!