Hi to All
I have various thermal sensors on a plate. I would like to change the gradient depending on the measured value in real time.
How can I do this?
I tried it but it didn't work active.
App Developper active gradient change
-
stefan.erni
- Valued Contributor
- Posts: 1112
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 211 times
- Been thanked: 230 times
-
Steve-Matrix
- Matrix Staff
- Posts: 1630
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 227 times
- Been thanked: 385 times
Re: App Developper active gradient change
The property value takes a string variable, but I think if this is a number then it may have to be a decimal number (i.e. instead of "FF" you should use "255").
Also, if you just want to change one side of the gradient, consider the "SetColor" function instead of "SetProperty" as that gives more control.
See attached.
Also, if you just want to change one side of the gradient, consider the "SetColor" function instead of "SetProperty" as that gives more control.
See attached.
- Attachments
-
- FC11_gradient_ST.fcpcd
- (11.06 KiB) Downloaded 11 times
-
stefan.erni
- Valued Contributor
- Posts: 1112
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 211 times
- Been thanked: 230 times
Re: App Developper active gradient change
Hi Steve
It's working nice.
Only the flame is red on the outside and blue on the inside.
It should be the other way around. But I'll try to fix that.
Here the result: I suspect the string is not hex..
program for gradient
It's working nice.
Only the flame is red on the outside and blue on the inside.
It should be the other way around. But I'll try to fix that.
Here the result: I suspect the string is not hex..
program for gradient
- Attachments
-
- FC11_gradient_post2.fcpcd
- (19.5 KiB) Downloaded 5 times