Commit 06eb8d42 authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

sw: Added delays after men-on and men-off SNMP commands

parent ac015b2c
......@@ -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
......
......@@ -106,4 +106,3 @@ SFP_DPRAM_OFS = 0x600
# Pulse counter base address
PULSE_CNT_BASE = 0xc00
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment