Axis Calibration Empty
- jag
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
06 Oct 2010 14:33 #4534
by jag
Axis Calibration Empty was created by jag
Not sure if this is an error in pncconf or somewhere else...
I seem to have a problem where I can't run the servo axis calibration dialog (in AXIS) when I use a config from pncconf. If I use an old config that is from the example configs I can do it fine. If I use the config that I generated with pncconf the dialog comes up empty and I get the following error when I hit the refresh button:
I've been working around this by tuning with the old config and copying the values but I was wondering if anyone had a fix for this. This problem showed up in 2.4 and 2.5.0 pre
-Jeremy
I seem to have a problem where I can't run the servo axis calibration dialog (in AXIS) when I use a config from pncconf. If I use an old config that is from the example configs I can do it fine. If I use the config that I generated with pncconf the dialog comes up empty and I get the following error when I hit the refresh button:
can't read "ininamearray(0)": no such variable
can't read "ininamearray(0)": no such variable
while executing
"set ininamearray($axisentry)"
(procedure "iniTuneButtonpress" line 34)
invoked from within
"iniTuneButtonpress refresh"
invoked from within
".main.top.fpage0.buttons.refresh invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 22)
invoked from within
"tk::ButtonUp .main.top.fpage0.buttons.refresh"
(command bound to event)
I've been working around this by tuning with the old config and copying the values but I was wondering if anyone had a fix for this. This problem showed up in 2.4 and 2.5.0 pre
-Jeremy
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7000
- Thank you received: 1172
06 Oct 2010 17:12 #4536
by BigJohnT
Replied by BigJohnT on topic Re:Axis Calibration Empty
You might compare the two ini files and spot something different in the pncconf one.
John
John
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
07 Oct 2010 00:33 #4548
by cmorley
Replied by cmorley on topic Re:Axis Calibration Empty
yes this is a bug in pncconf.
I would fix it but I have not figured out exactly what is tripping up axis.
On my todo list.
I would fix it but I have not figured out exactly what is tripping up axis.
On my todo list.
Please Log in or Create an account to join the conversation.
- jag
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
07 Oct 2010 01:33 #4549
by jag
Replied by jag on topic Re:Axis Calibration Empty
I'll try to take a look through the config files and see if I can find a critical difference between the one that works and the one that doesn't. I won't be back with the machine until next week though.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
07 Oct 2010 05:51 - 07 Oct 2010 05:53 #4552
by cmorley
Replied by cmorley on topic Re:Axis Calibration Empty
I finally figured out what is wrong.
I had pncconf space the setp lines (in the HAL file) to the right to make them easier to read.
The calabration program doesn't like that.
any line that looks similar to this (note the [axis_2] ):
setp pid.z.Pgain [AXIS_2]P
must not start with any spaces,:
I will commit this fix soon.
Chris M
I had pncconf space the setp lines (in the HAL file) to the right to make them easier to read.
The calabration program doesn't like that.
any line that looks similar to this (note the [axis_2] ):
setp pid.z.Pgain [AXIS_2]P
must not start with any spaces,:
I will commit this fix soon.
Chris M
Last edit: 07 Oct 2010 05:53 by cmorley.
Please Log in or Create an account to join the conversation.
- jag
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
07 Oct 2010 11:41 #4555
by jag
Replied by jag on topic Re:Axis Calibration Empty
Thanks Chris!
That seems like more of a bug in Axis than in pncconf. Seems like it should be ignoring the leading whitespace.
Thanks for figuring it out so quickly and thanks pncconf!
-Jeremy
That seems like more of a bug in Axis than in pncconf. Seems like it should be ignoring the leading whitespace.
Thanks for figuring it out so quickly and thanks pncconf!
-Jeremy
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
07 Oct 2010 13:12 #4560
by cmorley
Replied by cmorley on topic Re:Axis Calibration Empty
Its not Axis either. Axis calls another program for calibration.
I would attempt fixing it but the program is written in TCL.
I find TCL pretty cryptic.
I can't believe it was just spaces !
I would attempt fixing it but the program is written in TCL.
I find TCL pretty cryptic.
I can't believe it was just spaces !
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
09 Oct 2010 22:21 #4600
by cmorley
Replied by cmorley on topic Re:Axis Calibration Empty
This is fixed in the latest release 2.4.5
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.061 seconds