Fwd: ibln() fails on Agilent 82357a
Dirk Niggemann <[email protected]>
| Newsgroups | gmane.linux.hardware.gpib.general |
|---|---|
| Message-ID | <CAKrfojjGf4FFM3OPBsvv8TeeW6J3N5POiaqtMy69TMrpQW6=2w@mail.gmail.com> |
Hi Dave, That might well work (haven't tried it), but i'm accessing this in Python via pyvisa/pyvisa-py and the gpib_ctypes bindings to libgpib and those assume that ibln() works as advertised. I could probably modify pyvisa-py or gpib_ctypes to support this but it would have to have knowledge of the underlying card to make an intelligent decision to employ the alternative strategy. The idea is to keep the Python application layer ignorant of whether it is bound to libgpib, NI VISA, NI488..2, macosx_gpib_lib or Keysight VISA on Windows. Regards, Dirk On Mon, Jul 22, 2019 at 9:54 PM dave penkler <[email protected]> wrote: > Hi Dirk, > Does using ibcmd() to address the board as talker before calling ibln() > not work for you ? > AFAICT there should be no issue to add the one-line patch as standard > behaviour for the 82357a but I don't know whether it could adversely affect > other card types. > -Dave > > On Mon, 22 Jul 2019 at 20:35, Dirk Niggemann <[email protected]> > wrote: > >> It looks like the Agilent 82357a has the same issue as some of >> Measurement Computing cb7210.2 chips (even though it purports to e >> tms9914 internally) and can't read the state of the NDAC line unless >> addressed to talk. >> There was a simple one-line patch published by Bernhard Heibler in 2004 >> on this list that still applies today. >> >> Adding the single line to add a MTA command in listenerFound in >> ibFindLstn.c resolves the issue. >> >> Can we make this either the standard behaviour or add some kind of option >> in gpib.conf to enable the alternate behaviour? >> >> For my application, autodiscovery would be very useful. >> >> Regards, >> >> Dirk >> >> _______________________________________________ >> Linux-gpib-general mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general >> > _______________________________________________ Linux-gpib-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-gpib-general