On 24 May 2018 at 02:33, jeremy youngs <[email protected]> wrote: > Pin 1 and 3 are my a and b from the 7i42. > I have verified encoder is operational and 4.56 volts at pins 1&2 on 7i42 > so all seems good there. I'm pretty sure this is a syntax problem . Input ? > hal.jpg > <https://drive.google.com/file/d/175TeL3SfHMiQ5zVE2a-lXfxbgVhqeVwS/view?usp=drivesdk>
Halrun starts a new HAL session, you need to loadrt hostmot2 / hm2_7i90 / threads every time, then addf the functions to the thread and start the thread. You can put all the setup in a little halfile if you want, and then use halrun -I test.hal to save typing it all in every time. That's a capital "i" and means "start an interactive HAL session after running the HAL file" Halmeter won't have any pins to meter if you don't load the 7i90 driver. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
