Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IC-Interface Control
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mateus Goto
IC-Interface Control
Commits
4f1ec903
Commit
4f1ec903
authored
Aug 10, 2022
by
Mateus Goto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Tested] Voltage setting
parent
a850a97e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
Control_Interface/__pycache__/controlInterface.cpython-310.pyc
...ol_Interface/__pycache__/controlInterface.cpython-310.pyc
+0
-0
NHR9400series/NHR9400.py
NHR9400series/NHR9400.py
+3
-5
NHR9400series/__pycache__/NHR9400.cpython-310.pyc
NHR9400series/__pycache__/NHR9400.cpython-310.pyc
+0
-0
No files found.
Control_Interface/__pycache__/controlInterface.cpython-310.pyc
View file @
4f1ec903
No preview for this file type
NHR9400series/NHR9400.py
View file @
4f1ec903
...
@@ -175,11 +175,9 @@ class NHR9400():
...
@@ -175,11 +175,9 @@ class NHR9400():
################################# Setters and Getters ################################################
################################# Setters and Getters ################################################
#set limit voltage of all phases
#set limit voltage of all phases
def
setVoltage
(
self
,
voltage
):
def
setVoltage
(
self
,
voltage
):
msg
=
"SOUR:VOLT: 110
\n
"
if
voltage
<
0
:
print
(
msg
)
return
-
1
print
(
self
.
__s
)
self
.
__s
.
send
((
"SOUR:VOLT: "
+
str
(
voltage
)
+
"
\n
"
).
encode
())
self
.
__s
.
send
(
msg
.
encode
())
print
(
"ok"
)
#Functions that sets the limits voltage on one phase (A, B or C)
#Functions that sets the limits voltage on one phase (A, B or C)
def
setVoltageA
(
self
,
voltage
):
def
setVoltageA
(
self
,
voltage
):
if
voltage
<
0
:
if
voltage
<
0
:
...
...
NHR9400series/__pycache__/NHR9400.cpython-310.pyc
View file @
4f1ec903
No preview for this file type
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