Stopwatch adherent to the reading of membership's card
I want to flower out a programme code which turn the stopwatch on by reading the membership's card and keeps the member subscribed until the card is again inserted in the barcode scanner.
Who posseses in that field refined knowledge?