Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Calibration
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Calibration
Commits
9c65ae01
Commit
9c65ae01
authored
Jun 01, 2018
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use external 10 MHz reference (mode gm)
parent
f2ba0358
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wr_serial.py
sw/insitu_alpha/wr_serial.py
+3
-3
No files found.
sw/insitu_alpha/wr_serial.py
View file @
9c65ae01
...
...
@@ -153,7 +153,7 @@ def link_restart(ser_master,ser_slave, master_is_switch = True):
else
:
wr2wrpc
(
ser_master
,
"ptp stop
\r
"
,
"mst=>"
)
time
.
sleep
(
1
)
wr2wrpc
(
ser_master
,
"mode
master
\r
"
,
"mst=>"
)
wr2wrpc
(
ser_master
,
"mode
gm
\r
"
,
"mst=>"
)
time
.
sleep
(
5
)
wr2wrpc
(
ser_master
,
"ptp start
\r
"
,
"mst=>"
)
...
...
@@ -318,7 +318,7 @@ if __name__ == "__main__":
#itu_channel_increment = params["itu_channel_spacing"]
itu_channel_increment
=
1
crtt_measurement
=
10
# number of crtt measurements over which the crtt is averaged
crtt_skip
=
2
# skip first 5 crtt measurments
crtt_skip
=
5
# skip first 5 crtt measurments
restarts
=
1
# number of link restarts over which the crtt is averaged
...
...
@@ -363,7 +363,7 @@ if __name__ == "__main__":
ser_tunable
=
ser_slave
ser_tunable_str
=
"slv=>"
wr2wrpc
(
ser_master
,
"mode
master
\r
"
,
"mst=>"
)
wr2wrpc
(
ser_master
,
"mode
gm
\r
"
,
"mst=>"
)
wr2wrpc
(
ser_slave
,
"mode slave
\r
"
,
"slv=>"
)
time
.
sleep
(
5
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment