# Orginal ================================ def get_jog_vel(self): # get default jog velocity # must convert from INI's units per second to gscreen's units per minute temp = self.inifile.find("TRAJ", "DEFAULT_LINEAR_VELOCITY") if not temp: temp = self.inifile.find("TRAJ", "MAX_LINEAR_VELOCITY" ) if temp: temp = float(temp) / 2 print("**** GMOCCAPY GETINIINFO **** \nNo DEFAULT_LINEAR_VELOCITY entry found in [TRAY] of INI file\nUsing half on MAX_LINEAR_VELOCITY") else: temp = 3.0 print("**** GMOCCAPY GETINIINFO **** \nNo DEFAULT_LINEAR_VELOCITY entry found in [TRAY] of INI file\nUsing default value of 180 units / min") return float(temp) * 60 def get_max_jog_vel(self): # get max jog velocity # must convert from INI's units per second to gscreen's units per minute temp = self.inifile.find("TRAJ", "MAX_LINEAR_VELOCITY") if not temp: temp = 10.0 print("**** GMOCCAPY GETINIINFO **** \nNo MAX_LINEAR_VELOCITY entry found in [TRAY] of INI file\nUsing default value of 600 units / min") return float(temp) * 60 # End orginal =============================== # Changed to =============================== def get_jog_vel(self): # get preset jog velocity temp = self.inifile.find("DISPLAY", "JOG_VEL") if not temp: temp = 14 print("**** X1GUI GETINIINFO **** \n No JOG_VEL entry found in [DISPLAY] of INI file") return float(temp) def get_max_jog_vel(self): # get max jog velocity temp = self.inifile.find("DISPLAY", "MAX_JOG_VELOCITY") if not temp: temp = 16.0 print("**** X1GUI GETINIINFO **** \n No MAX_JOG_VELOCITY entry found in [DISPLAY] of INI file") return float(temp) # End ======================================== In .ini file display section: JOG_VEL and MAX_JOG_VELOCITY and desired values