Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
AIDA-2020 TLU
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
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
AIDA-2020 TLU
Commits
8df04fd6
Commit
8df04fd6
authored
Oct 06, 2017
by
Paolo Baesso
Committed by
GitHub
Oct 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request
#8
from PaoloGB/development
Minor tweaks
parents
756559f5
82b60d18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
TLU_v1e.py
TLU_v1e/scripts/TLU_v1e.py
+2
-2
startTLU_v1e.py
TLU_v1e/scripts/startTLU_v1e.py
+2
-2
No files found.
TLU_v1e/scripts/TLU_v1e.py
View file @
8df04fd6
...
...
@@ -643,7 +643,7 @@ class TLU:
# # Set trigger pattern
#triggerPattern_low= 0xFFFEFFFE
#triggerPattern_high= 0xFFFFFFFF
triggerPattern_low
=
0x00000002
triggerPattern_low
=
0x00000002
#0x00000002
triggerPattern_high
=
0x00000000
self
.
setTrgPattern
(
triggerPattern_high
,
triggerPattern_low
)
...
...
@@ -716,7 +716,7 @@ class TLU:
nFifoWords
=
int
(
eventFifoFillLevel
)
fifoData
=
self
.
getFifoData
(
nFifoWords
)
outList
=
self
.
parseFifoData
(
fifoData
,
nFifoWords
/
6
,
Fals
e
)
outList
=
self
.
parseFifoData
(
fifoData
,
nFifoWords
/
6
,
Tru
e
)
#saveD= 0
#plotD= 0
if
saveD
:
...
...
TLU_v1e/scripts/startTLU_v1e.py
View file @
8df04fd6
...
...
@@ -62,10 +62,10 @@ class MyPrompt(cmd.Cmd):
if
__name__
==
"__main__"
:
TLU
=
TLU
(
"tlu"
,
"file://./TLUconnection.xml"
)
TLU
.
initialize
()
print
"HEY HEY"
logdata
=
True
TLU
.
start
(
logdata
)
time
.
sleep
(
0.
5
)
time
.
sleep
(
5
)
TLU
.
stop
(
False
,
False
)
# prompt = MyPrompt()
# prompt.prompt = '>> '
...
...
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