I'm trying to get a bmp to show when 1 or 2 or 3 or 4 of 4 conditions are met.
My code ignores parts and i struggle to see why.
Its an engine information system, and the spark plug foul detection. If one of the four engines begin to foul, an exclamation warning symbol appears on-screen
Ive tried a few(many) attempts but i can only get 1 and 3, or 1 and 4 , or 2 and 3 ect to work.
Current code thats making 1 and 3 work :
Ive tried '|' and '||' and 'or' also. Im guessing its my syntax
Can anyone see my error?
Many thanks
My code ignores parts and i struggle to see why.
Its an engine information system, and the spark plug foul detection. If one of the four engines begin to foul, an exclamation warning symbol appears on-screen
Ive tried a few(many) attempts but i can only get 1 and 3, or 1 and 4 , or 2 and 3 ect to work.
Current code thats making 1 and 3 work :
XML:
<!-- Warning Exclamation -->
<Element>
<Visible>
(L:Engine1_Foul_Factor) 0.03 >
(L:Engine2_Foul_Factor) 0.03 > or if{ 1 (>L:Warning,bool) } els{ 0 (>L:Warning,bool) }
(L:Engine3_Foul_Factor) 0.03 >
(L:Engine4_Foul_Factor) 0.03 > or if{ 1 (>L:Warning,bool) } els{ 0 (>L:Warning,bool) } </Visible>
<Position X="137" Y="85" />
<Image Name="WarningExclamationMark.bmp" Bright="Yes" />
</Element>
Ive tried '|' and '||' and 'or' also. Im guessing its my syntax
Can anyone see my error?
Many thanks