Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
e367007a
Commit
e367007a
authored
May 18, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default zero delay while turning power on, problem is different
parent
7e875b8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
x393_sens_cmprs.py
py393/x393_sens_cmprs.py
+2
-2
No files found.
py393/x393_sens_cmprs.py
View file @
e367007a
...
@@ -284,7 +284,7 @@ class X393SensCmprs(object):
...
@@ -284,7 +284,7 @@ class X393SensCmprs(object):
print
(
"Set sensors
%
s interface voltage to
%
d mV"
%
((
"0, 1"
,
"2, 3"
)[
sub_pair
],
voltage_mv
))
print
(
"Set sensors
%
s interface voltage to
%
d mV"
%
((
"0, 1"
,
"2, 3"
)[
sub_pair
],
voltage_mv
))
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
def
setupSensorsPower
(
self
,
ifaceType
,
pairs
=
"all"
,
quiet
=
0
,
dly
=
0.
1
):
def
setupSensorsPower
(
self
,
ifaceType
,
pairs
=
"all"
,
quiet
=
0
,
dly
=
0.
0
):
"""
"""
Set interface voltage and turn on power for interface and the sensors
Set interface voltage and turn on power for interface and the sensors
according to sensor type
according to sensor type
...
@@ -305,7 +305,7 @@ class X393SensCmprs(object):
...
@@ -305,7 +305,7 @@ class X393SensCmprs(object):
quiet
=
quiet
,
quiet
=
quiet
,
dly
=
dly
)
dly
=
dly
)
def
setSensorIfaceVoltagePower
(
self
,
sub_pair
,
voltage_mv
,
quiet
=
0
,
dly
=
0.
1
):
def
setSensorIfaceVoltagePower
(
self
,
sub_pair
,
voltage_mv
,
quiet
=
0
,
dly
=
0.
0
):
"""
"""
Set interface voltage and turn on power for interface and the sensors
Set interface voltage and turn on power for interface and the sensors
@param sub_pair - pair of the sensors: 0 - sensors 1 and 2, 1 - sensors 3 and 4
@param sub_pair - pair of the sensors: 0 - sensors 1 and 2, 1 - sensors 3 and 4
...
...
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