Pc Lap Counter

Logiciel de comptage
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  

Share | 
 

 The new Live timing system of Pc Lap Counter

View previous topic View next topic Go down 
AuthorMessage
guy

avatar

Number of posts : 2049
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: The new Live timing system of Pc Lap Counter   29/8/2014, 18:30

Since version 5.33 Pc Lap Counter include a live timing systems so can follow your race on internet in real time, more information here:
http://www.pclapcounter.be/livetiming.html



Last edited by guy on 3/9/2014, 08:43; edited 2 times in total
Back to top Go down
View user profile http://www.pclapcounter.be
UDoKuoio

avatar

Number of posts : 36
Localisation : Italy
Registration date : 2013-11-13

PostSubject: Re: The new Live timing system of Pc Lap Counter   30/8/2014, 01:39

WOW! Want to test NOW!!!
Back to top Go down
View user profile
jaydrive2000



Number of posts : 79
Registration date : 2012-09-05

PostSubject: Re: The new Live timing system of Pc Lap Counter   30/8/2014, 09:35

Just got our test system working for Otaku Scalextric. Working like a charm =) Will be awesome to get running properly later on.

Guy, 2 questions for you...

1) Columns of data - i appreciate uploading driver images and car images would take a little longer, which is why the system is largely text only. However, is it possible to turn off certain columns of data? We do a 'blind' endurance at an event once a year and we hide the number of laps from the screen and the position from the Zoom layouts. Obviously if they try calling up the data on the net they'd be able to see.

2) Sort by Race Rank - I appreciate this appears to be automatic, so the race leader is at the top - is it possible to disable this? (Check box option?)

And finally, a suggestion - the file pclclivetiming.html looks to be fixed in it's name. could you provide a little text box so we could rename the file to what we wanted?
My thought here is that if you call it 'index.html' and upload it to a subdomain or a folder, it comes up automatically, rather than wwwyourdomain.here/folder/pclclivetiming.html
Back to top Go down
View user profile
guy

avatar

Number of posts : 2049
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: The new Live timing system of Pc Lap Counter   30/8/2014, 12:00

Happy that the live timing system is working  Very Happy

jaydrive2000 wrote:

1) Columns of data - i appreciate uploading driver images and car images would take a little longer, which is why the system is largely text only. However, is it possible to turn off certain columns of data? We do a 'blind' endurance at an event once a year and we hide the number of laps from the screen and the position from the Zoom layouts. Obviously if they try calling up the data on the net they'd be able to see.

As you know Pc Lap Counter automaticaly send the pclclivetiming.html to your web site during the first connection to your FTP server but nothing prevents you to manually upload your own HTML file to your website.
The HTML file content the code to display the data (base on the file pclclivetiming.xml which is in the same folder of the html file) , If you have some knowledge of HTML you can edit the HTML by using for example notepad++  and modify the code to fit your needs (remove or hide columns, change columns order, etc...)
So for example you can edit the pclclivetiming.html and modify the HTML code and save it to "blind.html" and manually upload the file "blind.html"  to your website (the html file and XML file have to be in the same folder).


jaydrive2000 wrote:

2) Sort by Race Rank - I appreciate this appears to be automatic, so the race leader is at the top - is it possible to disable this? (Check box option?)

You can't disable,  i don't see why this should be possible because it's in fact the same race rank of the Pc Lap Counter main screen.

jaydrive2000 wrote:

And finally, a suggestion - the file pclclivetiming.html looks to be fixed in it's name. could you provide a little text box so we could rename the file to what we wanted?
My thought here is that if you call it 'index.html' and upload it to a subdomain or a folder, it comes up automatically, rather than wwwyourdomain.here/folder/pclclivetiming.html

See my answer to your question 1,  copy the pclclivetiming.html to index.html and upload the index.html manually to your website.
Back to top Go down
View user profile http://www.pclapcounter.be
jaydrive2000



Number of posts : 79
Registration date : 2012-09-05

PostSubject: Re: The new Live timing system of Pc Lap Counter   30/8/2014, 16:34

This is excellent, you responded with what I was thinking of doing so that's that sorted.

As for the ranking thing, it was to do with the blind endurance - we don't even let them see their position in terms of the race. All they see is fuel and necessary info.
hmm... maybe I can poll the data a different way. Anyway, thanks for your time guy!

http://otakuscaley.sky-hook.net/Live for anyone who wants to see our own.
Back to top Go down
View user profile
guismo73

avatar

Number of posts : 78
Localisation : Fr - Savoie
Registration date : 2012-12-24

PostSubject: Re: The new Live timing system of Pc Lap Counter   1/9/2014, 16:27

Bonjour,

guy wrote:
If you have some knowledge of HTML you can edit the HTML by using for example notepad++ and modify the code to fit your needs (remove or hide columns, change columns order, etc...)
So for example you can edit the pclclivetiming.html and modify the HTML code and save it to "blind.html" and manually upload the file "blind.html" to your website (the html file and XML file have to be in the same folder).

Je suis entrain d’éditer le fichier HTML pour le franciser et supprimer les colonnes qui nous sont inutiles.

Merci de m'aider sur le moyen pour rentre l'info Time Limited en FR ainsi que session non Race Mais Course et Etat non Start Mais en course et ...

De plus, On track (en course) est sur le statu Yes, le passer en OUI et comment faire évoluer ce statut ?

On roule en analogique au SRC73 ;-)

Encore un grand et gros bravo pour cette update très très intéressante...
Back to top Go down
View user profile http://src73.e-monsite.com
guy

avatar

Number of posts : 2049
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: The new Live timing system of Pc Lap Counter   1/9/2014, 21:37

Fantastic Guismo73 !   bounce ,

i have seen you website and specialy the live timing section http://src73.e-monsite.com/pages/live-timing-24h-cognin-2014.html   , it's fantastic and now i understand your question , Here is the different value for RaceType , SessionType and RaceStatus :

Race Type (xml tag  "RaceType")

  • Time Limited
  • Lap Limited

Session (xml tag "SessionType"):

  • Race
  • Qualification
  • Practice

State (xml tag : "RaceStatus"):

  • Finish
  • Pause
  • Start
  • Grid
  • Yellow Flag


The Ontrack tag :  it's used for individual race and not for team race , this tag indicate if the driver is currently on the track.
For example if a driver race in segment number 1 and not during segment number 2 the ontrack value for the driver will be "YES" during segment 1 and "NO" during segment 2.
Back to top Go down
View user profile http://www.pclapcounter.be
guismo73

avatar

Number of posts : 78
Localisation : Fr - Savoie
Registration date : 2012-12-24

PostSubject: Re: The new Live timing system of Pc Lap Counter   2/9/2014, 14:42

Bonjour,

Merci pour toute ces informations,

J'ai bien trouvé les différents tag dans le fichier xml, mais comment faire pour qu'il soit en français et non anglais ?
Comment générez vous le fichier xml ?
Si je modifie directement dans le xml ceci est insuffisant (car il est regulierement mis a jour via pclc.
Je pense qu'il faut voir ceci dés la création du fichier xml.

Le plus simple serait de gérer les langues (des fichiers xml/html) en fonction de la langue choisie lors de l'installation du logiciel, non?
A minima FR/EN/ES/IT/DE... Les pays qui utilise un maximum votre soft ;-)

De plus pour "on track", nous allons gérer des courses par équipes ou individuels mais ce statuts ne varie pas, malgré mes divers essais.

Souvent nous roulons a plus d’équipe ou pilotes que de voies donc gérer le "On track" en fonction de par exemple :
un 6 voies avec 8 équipe ou pilotes il y en a toujours 2 "out track" donc se serait intéressant d'avoir ce statut a ce moment là, non ?
Pour être honnête avec vous c'est a ceci que j'avais pensé en voyant cette colonne "on track"
Ou en cliquant dans les cases de la colonne "ON" situé dans le tableau de PCLC ... !!!

Une petite aide serait la bienvenue, pour changer lol ... ;-)
G.

NB. Je viens de faire un essai via modem/data (3G) de mon Téléphone et c'est tous nickel.... cheers
Back to top Go down
View user profile http://src73.e-monsite.com
guy

avatar

Number of posts : 2049
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: The new Live timing system of Pc Lap Counter   2/9/2014, 17:11

It's not the "installation language" because by definition the live timing system present your race to the world and not locally in france and that's why i didn't made a possibility to translate the live timing in other language and i decided to made it in english which is the international language.
But of course there is a solution:  as you say modify the XML is not correct because the XML is generated by Pc Lap Counter, the html is not generated by Pc Lap Counter and so the solution is to modify the HTML file.
For the value of race type , state , session type and ontrack you have to use javascript and specially the statement "switch" (there is a example in the html file)

Hope this will help you  cheers
Back to top Go down
View user profile http://www.pclapcounter.be
guismo73

avatar

Number of posts : 78
Localisation : Fr - Savoie
Registration date : 2012-12-24

PostSubject: Re: The new Live timing system of Pc Lap Counter   2/9/2014, 17:54

C'est bon j'ai trouvé une solution...Est ce la bonne ?

Code:
case "Start":
  txt=txt + "<td class=\"success\"><center><strong><big>En Course</big></strong></center></td>";
  break;

J'ai aussi changé ceci :
Code:
xx=x[0].getElementsByTagName("RaceType");
{try{txt=txt + "<td>" + xx[0].firstChild.nodeValue + "</td>";} catch (er){txt=txt + "<td>-</td>"; }}
Par ceci :
Code:
xx=x[0].getElementsByTagName("RaceType");
 switch (xx[0].firstChild.nodeValue ) {
 case "Time Limited":
  txt=txt + "<td>Temps Limitée</td>";
  break;
 case "Lap Limited":
  txt=txt + "<td>Tours Limitée</td>";
 default:
  txt=txt + "<td>-</td>";

Tous va super... pour le moment ;-)

J'ai donc tous éditer avec la variable switch et je pense que c'est tous juste maintenant...



Last edited by guismo73 on 2/9/2014, 18:16; edited 1 time in total
Back to top Go down
View user profile http://src73.e-monsite.com
guy

avatar

Number of posts : 2049
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: The new Live timing system of Pc Lap Counter   2/9/2014, 18:13

Yes that's correct Very Happy
Back to top Go down
View user profile http://www.pclapcounter.be
guismo73

avatar

Number of posts : 78
Localisation : Fr - Savoie
Registration date : 2012-12-24

PostSubject: Re: The new Live timing system of Pc Lap Counter   2/9/2014, 18:17

Super, I'm very happy....

Can you help me for this question now ?

guismo73 wrote:
De plus pour "on track", nous allons gérer des courses par équipes ou individuels mais ce statuts ne varie pas, malgré mes divers essais.

Souvent nous roulons a plus d’équipe ou pilotes que de voies donc gérer le "On track" en fonction de par exemple :
un 6 voies avec 8 équipe ou pilotes il y en a toujours 2 "out track" donc se serait intéressant d'avoir ce statut a ce moment là, non ?
Pour être honnête avec vous c'est a ceci que j'avais pensé en voyant cette colonne "on track"
Ou en cliquant dans les cases de la colonne "ON" situé dans le tableau de PCLC ... !!!

I speak very bad english excuse me.
See you soon
G.
Back to top Go down
View user profile http://src73.e-monsite.com
guy

avatar

Number of posts : 2049
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: The new Live timing system of Pc Lap Counter   2/9/2014, 18:47

The Ontrack tag :

The "ontrack" tag is used for individual races which are setup via the heat editor , this not for team races or individual races without the heat editor.
The "ontrack" tag indicate if a driver is currently on the track or not , for example if a driver race in segment number 1 and not during segment number 2 the value of The "ontrack" tag will be "YES" for segment 1 and "NO" for segment 2.

Why not for team races and individual races without heat editor:
because there is no way for Pc Lap Counter to know if a driver is currently on the track or not
Back to top Go down
View user profile http://www.pclapcounter.be
guismo73

avatar

Number of posts : 78
Localisation : Fr - Savoie
Registration date : 2012-12-24

PostSubject: Re: The new Live timing system of Pc Lap Counter   2/9/2014, 19:46

Ok,

Thanks for your answer

I think when i prepare the race with your tools how many track how many turn how many ...

But i think i understand.

See you soon
Back to top Go down
View user profile http://src73.e-monsite.com
guy

avatar

Number of posts : 2049
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: The new Live timing system of Pc Lap Counter   4/9/2014, 18:57

Up
Back to top Go down
View user profile http://www.pclapcounter.be
guismo73

avatar

Number of posts : 78
Localisation : Fr - Savoie
Registration date : 2012-12-24

PostSubject: Re: The new Live timing system of Pc Lap Counter   6/9/2014, 20:44

Bonjour,

Je viens de constater que lors d'une séance de qualification, il y avait une incohérence entre le live et le pclc sur windows.

Pour avérer le bug j'ai décider de continuer les qualifications jusqu’au bout et même forcer une dernière rotation, histoire de...

Rien a faire malheureusement.
Voici le screen shoot du live timing :


Et celui du pclc sous windows 8.1 (envoie via 3G Smarthpone) :


As tu besoin du fichier xml pour debugage ?

@ très vite.
G.
Back to top Go down
View user profile http://src73.e-monsite.com
guy

avatar

Number of posts : 2049
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: The new Live timing system of Pc Lap Counter   7/9/2014, 12:34

ok i will check , i will return to you when i found the bug
Back to top Go down
View user profile http://www.pclapcounter.be
guismo73

avatar

Number of posts : 78
Localisation : Fr - Savoie
Registration date : 2012-12-24

PostSubject: Re: The new Live timing system of Pc Lap Counter   7/9/2014, 14:00

guy wrote:
ok i will check , i will return to you when i found the bug

Merci bien pour ta réflexion a venir.

Si je peux t'aider, n'hesistes pas a me solliciter.

Salutations,
G.
Back to top Go down
View user profile http://src73.e-monsite.com
guy

avatar

Number of posts : 2049
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: The new Live timing system of Pc Lap Counter   7/9/2014, 19:27

Update with the bug fix is available on www.pclapcounter.be (version 5.33c)
Back to top Go down
View user profile http://www.pclapcounter.be
guismo73

avatar

Number of posts : 78
Localisation : Fr - Savoie
Registration date : 2012-12-24

PostSubject: Re: The new Live timing system of Pc Lap Counter   7/9/2014, 19:57

guy wrote:
Update with the bug fix is available on www.pclapcounter.be (version 5.33c)

thanks you very much.

See you soon

I test this new version so quickly.
Back to top Go down
View user profile http://src73.e-monsite.com
guismo73

avatar

Number of posts : 78
Localisation : Fr - Savoie
Registration date : 2012-12-24

PostSubject: Re: The new Live timing system of Pc Lap Counter   7/9/2014, 22:50

guismo73 wrote:
guy wrote:
Update with the bug fix is available on www.pclapcounter.be (version 5.33c)

thanks you very much.

See you soon

I test this new version so quickly.

C'est tous bon maintenant super cool.

@ très vite pour une éventuelle question ou débugage...
Back to top Go down
View user profile http://src73.e-monsite.com
Sponsored content




PostSubject: Re: The new Live timing system of Pc Lap Counter   

Back to top Go down
 
The new Live timing system of Pc Lap Counter
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» 1H ignition timing
» How to bleed the cooling system on a 1.2 Diesel? And now head gasket change!
» what is the law on live bait in uk
» New sound coming from timing chain area
» FCUM live streaming video

Permissions in this forum:You cannot reply to topics in this forum
Pc Lap Counter :: Live Timing-
Jump to: