-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with pncconf script with "string" to "int" convert 7i95T #3061
Comments
Is this from pncconf's discovery option? I have lost interest in chasing differences in firmware descriptions. It's probably time to finally remove pncconf from linuxcnc. |
TBH pncconf make better settings for antoher board, which I could refactor than MesaCT. MesaSupport asked me to use pncconf for 7i96 to setup spindle, because MesaCT for 7i95(T) doesn't setup spindle properly (step/dir and PWM). Also Pncconf use pid for servo and step motors instead of stepgen (examples in manual for LinuxCNC). So I would like to ask you do not remove this tool because it's useful. Yes, that was errors during discovery. One of issues I fixed just replace "if" statement for looking "P" letter in IO Connector. Another related to MUXEDQCOUNT instead of integer inside. |
Pncconf has been around along time so has lots of 'learned lessons' in it which makes it useful when it works. I won't be removing it anytime soon then, but don't expect to do anything but keep it run-able and simple fixes. can you show me the exact code you used to fix the one error? |
1194 instead of looking letter P in temp, you could use either regex or just looking first char and do not include regex lib |
Hi, a problem with the unexpected output from the reading card (during Pncconf wizard):
output.txt
mesa0_discovered.xml.txt
The same with MUXEDQCOUNT instead of int
So for the first issue should be smth like "First letter" instead of "any position" temp[0] == 'P', or better regexp like P\d
For the second I have no idea what should be there.
The text was updated successfully, but these errors were encountered: