Dev lpgbt phase mode
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
Filter activity
1270 Returns: 1271 phase_lock (boolean): True if the phase is locked, False if not. 1272 phase (int): the phase of the e-group. 1273 """ 1274 assert phase_mode in ["fixed_phase", "continuous_tracking", "initial_training"] 1275 assert group >=0 and group < 6, "The group is not in the correct range (0-5)" 1276 G_str = str(group) 1277 if phase_mode == "initial_training": 1278 phase_lock,phase = self.phase_training(group = group) 1279 else: 1280 if phase_mode == "fixed_phase": 1281 assert phase >=0 and phase < 16, "The phase is not in the correct range (0-15)" 1282 self.write_read("EPRX"+G_str+"Control", "EPRX"+G_str+"TrackMode", 0) 1283 self.write_read("EPRX"+G_str+"0ChnCntr", "EPRX"+G_str+"0PhaseSelect", phase) 1284 phase_lock = self.read("EPRX"+G_str+"LOCKED", "EPRX"+G_str+"CHNLOCKED") 1285 phase = self.read("EPRX"+G_str+"CURRENTPHASE10", "EPRX"+G_str+"CURRENTPHASE0") changed this line in version 2 of the diff
mentioned in commit 5196ebae
Please register or sign in to reply