howto_compujump_client.txt 2.43 KB
Newer Older
1 2 3 4 5 6 7 8
----
2018 february
- mono 3.2.8 does not work on compujumps by multiple gtk problems. Updated using mono from website. Version: 5.8.0
- apt-get install mono-devel mono-complete
- compilation ok, but on autogen there were problems with System.Data.dll 4.0, but it was impossible to fix. So this have been done:
	https://github.com/aegif/CmisSync/issues/739
----

9 10 11 12 13 14 15 16 17
Howto run compujump client.
Instructions for 1.7.0-390.
Has to be done on this exact order:

0) Have a Linux machine
1) Assign permissions for Chronopic (changing 'username' for desired username)

# usermod -a -G dialout username

18
Close the session (reboot?) in order to ensure that the permissions are assigned. Check with:
19 20 21

$groups

22 23 24 25 26
2) Install Chronojump from GIT: http://chronojump.org/en/linux-compile/
3) Connect RFID
4) Open Chronojump (database will be created) and identify RFID device
5) Connect Encoder or photocels
6) Go to Jumps / device and identify device
27
7) On encoder clients go to encoder... Select desired encoder configuration (need a user for this!)
28
8) Close Chronojump
29

30 31
9) Install sqlite3
10) delete encoder exercises!!! important to not have conflict with upcoming exercises from server
32

33 34
11) Delete existing test types:

35
$ sqlite3 .local/share/Chronojump/chronojump.db
36 37

11a) if the station will be encoder:
38
delete from encoderExercise;
39

40
11b) if the station will be runInterval:
Xavier de Blas's avatar
Xavier de Blas committed
41
delete runInterval exercises. And Add these:
42 43 44

delete from runIntervalType;
insert into runIntervalType VALUES(1, "5 m", 5.0, 1, 1, 0, "", "");
45 46 47
insert into runIntervalType VALUES(2, "10 m", 5.0, 1, 2, 0, "", "");
insert into runIntervalType VALUES(3, "15 m", 5.0, 1, 3, 0, "", "");
insert into runIntervalType VALUES(4, "20 m", 5.0, 1, 4, 0, "", "");
48 49

12) also ensure there are no persons
50 51 52 53

select * from person77;
select * from personSession77;

54 55
.quit

56
13) Copy this chronojump_config.txt on .local/share/Chronojump
57 58 59 60 61 62 63 64 65 66 67 68 69 70

#Session modes:
SessionMode=MONTHLY

#Use Compujump
Compujump=TRUE
CompujumpServerURL=http://127.0.0.1:8080
CompujumpStationID=1

#CompujumpStationMode, modes:
#JUMPSSIMPLE, JUMPSREACTIVE, RUNSSIMPLE, RUNSINTERVALLIC, POWERGRAVITATORY, POWERINERTIAL, FORCESENSOR, RT, OTHER
#will start on this mode and could not be changed
CompujumpStationMode=POWERGRAVITATORY

71
14) Change CompujumpServerURL or CompujumpStationID or CompujumpStationMode.
72
    Remember SPACES are NOT allowed immediatelly before or after '='
73 74
15) Open Chronojump
16) Select preferences (Encoder capture main variable (mean speed?), font size..)