using ini variables within ini
- step4linux
- Offline
- Elite Member
Less
More
- Posts: 163
- Thank you received: 5
16 Nov 2010 06:40 #5326
by step4linux
using ini variables within ini was created by step4linux
hello,
in a hal file I can write something liketo refer to a parameter definition in ini.
Can I do the same in ini somehow, like
thanks for help
Gerd
in a hal file I can write something like
setp stepgen.0.position-scale [AXIS_0]SCALE
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.
17 Nov 2010 14:42 #5367
by andypugh
Replied by andypugh on topic Re:using ini variables within ini
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.
- step4linux
- Offline
- Elite Member
Less
More
- Posts: 163
- Thank you received: 5
17 Nov 2010 18:08 #5373
by step4linux
Replied by step4linux on topic Re:using ini variables within ini
Of course I tried, and it did not work straight away.
So I was hoping somebody knows the trick or has a workaround.
I think it would be a good feature.
So I was hoping somebody knows the trick or has a workaround.
I think it would be a good feature.
Please Log in or Create an account to join the conversation.
26 Nov 2010 18:53 #5645
by dab77
Replied by dab77 on topic Re:using ini variables within ini
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.
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.
26 Nov 2010 20:02 #5647
by BigJohnT
Replied by BigJohnT on topic Re:using ini variables within ini
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
John
Please Log in or Create an account to join the conversation.
- step4linux
- Offline
- Elite Member
Less
More
- Posts: 163
- Thank you received: 5
26 Nov 2010 20:23 #5648
by step4linux
Replied by step4linux on topic Re:using ini variables within ini
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.
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.
26 Nov 2010 21:33 - 26 Nov 2010 21:36 #5649
by BigJohnT
Replied by BigJohnT on topic Re:using ini variables within ini
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
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.097 seconds