[Emc-users] jdi.py

2010-03-25 Thread darcys...@gmail.com
Hi, I have a quick question regarding the jdi.py program by Jeff Epler. http://axis.unpy.net/01167419757 Is there a particular file structure that is required to run this? i.e. where should I be putting the jdi.py file? I note that the current folder and the ./lib/python folder is being added t

[Emc-users] jdi.py interact with hal and IO

2008-11-18 Thread Claude Froidevaux
Hi, For a specific HMI, I need to do operation when some Inputs are in defined state (homing after some input in 0 state for example). What is the good way to access hal Input (and output!) from jdi.py program ? regards, Claude -

Re: [Emc-users] jdi.py interact with hal and IO

2008-11-18 Thread Jeff Epler
Python programs can be userspace hal components. If I were faced with this problem, I would make my enhanced jdi program have the necessary hal pins, and connect them to whatever external signals have to drive progress. Jeff ---

Re: [Emc-users] jdi.py interact with hal and IO

2008-11-18 Thread Claude Froidevaux
Hi Jeff, Thanks for the prompt answer. Got your point, it seem a good solution. I found this documentation: http://www.linuxcnc.org/docview/html//hal_halmodule.html I see also at chapter 1.4 that direct access seem possible, I will try both way, soon! Claude Jeff Epler a écrit : > Python pro

Re: [Emc-users] jdi.py interact with hal and IO

2008-11-19 Thread Claude Froidevaux
Hi again, I did some try, and get stuck with the hal interconnection process... (example is given for a standalone hal module, I don't know how to do similar thinks with the jdi program (it refuse loading hal component if I put it in *.hal file pointed by .ini file) What I really need is simpl