Sorry for the disturbance, I found that I needed to add a a4l_config_subd before the a4l_sync_dio. Now it works fine ! Have a good day,
Hadrien On Wed, Mar 7, 2012 at 10:45 AM, Hadrien Caron <[email protected]>wrote: > Hello to all, I am using xenomai-2.6.0 on an ubuntu 10.10 with linux > kernel 2.6.38.8 on a x86 platform. > I am trying to make the digital input/output work but can't manage to do > so. > To do this, I use the > a4l_sync_dio<http://group__sync2__lib.html#gada79039a312c5cab36653c9edda98a3c> > function, > but I am not sure I understand well > what it's arguments should be (attached is an example program). > > My program is supposed to change the value of the DO channels to 1 > and then set it back to 0, but when I launch my program, it returns > without any error > but doesn't change anything on the channels (I check them with an > oscilloscope) > > Could someone give me an advice ? > > Thanks in advance ! > > Hadrien > >
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
