Сustomization QTvcp

More
10 Apr 2020 08:54 #163460 by hottabich
There is no Max_velocity_override adjustment in the Qtvcp interface. I added a panel. The slider adjusts the speed correctly, but I can’t adjust the percent. Status max_vel_ovr vibran.
Please tell me what is wrong.
Attachments:

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

More
10 Apr 2020 14:58 #163488 by cmorley
Replied by cmorley on topic Сustomization QTvcp
In Qtvcp (and others screens), max velocity is in absolute units per minute, not percent.

You could build what you want but it would require python programming.

Chtis
The following user(s) said Thank You: hottabich

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

More
10 Apr 2020 15:30 #163499 by tommylight
Replied by tommylight on topic Сustomization QTvcp

In Qtvcp (and others screens), max velocity is in absolute units per minute, not percent.

You could build what you want but it would require python programming.

Chtis

Changed the name? Going for witnes protection?
:)

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

More
10 Apr 2020 15:55 #163502 by cmorley
Replied by cmorley on topic Сustomization QTvcp
oops -you figured it out!
The following user(s) said Thank You: tommylight

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

More
10 Apr 2020 17:52 - 10 Apr 2020 18:31 #163515 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Can you do something with this? The question is closed. I assigned the necessary speeds to the buttons and everything works. Thanks for the consultation!
Attachments:
Last edit: 10 Apr 2020 18:31 by hottabich.

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

More
10 Apr 2020 20:55 #163529 by cmorley
Replied by cmorley on topic Сustomization QTvcp
To add a max velocity slider.
add a QSlider with designer called 'mvPercent'
then in your handler file:
   def initialized__(self):
        self.w.mvPercent.setMaximum(100)
        STAT.connect('max-velocity-override-changed', lambda w, data: self.w.mvPercent.setValue((data / INFO.MAX_TRAJ_VELOCITY)*100))
        self.w.mvPercent.valueChanged.connect(self.setMVPercentValue)

    #####################
    # GENERAL FUNCTIONS #
    #####################
    def setMVPercentValue(self, value):
        ACTION.SET_MAX_VELOCITY_RATE(INFO.MAX_TRAJ_VELOCITY * (value/100.0))
The following user(s) said Thank You: hottabich

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

More
11 Apr 2020 05:04 #163575 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank you so much! Very good as a basic option. It’s more convenient for me
actual speed value on the button.

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

More
13 Apr 2020 11:04 - 13 Apr 2020 11:05 #163862 by hottabich
Replied by hottabich on topic Сustomization QTvcp
File ini / TRAJ - NO_FORCE_HOMING = 1. At start, the tool position is the same
as exit, Home_All button green, the interface is active but does not work like that. How to fix please tell me.
Last edit: 13 Apr 2020 11:05 by hottabich.

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

More
13 Apr 2020 19:05 #163895 by cmorley
Replied by cmorley on topic Сustomization QTvcp
I'm looking into this. I see it complains when you select the MDI line, but I can't find the source of that complaint....

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

More
13 Apr 2020 19:46 - 13 Apr 2020 20:12 #163897 by hottabich
Replied by hottabich on topic Сustomization QTvcp
At start qtdragon G54 should beat X = 0, Y = 0, Z = 0. Button Home All = All Homed. Homing mode no. Can I do this?
Attachments:
Last edit: 13 Apr 2020 20:12 by hottabich.

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

Moderators: cmorley
Time to create page: 0.138 seconds
Powered by Kunena Forum