Re: Working with secondary addresses
dave penkler <[email protected]> Thu, 26 Mar 2026 12:05:14 +0100
| Newsgroups | gmane.linux.hardware.gpib.general |
|---|---|
| Message-ID | <CAL=kjP1dfpmw51K+KTqSgO3yGHCv5hOqz=sGVbH8O2UoK-9V6Q@mail.gmail.com> |
--===============7854562083157830504== Content-Type: multipart/alternative; boundary="0000000000008efdef064deb5c19" --0000000000008efdef064deb5c19 Content-Type: text/plain; charset="UTF-8" Hi John, The python bindings are fine. "but there are no listeners currently addressed." means that when the addressing commands are sent there is no response on the bus. In detail: no device has asserted one of NDAC and NRFD So it looks like the device at pad 5 does not recognise sad 0x73 Looking at the perl code you are using sad 0x7B Could that be the issue ? cheers, -Dave On Wed, 25 Mar 2026 at 22:02, dave penkler <[email protected]> wrote: > OK, > I'll look into it. > > > On Wed, 25 Mar 2026 at 16:35, John via Linux-gpib-general < > [email protected]> wrote: > >> >> 1) Not plugged into the bus >> >> The device is plugged in and the Perl script works so its not >> connectivity. >> >> 2) Not powered on >> >> Again, the Perl script works on the same device. >> >> 3) Device is hung >> >> There is no change after power cycling the device and computer. >> >> I am fairly certain its a software issue, but would need to dig into the >> library code and maybe attach a logic analyser to understand what's >> happening behind the scenes so to speak. >> >> What does it mean by "but there are no listeners currently addressed." ? >> The gpib.dev() addressing command is presumably opening a listen or talk >> communication handle? >> >> Could be an issue with how the device is responding I suppose, but why >> would Perl work and Python not when its supposedly doing the same thing? >> >> I do at least have the option to run with Perl for now, but it would be >> nice to have Python. >> >> _______________________________________________ >> Linux-gpib-general mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general >> > --0000000000008efdef064deb5c19 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div>Hi John,</div><div>The python bindin= gs are fine.</div><div>"but there are no listeners currently addressed= ." means that when the addressing commands are sent there is no respon= se on the bus.</div><div>In detail: no device has asserted one of NDAC and = NRFD=C2=A0</div><div>So it looks like the device at pad 5 does not recognis= e sad 0x73</div><div>Looking at the perl code you are using sad 0x7B</div><= div>Could=C2=A0that be the issue ?</div><div>cheers,</div><div>-Dave</div><= /div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" = class=3D"gmail_attr">On Wed, 25 Mar 2026 at 22:02, dave penkler <<a href= =3D"mailto:[email protected]">[email protected]</a>> wrote:<br></div><= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">OK,<div>I= 'll look=C2=A0into it.</div><div><br></div></div><br><div class=3D"gmai= l_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, 25 Mar 2026 at 16:35= , John via Linux-gpib-general <<a href=3D"mailto:linux-gpib-general@list= s.sourceforge.net" target=3D"_blank">[email protected]= et</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi= n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex= "><u></u> =20 =20 =20 <div> <p><br></p> <div>1) Not plugged into the bus</div> <div><br> </div> <div>The device is plugged in and the Perl script works so its not connectivity.</div> <div><br> </div> <div> <div>2) Not powered on</div> <div><br> </div> <div>Again, the Perl script works on the same device.</div> <div><br> </div> <div> <div>3) Device is hung</div> <div><br> </div> <div>There is no change after power cycling the device and computer.</div> <div><br> </div> <div>I am fairly certain its a software issue, but would need to dig into the library code and maybe attach a logic analyser to understand what's happening behind the scenes so to speak.</d= iv> <div><br> </div> What does it mean by "but there are no listeners currently addressed." ?</div> </div> <div>The <a href=3D"http://gpib.dev" target=3D"_blank">gpib.dev</a>() a= ddressing command is presumably opening a listen or talk communication handle?</div> <p>Could be an issue with how the device is responding I suppose, but why would Perl work and Python not when its supposedly doing the same thing?</p> <p>I do at least have the option to run with Perl for now, but it would be nice to have Python.</p> <blockquote type=3D"cite"> <pre></pre> </blockquote> </div> _______________________________________________<br> Linux-gpib-general mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/linux-gpib-general"= rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/l= istinfo/linux-gpib-general</a><br> </blockquote></div> </blockquote></div></div> --0000000000008efdef064deb5c19-- --===============7854562083157830504== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7854562083157830504== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-gpib-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-gpib-general --===============7854562083157830504==--