Gscreen - a GTK / Glade / Python based screen
Were you using industrial ?
Please Log in or Create an account to join the conversation.
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.
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.
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.
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.
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.
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.
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.
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.
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
Please Log in or Create an account to join the conversation.