On 28 July 2014 21:46, Ralph Stirling <ralph.stirl...@wallawalla.edu> wrote:

> We are perfectly happy to hand edit the hal file, but do not know
> the syntax for specifying the second 7i76.  Random (educated)
> guesses have not been successful.

I think that if you have 5i25.0.7i76.0.0.gpio.NN then the second 7i76
will be 5i25.0.7i76.1.0.gpio.NN

You shouldn't actually need to do anything to see the GPIO on the
second 7i76. As long as there is Field Power, it will self-declare to
the driver

halrun
loadrt hostmot2
loadrt hm2_pci
show pin

Will give you a dump of all the default pins,and should include both 7i76s.

You might like to use the use_serial_numbers option to disambiguate the cards.
(Which seems to be undocumented, even though I remember documenting
it, and the code is there)
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/drivers/mesa-hostmot2/hostmot2.c;h=94168e1e00f4c65eef09754ef415ffc0c0e814f0;hb=refs/heads/2.6#l56




-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&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