Skip to content
Snippets Groups Projects
Commit bc0e20e8 authored by Paulus Kruger's avatar Paulus Kruger
Browse files

UNB2 off delay added, RCUorder bug fixed

parent fe1e9d9f
No related branches found
No related tags found
No related merge requests found
Pipeline #27348 passed
...@@ -506,4 +506,5 @@ methods: ...@@ -506,4 +506,5 @@ methods:
mask: UNB2_mask mask: UNB2_mask
instructions: instructions:
- UNB2_PWR_on: 1 #inverted - UNB2_PWR_on: 1 #inverted
- WAIT: 200
# - UNB2_Front_Panel_LED_colour: 2 # - UNB2_Front_Panel_LED_colour: 2
...@@ -19,6 +19,7 @@ class i2c_array2(i2c_array): ...@@ -19,6 +19,7 @@ class i2c_array2(i2c_array):
if self.Nswitch>3: self.Nswitch=3; if self.Nswitch>3: self.Nswitch=3;
self.RCU_Switch1=range(pars[0],pars[1]+1); self.RCU_Switch1=range(pars[0],pars[1]+1);
self.N=len(sw1) self.N=len(sw1)
self.RCUorder=range(self.N)
if len(sw2)>0: self.N*=len(sw2) if len(sw2)>0: self.N*=len(sw2)
if len(sw3)>0: self.N*=len(sw3) if len(sw3)>0: self.N*=len(sw3)
self.I2Cmask=[0]*self.N self.I2Cmask=[0]*self.N
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment