links from


Stop5Watch Script
Webb - all rights reserved - ©2004
Author - Jann Scheuer

Summary: 5 separate stopwatches in one RPN application

Instructions: Application Stop5Watch

by Jann Scheuer,

1 Units
Application Stop5Watch consists of two units (i.e. RPN function sets):
Stop5 and Watch5.

2 Description
Application Stop5Watch features five simultaneous stopwatches that may
be used separately or together (i.e. started or stopped by one stroke).

Lap and split time values may be saved in the RPN stack. Time values
are indexed so that the user can see which of the five watches a time
value relates to.

The five stopwatches may be operated by the scroll buttons, but scroll
buttons may also be used normally, i.e. for functions set scrolling.

Stop5Watch also features sorting functions for the time values.

3 Buttons

Unit Stop5

Menu for setting default values for Stop5Watch.
Split - show split time values.
Lap   - show lap time values.
Off   - menu for setting offset value in hundreds of seconds.
Sav   - toggles saving of time values.
But   - toggles function of scroll buttons.

Calls the Watch5 unit - the function set for displaying and sorting
the results.

^ ^ ^ ^ ^ - start and stop (at split or lap time value)
each watch.

< - start and stop all watches.

v v v v v - reset each watch.

< - reset all watches.

Up scroll button
Function set scrolling or goto next watch.

Down scroll button
Functions set scrolling or start and stop watch.

Unit Watch5

Calls the Stop5 unit.

Calls the Stop5 unit.

Rotates the stack so that values move upwards.

Rotates the stack the other way around.

Sorts the stack, either according to indexes or time values.

Clears the stack.


Offset values
Offset values (in hundreds of seconds) are subtracted from read-out
time values. Offsets go from 0 to 25 hundreds of a second. Initial
value is 0. The idea behind this is to eliminate whatever time it may
take the user to press the buttons and RPN to execute button functions.

Scroll buttons
The Pilot scroll buttons may either function as normal RPN function set
scrolling buttons, or as stopwatch operating buttons. The startup function
is the normal scrolling function. When "Stop5" and "But" is pressed the
buttons operate the stopwatches (and vice versa). The present mode is
not visible to the user in the display. (If you do not know you have to
try and see what happens.)

Indexed time values
Indexes on time values are only used when time value saving is on. So
if no index appears in time values (in the sixth digit after the comma)
split or lap times are not put on the RPN stack.

Active/Inactive watches
Inactive watches show the value -1. Active watches show 0 or a higher
value, if stop has been pressed. Values for inactive watches are deleted
when Stop5 is closed.

Pilot off
Stop5Watch does not run while Pilot is off.


RPN.2.k \ Stop5
[o]{xhUdD'Offset value (s/100)\Compensates reaction time.|<|Ok|>|'
"Stop5"D'^ - start, split or lab \v - reset, < - all

RPN.2.e \ Watch5
"Srt"D'Sort order|Asc|Des|Asc-i|Des-i|'

0.0004 secs

top of page

Webb - all rights reserved - ©2004
powered by Spinneret 0.10