Mesa Configuration Tool Version 1.0.0

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
29 Oct 2022 14:14 #255383 by JT
I've just pushed the mesact version 1.0.0 which now will save any new sections, comments and key-values that the user added to the ini file when updating the ini file from the tool as well as many small improvements in the tool.

gnipsel.com/linuxcnc/mesact/index.html
github.com/jethornton/mesact

JT
The following user(s) said Thank You: tommylight, 0x2102, HansU, itsme

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

More
30 Oct 2022 16:36 #255455 by HansU
Great, Thanks!

First, I find it still annoying that I have to specify these values even if I don't need them:
    The P for Joint 1 must be specified
    The Analog Min Limit for Joint 1 must be specified
    The Analog Max Limit for Joint 1 must be specified
    The Analog Scale Max for Joint 1 must be specified
    The Encoder Scale for Joint 1 must be specified

When I load the attached file, and add the missing values, I get this error:
File updateini.py line 546, in function update_key
Error: '[H]'
["KeyError: '[H]'\n"]

The same in the ini4 branch.
Attachments:

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
31 Oct 2022 10:02 #255556 by JT
I don't get any error loading that file... check config returns ok and does not make me specify anything for joint 1.

JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
31 Oct 2022 12:11 #255559 by JT
I just added support for the new Mesa 7i92T boards and the version is now 1.1.0

JT

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

More
31 Oct 2022 20:14 #255606 by HansU

I don't get any error loading that file... check config returns ok and does not make me specify anything for joint 1.

JT


The problem occurs not on loading. Maybe I was a bit imprecise.

What I wanted to say is:

When I load the attached file, and add the missing values, and build the config, I get this error

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
31 Oct 2022 21:51 #255614 by JT
I think I have assumed the 7i85s was a servo card so that will be fixed. I've not worked with the 7i85s so I'm a bit unfamiliar with it, any information you can provide will help me make the mesact tool correct. Even for Mesa steppers PID does help.

JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
01 Nov 2022 10:57 - 01 Nov 2022 10:58 #255648 by JT
Yep, the 7i85S was incorrectly labelled as servo so the software treated it as a servo board like a 7i77. It has been fixed.

JT
Last edit: 01 Nov 2022 10:58 by JT.
The following user(s) said Thank You: tommylight

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

More
01 Nov 2022 18:52 - 01 Nov 2022 18:54 #255681 by HansU

I don't get any error loading that file... check config returns ok and does not make me specify anything for joint 1.

JT


The problem occurs not on loading. Maybe I was a bit imprecise.

What I wanted to say is:

When I load the attached file, and add the missing values, and build the config, I get this error



Can it be that you tool is storing some information somewhere hidden in the filesystem?
Because the behaviour is the following:
When I rename the INI file to <configuration_name>_2.ini, open and build it, everything works fine.
So a file <configuration_name>.ini is generated.
BUT when I then open <configuration_name>_2.ini or <configuration_name>.ini, I get the same error on building.
I have to remove <configuration_name>.ini and open <configuration_name>_2.ini to get it build.
Weird, isn't it?
Last edit: 01 Nov 2022 18:54 by HansU.

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

More
01 Nov 2022 19:05 #255682 by HansU

I think I have assumed the 7i85s was a servo card so that will be fixed. I've not worked with the 7i85s so I'm a bit unfamiliar with it, any information you can provide will help me make the mesact tool correct. Even for Mesa steppers PID does help.

JT


Really great. Thanks for fixing it!

Even for Mesa steppers PID does help.

Yes but not necessary. So I would like to see it as optional.


You can also fix the 7i85: "The 7I85 is a five channel RS-422 serial plus four channel encoder interface"
So maybe add options for the encoder if you have that implemented, otherwise remove the Analog Out settings.

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
01 Nov 2022 19:09 #255683 by JT
No, it's not weird. The tool uses two different programs to create or update the ini file. If there is no ini file by the name then buildini.py is used. If the ini exists then updateini.py is used to update the ini without writing over items the use has added.

JT

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

Moderators: PCWjmelson
Time to create page: 0.287 seconds
Powered by Kunena Forum