From: jreolid <jr...@mo...> - 2007-08-22 09:46:30
|
Hi all. I=92m working with a pioneer 3DX and I=92m trying to use the DIO and = AIO. =20 Well, for the DIO I=92m using the dioproxy in the following form. =20 DioProxy diop(&robot,0) .. .. =20 // Acces to te Digital Inputs Robot.Read(); =20 A=3Ddiop.GetCount(); =20 B=3Ddiop.GetDigin(); =20 Uint32_t aDigitOut; Uint8_t aCount; =20 aDigitOut=3D0xffff; aCount=3D0xf; =20 Diop.SetOutput(aCount,aDigitOut); =20 Then I can read the inputs (the=92re 1 by defect) with player but I=92m = not sure that if I=92m setting the values on the outputs because with a = multimeter the value in the PinOuts is 0.My objective is control one of the = DigitalOutputs as control signal to switch an integrate. =20 * How works the digital I/O? * Is that form correctly? Can anyone send me an = example of how put one port to one and later to 0? * The Digital port is the User I/O in the pioneer = board (20-pin latching IDCsocket =93the same that the gripper=94)? =20 I=92m also interesting in control the AIO with the AIO proxy but I = don=B4t know where are the ports in the pioneer board. =20 This should be a cuestion of newbee but I Can=92t find a solution on the mail-list. It will be ok if we can do a small list of short examples = with this kind of problems. |