- Messages
- 1,468
- Country

I am "apparently" following the protocol written in other gauges, but can't get the overheat lights to work.
If I use lt; they don't come on at all. If I use gt; they come on immediately. So clearly I'm doing something wrong. Guidance appreciated.
For the moment I'm using seconds so that I don't have to wait whilst testing!
1. There is a control switch which sets the windscreen heating level the first code snippet.
2. The second code snippet sets the criteria for the warning light.
vololiberista
If I use lt; they don't come on at all. If I use gt; they come on immediately. So clearly I'm doing something wrong. Guidance appreciated.
For the moment I'm using seconds so that I don't have to wait whilst testing!
1. There is a control switch which sets the windscreen heating level the first code snippet.
2. The second code snippet sets the criteria for the warning light.
vololiberista
Code:
<Value>(L:WINHEAT,number) (P:local time, seconds) 10 + (>L:OVERHEAT,number)</Value>
Code:
<Value>(L:WINHEAT,number) 2 == (A:SIM ON GROUND, bool) 1 == and (L:OVERHEAT,number) (P:local time, seconds) < and</Value>