Am 08.08.2013 um 16:42 schrieb propcoder <[email protected]>:

> Let's say I want to make a GUI for at_pid autotuning PID component. How 
> should I set tune_effort, for example, from the GUI?

you have three options:

1. sledgehammer: run 'halcmd setp <paramname> <value>' from Python. 
2. change all params to pins in the component in question, and link them.
3. replicate the code in 
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/utils/halcmd_commands.c;h=d802c70df9281c1102e27c5d5f6a12d40d140279;hb=refs/heads/master#l683
 in C or Python and go from there. An extension of halmodule.cc is an option.

-m

> 
> On 2013.08.08 17:22, Michael Haberler wrote:
>> why dont you use a pin instead of a parameter, and link it to a pin in your 
>> Python component - done
> 
> 
> 
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead. 
> Download for free and get started troubleshooting in minutes. 
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to