Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Conv TTL RS485 - Testing
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Conv TTL RS485 - Testing
Commits
06eb8d42
Commit
06eb8d42
authored
10 years ago
by
Theodor-Adrian Stana
Browse files
Options
Downloads
Patches
Plain Diff
sw: Added delays after men-on and men-off SNMP commands
parent
ac015b2c
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pts-fm/python/pts.py
+2
-0
2 additions, 0 deletions
pts-fm/python/pts.py
pts-fm/python/ptsdefine.py
+0
-1
0 additions, 1 deletion
pts-fm/python/ptsdefine.py
with
2 additions
and
1 deletion
pts-fm/python/pts.py
+
2
−
0
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
...
...
This diff is collapsed.
Click to expand it.
pts-fm/python/ptsdefine.py
+
0
−
1
View file @
06eb8d42
...
...
@@ -106,4 +106,3 @@ SFP_DPRAM_OFS = 0x600
# Pulse counter base address
PULSE_CNT_BASE
=
0xc00
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment