Jeff Epler <[EMAIL PROTECTED]> wrote:

> On Wed, Jan 03, 2007 at 11:33:09AM +0200, Anders Wallin wrote: 
>
> > currently when running pyvcp under AXIS, the pyvcp pins are created with 
> > names like axisui. 
> > 
> > presumably, when running pyvcp standalone, pins are named pyvcp. 
> > 
> > I think it would be desirable to have them named identically in both 
> > cases. 
> 
> The roadblock to this right now is the "one component per userspace 
> process" limitation, combined with a deliberate choice in the python hal 
> module. I would actually prefer that the pins didn't begin 
> "axisui." but for now that's unavoidable since (A) there can only be one 
> component and (B) right now you have to have the component name as a 
> prefix to the HAL pin name 

Is limitation B something in the Python?  Its not a limitation of HAL
itself.  Using the component name as a prefix is simply a convention,
not a requirement.  The motion control module already violates the
convention.  It exports pins called "motion.blahblah" that handle 
"generic" stuff, and it also exports pins called "axis.N.blahblah"
for axis specific stuff.  If using multiple prefixes for a single
module or component makes sense, by all means do it.
 
Regards,

John Kasunich

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to