Errors on mesa-card selection

More
27 Jul 2020 06:49 #176010 by cmorley

What do you think about using that texts as combobox entries which are disabled like now. That way the user could verify function and pin-type and use it in self written halfile extensions ...

I suppose it's possible - but at that point your going to have to hand edit the config files and learn about the details of linuxcnc anyways. The names from discovered data could be quite different from the HAL pins. But I guess you would at least know you had the right firmware or not...

Last not least - the support of analog inputs. Currently there's a choice between 'unused' and 'user defined type', which leads to unused - so there's no choice at all.


Try typing in the combo box and then press enter - that custom signal name will be connected to the pin in the HAL file now.
You'll see a list of all the custom signals you typed under the 'custom signals dropdown, after you enter at least one.

Chris

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

More
27 Jul 2020 07:03 #176011 by cmorley
Yes currently pncconf only knows about 7i73 in mode 1
This is a problem with the discovery system - how to deal with things you don't know and how to warp them into the existing framework of pncconf.

Pncconf's programming framework has been stretched about as far as it can go.
When it works it is so very useful - but it's hard to get to work properly.
Our switch to python 3 will probably kill it or force a rethink and major rework.

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

More
27 Jul 2020 07:24 #176012 by Reinhard

Pncconf's programming framework has been stretched about as far as it can go.
When it works it is so very useful - but it's hard to get to work properly.
Our switch to python 3 will probably kill it or force a rethink and major rework.

(re)thinking is always a good option :)

Now I understand your hesitation in doing things right. Might be wasted effort.
Well - bad times ...

Anyway - is was a pleasure to help you improve pncconf.
If you ever decide to use a real programming language for pncconf, I would be happy to jump in for help.

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

More
30 Jul 2020 03:46 #176456 by Reinhard

Yes currently pncconf only knows about 7i73 in mode 1

Ok, this time I created a configuration, that is known to pncconf and hal ...

But linuxcnc fails at startup.
hm2_5i24.0: initialized AnyIO board at 0000:01:05.0

./rma01.hal:162: Signal 'x-pos-fb' can not add OUT pin 'hm2_5i24.0.encoder.04.position', it already has OUT pin 'hm2_5i24.0.stepgen.08.position-fb'
Shutting down and cleaning up LinuxCNC...
That error happens for all joints.

Did you ever test a closed loop stepper configuration generated from pncconf?

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

More
30 Jul 2020 04:58 - 30 Jul 2020 04:58 #176464 by rodw
Replied by rodw on topic Errors on mesa-card selection
looks like you can comment out the stepgen pin.
Last edit: 30 Jul 2020 04:58 by rodw.

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

More
30 Jul 2020 05:29 #176468 by Reinhard
Hi Rod,

sure, I can comment out the pin to get linuxcnc to come up, but planned functionality is not given then. Beyond that, I don't know, how it should look right. May be some logic component is missing? No clue

... and: as pncconf is a tool for beginner, I would expect that every possible generation would work.
Is your expectation different?

I don't talk about what is possible with user entered pin names - that's of cause out of business of pncconf. But straight lines of configuration paths should work so far?!?

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

More
30 Jul 2020 05:33 #176470 by cmorley
I have not tried steppers with encoders on real hardware. I don't have anything I could test with.
I rely on feedback from - mostly users. Devs don't generally use pncconf.

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

More
30 Jul 2020 05:41 #176474 by Reinhard

I rely on feedback from - mostly users.

What a bummer.
Lot of users try software and disappear silently :(

I never got feedback about my app. Too bad for that
.

Devs don't generally use pncconf.

LOL - if you know how things should work together, then of cause you don't need help :dry:

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

More
30 Jul 2020 05:50 #176476 by cmorley
I had hoped the devs would try it from time to time just to help with bug fixes.
It works pretty well for normal open loop steppers and closed loop servo machines.
I have threatened to remove it for years but when it works its very helpful.
But I'm only one guy :)

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

More
30 Jul 2020 07:30 #176480 by Reinhard

It works pretty well for normal open loop steppers and closed loop servo machines.

Are there sample hal files available for working closed loop servo installations?
May be, I could find out the missing link by myself?
.

But I'm only one guy

LOL - from my observation a very helpful and for so very important guy :woohoo:
The following user(s) said Thank You: Clive S

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

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