Pc Lap Counter

Webcam Track Call

Using a webcam for track call:

You can send commands to Pc Lap Counter using a webcam and a special program that can detect movement in one or more areas.
I tried Web Zone Trigger. It is perfect for this, because it can run a program when movement is detected in a specified area (you can specify more than one area).
I added to Pc Lap Counter a simple program called plc_remote.exe that Web Zone Trigger can use to send commands to Pc Lap Counter (the program is in the directory c:\Pc Lap Counter).

Here is a description of the commands that can be sent to Pc Lap Counter:

Command / Description
CommandDescription
STARTStart the race
GOStart the race
RESTARTRestart the race and switch the power on
CONTINUERestart the race and switch the power on
PAUSEPause the race and switch the power off
STOPPause the race and switch the power off
SPRStart, pause or restart the race, depending on the race state
POWEROFFSwitch the power off on all lanes
POWERONSwitch the power on on all lanes

Here is a short guide on how to set up Zone Trigger for track call:

Set up the detection zone:

Action to take when the zone is triggered:

Here the program plc_remote is run with the command “PAUSE”.

For perfect detection, you need to set a few options in the Zone Trigger program:

Result: when there is a change, the cursor turns blue and the “plc_remote.exe” program is run,
so Pc Lap Counter receives the command “PAUSE” and pauses the race.