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
f9e4c738
Commit
f9e4c738
authored
Jun 08, 2021
by
Tristan Renon
Browse files
V1.1 Exe created
parent
d7ead232
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
Management/motorPhaser.pptx
Management/motorPhaser.pptx
+0
-0
Prog/Exe/rotatingFieldVisualisationTool_V1_1.zip
Prog/Exe/rotatingFieldVisualisationTool_V1_1.zip
+0
-0
Prog/Python/motorPhaser/setup.py
Prog/Python/motorPhaser/setup.py
+1
-1
Prog/Python/motorPhaser/tkinterTestRealWithStatorOptimized.py
.../Python/motorPhaser/tkinterTestRealWithStatorOptimized.py
+2
-2
No files found.
Management/motorPhaser.pptx
View file @
f9e4c738
No preview for this file type
Prog/Exe/rotatingFieldVisualisationTool_V1_1.zip
0 → 100644
View file @
f9e4c738
File added
Prog/Python/motorPhaser/setup.py
View file @
f9e4c738
...
...
@@ -13,7 +13,7 @@ executables = [
]
build_exe_options
=
{
"includes"
:[
"matplotlib.backends.backend_tkagg"
,
"scipy.signal"
],
"include_files"
:[(
matplotlib
.
get_data_path
(),
"mpl-data"
),
os
.
path
.
dirname
(
scipy
.
__file__
)],
"include_files"
:[(
matplotlib
.
get_data_path
(),
"mpl-data"
),
os
.
path
.
dirname
(
scipy
.
__file__
)
,
"logoHEI.ppm"
],
"excludes"
:[],
}
...
...
Prog/Python/motorPhaser/tkinterTestRealWithStatorOptimized.py
View file @
f9e4c738
...
...
@@ -302,7 +302,6 @@ class Window(Frame):
self
.
textPhaseShiftReg
=
Entry
(
self
,
width
=
50
)
self
.
textPhaseShiftReg
.
grid
(
row
=
11
,
column
=
0
)
# -----------------------------------------------------------------------------------
self
.
textPhases
.
insert
(
0
,
"5"
)
...
...
@@ -326,12 +325,13 @@ class Window(Frame):
canvas
=
tk
.
Canvas
(
root
,
width
=
300
,
height
=
80
)
canvas
.
place
(
x
=
0
,
y
=
0
)
# "Global" declaration otherwise the garbage collector get rid of the picture
self
.
img
=
tk
.
PhotoImage
(
file
=
"logoHEI.ppm"
)
canvas
.
create_image
(
1
,
1
,
anchor
=
tk
.
NW
,
image
=
self
.
img
)
self
.
fig
,
(
self
.
ax1
,
self
.
ax2
,
self
.
ax3
)
=
plt
.
subplots
(
1
,
3
,
figsize
=
(
13
,
4
))
#
Dictionary to create multiple
buttons
#
Lists for radio
buttons
self
.
radioVals
=
[
'0'
,
'1'
,
'2'
,
'3'
,
'4'
,
'5'
]
self
.
radioString
=
[
'Sinus'
,
'Rectangle'
,
'Triangle'
,
'Trapezoidal'
,
'Sinus with harmonic 3'
,
'Sinus PWM'
]
self
.
radioValue
=
tk
.
IntVar
()
...
...
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