using ini variables within ini

More
16 Nov 2010 06:40 #5326 by step4linux
hello,

in a hal file I can write something like
setp stepgen.0.position-scale [AXIS_0]SCALE
to refer to a parameter definition in ini.
Can I do the same in ini somehow, like
[AXIS_1]
HOME_SEARCH_VEL = [AXIS_0]HOME_SEARCH_VEL 

thanks for help

Gerd

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

More
17 Nov 2010 14:42 #5367 by andypugh
Have you tried this? I am curious and suspect that an experiment is the easiest way to find out.

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

More
17 Nov 2010 18:08 #5373 by step4linux
Of course I tried, and it did not work straight away.:angry:
So I was hoping somebody knows the trick or has a workaround. :cheer:

I think it would be a good feature.

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

More
26 Nov 2010 18:53 #5645 by dab77
i'm looking into something like this, as i would like to setup all my three axis in one time, since they are all equal.
so i was thinking about using variables like one for the home position, one for the max velocity, one for max accel, and so on.

do you think is it possible?

thanks.

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

More
26 Nov 2010 20:02 #5647 by BigJohnT
The amount of work to implement something like this might not equal any savings for not having to type a few numbers once per machine build...

John

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

More
26 Nov 2010 20:23 #5648 by step4linux
ok, if it is really that big job...maybe its worth to investigate

what about include files ? could help also in some situations, especially for equal axis.

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

More
26 Nov 2010 21:33 - 26 Nov 2010 21:36 #5649 by BigJohnT
It might be worth investigating, you should give it a try. If you submit a working patch in the proper format to the developers mailing list in many cases the developers will add it.

John
Last edit: 26 Nov 2010 21:36 by BigJohnT.

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

Time to create page: 0.471 seconds
Powered by Kunena Forum