- Messages
- 1,749
- Country

I am having trouble and not sure why i can't subtract the VSR reading from the Profile setting as the total time then subtract the VSR reading from that total??? I used seconds only to cut down the code size.
Any help would be awesome....
VSR = Vertical Speed required display window in feet per minute.
PRFL = Settable profile input (Feet per minute)
Trying to create an ETE clock that estimates the time the VSR reading reaches the PRFL setting!
And continues to count down to zero...
I also tried these....
1.
<!-- ETE CALC DISPLAY -->
(L:TIME TOTAL,Seconds) (L:TARGET VSR MIN,Seconds) - (>L:TIME DISPLAY,Seconds) }
2.
<!-- ETE CALC DISPLAY -->
(L:TIME TOTAL,Seconds) (L:TARGET VSR MIN,Seconds) - abs (>L:TIME DISPLAY,Seconds) }
Any help would be awesome....
VSR = Vertical Speed required display window in feet per minute.
PRFL = Settable profile input (Feet per minute)
Trying to create an ETE clock that estimates the time the VSR reading reaches the PRFL setting!
And continues to count down to zero...
Code:
<!-- TARGET ETE -->
(L:TARGET PRFL CALC,feet) 99 >= if{
(L:TARGET PRFL CALC,feet) 60 / (>L:TARGET PRFL MIN,Seconds)
(L:VSR DISPLAY PLUS,feet) 60 / (>L:TARGET VSR MIN,Seconds)
<!-- ETE TOTAL -->
(L:TARGET VSR MIN,Seconds) (L:TARGET PRFL MIN,Seconds) - (>L:TIME TOTAL,Seconds)
<!-- ETE CALC DISPLAY -->
(A:Absolute time, seconds) (L:TIME TOTAL,Seconds) - (>L:TIME DISPLAY,Seconds) }
(L:TARGET PRFL CALC,feet) 99 < if{ 0 (>L:TIME DISPLAY,Seconds) }
STRING......................
<String>
%((A:GPS IS ACTIVE WAY POINT, bool))
%{if}
%( (L:TIME DISPLAY,Seconds) abs 60 / flr 99 min )%!02d!:
%( (L:TIME DISPLAY,Seconds) abs flr 2 % 0 == )%!02d!:
%( (L:TIME DISPLAY,Seconds) abs 60 % flr )%!02d!
%{else}__:__:__%{end}
</String>
I also tried these....
1.
<!-- ETE CALC DISPLAY -->
(L:TIME TOTAL,Seconds) (L:TARGET VSR MIN,Seconds) - (>L:TIME DISPLAY,Seconds) }
2.
<!-- ETE CALC DISPLAY -->
(L:TIME TOTAL,Seconds) (L:TARGET VSR MIN,Seconds) - abs (>L:TIME DISPLAY,Seconds) }
Last edited:








