Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Conv TTL Blocking
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
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
Conv TTL Blocking
Commits
d3eacb3a
Commit
d3eacb3a
authored
May 03, 2014
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software: tsset.py read timestamp value after setting
Signed-off-by:
Theodor Stana
<
t.stana@cern.ch
>
parent
5facf345
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
tsset.py
software/diag/timetag/tsset.py
+5
-0
No files found.
software/diag/timetag/tsset.py
View file @
d3eacb3a
...
...
@@ -67,5 +67,10 @@ if __name__ == "__main__":
if
s
>
2
**
32
-
1
:
testelma
.
write
(
slot
,
0x28
,
s
>>
32
)
tail
=
testelma
.
read
(
slot
,
0x24
)
taih
=
testelma
.
read
(
slot
,
0x28
)
print
(
"TAI counter value:
%
d"
%
((
taih
<<
32
)
|
tail
))
testelma
.
close
()
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