Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tristan Renon
motorPhaserVisualisationTool
Commits
f83ef44e
Commit
f83ef44e
authored
Jun 14, 2021
by
Tristan Renon
Browse files
Is there something to push?
parent
aaeec2b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Prog/Python/motorPhaser/tkinterTestRealWithStatorOptimized.py
.../Python/motorPhaser/tkinterTestRealWithStatorOptimized.py
+3
-1
No files found.
Prog/Python/motorPhaser/tkinterTestRealWithStatorOptimized.py
View file @
f83ef44e
...
...
@@ -22,11 +22,13 @@ class Window(Frame):
self
.
textPhaseShiftReg
.
delete
(
0
,
'end'
)
def
setStrings
(
self
):
# Delete actual content
self
.
textPhases
.
delete
(
0
,
'end'
)
self
.
textPhaseAmplitude
.
delete
(
0
,
'end'
)
self
.
textPhaseShiftMec
.
delete
(
0
,
'end'
)
self
.
textPhaseShiftReg
.
delete
(
0
,
'end'
)
# [7:-2] Delete nd_arr[ ... ] -> Ignore type + bracket that the string representation give back
self
.
textPhases
.
insert
(
0
,
self
.
nPhases
)
self
.
textPhaseAmplitude
.
insert
(
0
,
repr
(
self
.
phaseAmplitude
)[
7
:
-
2
])
self
.
textPhaseShiftMec
.
insert
(
0
,
repr
(
self
.
phaseShiftMec
)[
7
:
-
2
])
...
...
@@ -318,7 +320,7 @@ class Window(Frame):
tk
.
Label
(
self
,
text
=
"Phasers Animation"
).
grid
(
row
=
17
,
column
=
0
)
tk
.
Label
(
self
,
text
=
"HES-SO // Valais-Wallis"
).
place
(
x
=
0
,
y
=
80
)
tk
.
Label
(
self
,
text
=
"
Power
& Drive"
).
place
(
x
=
0
,
y
=
95
)
tk
.
Label
(
self
,
text
=
"
Industrial Electronics
& Drive
s
"
).
place
(
x
=
0
,
y
=
95
)
tk
.
Label
(
self
,
text
=
"Visualisation Tool V1.1"
).
place
(
x
=
0
,
y
=
110
)
tk
.
Label
(
self
,
text
=
"Chevailler Samuel"
).
place
(
x
=
0
,
y
=
140
)
tk
.
Label
(
self
,
text
=
"Renon Tristan"
).
place
(
x
=
0
,
y
=
155
)
...
...
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