Problem while testing LED Meter
Hello Everyone !
I created one animated object LED Meter and given the values as below :
Current Value - 40
MinRange - 0
MaxRange - 100
From the LED1 to LED10 written the code as given below :
If ( CurrentValue > 10, Red, Green )
Tried to follow as possible steps but unable to get the correct output based on the values given for the above parameters. Can anyone tell me where I am getting wrong. Also when I am unable to test this. So also let me know the steps to test this.
I have tried following code it works for me
stringif( TempVal>=10, "red", "white" )
above code i applied to fill field of LED 1 to 10
TempVal is a number property.
Note (for fill property it wont allow if function)
Hope it helps!!