Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Conv TTL RS485 - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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
Conv TTL RS485 - Testing
Commits
06eb8d42
Commit
06eb8d42
authored
Dec 04, 2014
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: Added delays after men-on and men-off SNMP commands
parent
ac015b2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
pts.py
pts-fm/python/pts.py
+2
-0
ptsdefine.py
pts-fm/python/ptsdefine.py
+0
-1
No files found.
pts-fm/python/pts.py
View file @
06eb8d42
...
...
@@ -75,6 +75,7 @@ from ptsdefine import *
def
men_on
():
print
(
"Switching on the ELMA crate"
)
subprocess
.
call
(
"shell/men-on"
,
shell
=
True
,
stdout
=
fnull
,
stderr
=
fnull
)
time
.
sleep
(
1
)
##-------------------------------------------------------------------------------------------------
## Method to turn off the VME crate.
...
...
@@ -85,6 +86,7 @@ def men_on():
def
men_off
():
print
(
"Switching off the ELMA crate"
)
subprocess
.
call
(
"shell/men-off"
,
shell
=
True
,
stdout
=
fnull
,
stderr
=
fnull
)
time
.
sleep
(
1
)
##-------------------------------------------------------------------------------------------------
## Main "method" of PTS
...
...
pts-fm/python/ptsdefine.py
View file @
06eb8d42
...
...
@@ -106,4 +106,3 @@ SFP_DPRAM_OFS = 0x600
# Pulse counter base address
PULSE_CNT_BASE
=
0xc00
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