Gscreen - a GTK / Glade / Python based screen

More
09 Mar 2013 09:24 #31116 by cmorley
I tried this in industrial and it seems to work fine.
Were you using industrial ?

Please Log in or Create an account to join the conversation.

More
09 Mar 2013 17:01 #31126 by newbynobi
No, I tried this in normal gscreen. I noticed this while testing around with gmoccapy and I thought it was caused by myself. But testing it with gscreen results in the same behavior.

If I leave gscreen with a visible cursor, I am able to restart gscreen from the terminal without any problem, just when the cursor was hideen when closing gscreen, the server crashes.

How can I find out what hapens?

Norbert

Please Log in or Create an account to join the conversation.

More
10 Mar 2013 05:19 #31148 by newbynobi
Hallo Chris,

I found another thing, we should change.
You have a spindle_bar on your screen, so do I.

Shouldn't there be a INI Section for the min and max values to set to the widget?
Otherwise the user must change code to set the coresponding values.

I recommend and [SPINDLE] Section in the INI with
MIN_VEL =
MAX_VEL =

What do you think?

Norbert

Please Log in or Create an account to join the conversation.

More
10 Mar 2013 06:10 #31149 by newbynobi
There seems to be also a problem in linuxcnc, because

you can slow down Max_Vel and let jog vel at a higher speed.

Now you can jog faster than the max velocity set.

Norbert

Please Log in or Create an account to join the conversation.

More
10 Mar 2013 09:38 #31154 by cmorley

No, I tried this in normal gscreen. I noticed this while testing around with gmoccapy and I thought it was caused by myself. But testing it with gscreen results in the same behavior.

If I leave gscreen with a visible cursor, I am able to restart gscreen from the terminal without any problem, just when the cursor was hideen when closing gscreen, the server crashes.

How can I find out what hapens?

Norbert


I tried again with default Gscreen - no problems.
I don't know how to pin point closer.
can you try different computer?

Please Log in or Create an account to join the conversation.

More
10 Mar 2013 13:20 #31159 by cmorley

Hallo Chris,

I found another thing, we should change.
You have a spindle_bar on your screen, so do I.

Shouldn't there be a INI Section for the min and max values to set to the widget?
Otherwise the user must change code to set the coresponding values.

I recommend and [SPINDLE] Section in the INI with
MIN_VEL =
MAX_VEL =

What do you think?

Norbert


This would seem convenient for the user. You can change this now by editing the GLADE file.
though it should be in the [DISPLAY] section
What is min_vel for?
The display should always show 0 as a minimum, don't you think?

Chris M

Please Log in or Create an account to join the conversation.

More
10 Mar 2013 13:21 #31160 by cmorley
You can change the highlight color of the offset editor - either in the GLADE editor or with a python call.
See industrial for a code example.

DTG's DRO color in industrial can be changed now.

Please Log in or Create an account to join the conversation.

More
10 Mar 2013 20:45 #31168 by newbynobi

newbynobi wrote:
Hallo Chris,

I found another thing, we should change.
You have a spindle_bar on your screen, so do I.

Shouldn't there be a INI Section for the min and max values to set to the widget?
Otherwise the user must change code to set the coresponding values.

I recommend and [SPINDLE] Section in the INI with
MIN_VEL =
MAX_VEL =

What do you think?

Norbert

This would seem convenient for the user. You can change this now by editing the GLADE file.
though it should be in the [DISPLAY] section
What is min_vel for?
The display should always show 0 as a minimum, don't you think?

Chris M


Hallo Chris,

MIN_VEL is to set the minimum revolutions of the spindel. There are Spindles on some machines witch need a minimum spindle speed to work properly. You are Right, in your opinion, that most users will give a cero value here,

Will you include it? I did so in gmoccapy.

Norbert

Please Log in or Create an account to join the conversation.

More
10 Mar 2013 20:46 #31169 by newbynobi

newbynobi wrote:
No, I tried this in normal gscreen. I noticed this while testing around with gmoccapy and I thought it was caused by myself. But testing it with gscreen results in the same behavior.

If I leave gscreen with a visible cursor, I am able to restart gscreen from the terminal without any problem, just when the cursor was hideen when closing gscreen, the server crashes.

How can I find out what hapens?

Norbert

I tried again with default Gscreen - no problems.
I don't know how to pin point closer.
can you try different computer?


I will do so, but it will need some time.

Norbert

Please Log in or Create an account to join the conversation.

More
10 Mar 2013 20:51 - 10 Mar 2013 20:52 #31171 by newbynobi
Hallo Chris,

why do you get the units for self.data.dro_units only from the preference file?
I think you should get the units from the INI File like so:
self.data.dro_units = self.inifile.find("TRAJ","LINEAR_UNITS")
if self.data.dro_units == "inch"
	self.widgets.toglebutton_units.set_active(True)

Users are always forced to enter units in the INI File, why again in the settings?

Norbert
Last edit: 10 Mar 2013 20:52 by newbynobi.

Please Log in or Create an account to join the conversation.

Time to create page: 0.184 seconds
Powered by Kunena Forum