Anders,

Thanks, that's good info. 

After looking at the HAL_Documentation again... The answer to my
question on adding a second port jumped out at me. I don't know how I
missed it many times before. 

It looks like I want to do this: (add this to my standard_pinout.hal
file)

loadrt hal_parport cfg="myport#_0 myport#_1 in"

My first port will be defaulted to an output type because I did not
specify in. My second port will be an in type because I used in after
the port number. Does this look right?

Can I start using this port after I have done this?

Thanks,
Mike



On Mon, 2007-01-08 at 23:30 +0200, Anders Wallin wrote:
> I'm sure someone else will answer your parport question, I think you 
> need to load two parport drivers, and tell them which parport to connect 
> to. you will get HAL pins parport.0.xxx and parport.1.xxx
> 
> > I am assuming the best way to integrate the pendant functions will be
> > through HALUI. 
> 
> you might be interested in my notes from a while back:
> http://www.anderswallin.net/2006/11/jogging-emc2/
> 
> the connections to halui and emc would be similar for a parport based 
> jogwheel/pendant, but the hardware pins would of course be named 
> differently.
> 
> 
> AW
> 
> -------------------------------------------------------------------------
> 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-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to