Hi, Alex, hello Andy,

please read my answers inline.

On 2014.12.03 16:21, alex chiosso wrote:
> Hi Marius.
> Is the hal pins naming your problem ?
no, hal pin naming is not a problem.
> If it is maybe it is a no_problem .
> I mean because you can freely name the hal widgets that creates hal pins
> you can name i.e gladevcp.01_hal_pin_name for the "panel 1" ,
> gladevcp.02_hal_pin_name for the "panel 2" and so on.
> I would use the Notebook Container for this purpose to layout the panels .
I want to run three identical production lines of one machine. They have 
common frame, common hydro-pump, electric cabinet, electronics, e-stop 
chain, PC, monitor and keyboard, mouse. But each of them can run 
individually - start and stop, change parameters, load them from 
different files, have their own diagnostics.
I created custom hal component, which has almost everything needed to 
run the line in real time. I am using limit3 and one line runs 
successfully without need of axis gui or motion controller. I created 
python module for the interface.
They are not so simple, that's why I would like to make one change and 
have it on all of them.
> Why do you need three separate instances on the Python module ?
Because I want my changes to appear on all instances at once.
> Dou you use the persistence feature for the vcp panels ?
Yes, but not sure if I will use it later. It might be I will write my 
own code for loading and saving persistent parameters.
>
> Alex
>
> On Tue, Dec 2, 2014 at 10:42 PM, andy pugh <bodge...@gmail.com> wrote:
> ...
> The other (harder) option would be to create them all programmatically.
This is what I want - to create, load or to reparent them all 
programmatically.
I found builder.add_from_file glade method, which might be handy. But I 
don't know how to use it yet.
More about it:
http://python-gtk-3-tutorial.readthedocs.org/en/latest/builder.html
http://stackoverflow.com/questions/1378582/using-multiple-glade-files-gtkbuiler




------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to