Speedcontrol widget: increment parameter doesn't work
- nebelnoir
- 
				 Topic Author Topic Author
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 12
- Thank you received: 4
			
	
						06 Jul 2017 20:08				#95450
		by nebelnoir
	
	
		
			
	
			
			 		
													
	
				Speedcontrol widget: increment parameter doesn't work was created by nebelnoir			
			
				linuxcnc 2.7.9.
gmoccapy interface
Speedcontrol widget:
increment parameter -1 is ok,
increment parameter from 0.001 to 99999.0 work like -1
					gmoccapy interface
Speedcontrol widget:
increment parameter -1 is ok,
increment parameter from 0.001 to 99999.0 work like -1
Please Log in or Create an account to join the conversation.
- newbynobi
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 1928
- Thank you received: 393
			
	
						12 Jul 2017 17:34				#95738
		by newbynobi
	
	
		
			
	
			
			 		
													
	
				Replied by newbynobi on topic Speedcontrol widget: increment parameter doesn't work			
			
				Hallo nebelnoir,
where did you change the settings?
If you did change it in the speedcontrol.py file, it will not have any effect, as that values will be overwritten with the settings from the glade file.
You need to change the increment value in he gmoccapy.glade file. Unforunately in 2.7.9 there is a small bug in combidro widget, witch will not allow to edit that file within glade. I corrected that bug, but it is not included in 2.7.9 je.
So you will need o open gmoccapy.glade wih an edior of your choice, I used gedit o check your error report.
Look for the speedcontrol widgets in that file and add to the corresponding section a new property like so:
the value 10 is the new increment.
Norbert
					where did you change the settings?
If you did change it in the speedcontrol.py file, it will not have any effect, as that values will be overwritten with the settings from the glade file.
You need to change the increment value in he gmoccapy.glade file. Unforunately in 2.7.9 there is a small bug in combidro widget, witch will not allow to edit that file within glade. I corrected that bug, but it is not included in 2.7.9 je.
So you will need o open gmoccapy.glade wih an edior of your choice, I used gedit o check your error report.
Look for the speedcontrol widgets in that file and add to the corresponding section a new property like so:
<property name="increment">10</property>the value 10 is the new increment.
Norbert
Please Log in or Create an account to join the conversation.
		Moderators: HansU	
		Time to create page: 0.076 seconds	
