|
From: dave p. <dpe...@gm...> - 2021-02-19 08:39:25
|
Hi Evan,
>From what you have sent everything looks correct.
After you get the timeout error please run the following command and send
the output:
sudo dmesg | grep -i -e gpib -e agilent
Perhaps we will find a clue there.
cheers,
-Dave
On Fri, 19 Feb 2021 at 05:08, Evan Foss <eva...@gm...> wrote:
> Hi GPIB-List,
>
> I am trying to use an Agilent 82357B which I believe is a clone.
> After using fxload to push the firmware to the device I have this in my
> lsusb
> Bus 001 Device 009: ID 0957:0718 Agilent Technologies, Inc.
>
> The following is my /etc/gpib.conf
> interface {
> minor = 0
> pad = 0
> board_type = "agilent_82357a"
> name = "violet"
> timeout = T100s
> master = yes
> }
>
> device {
> minor = 0
> pad = 10
> name = "HP3325B1"
> sad = 0
> }
>
> gpib_config runs cleanly but ibtest is problematic. I can talk to the
> adapter
> sudo ibtest
> Do you wish to open a (d)evice or an interface (b)oard?
> (you probably want to open a device): b
> enter name of interface board (or device) you wish to open: violet
> trying to open board named 'violet'
> You can:
> w(a)it for an event
> write (c)ommand bytes to bus (system controller only)
> send (d)evice clear (device only)
> change remote (e)nable line (system controller only)
> (g)o to standby (release ATN line, system controller only)
> send (i)nterface clear (system controller only)
> ta(k)e control (assert ATN line, system controller only)
> get bus (l)ine status (board only)
> go to local (m)ode
> change end (o)f transmission configuration
> (q)uit
> (r)ead string
> perform (s)erial poll (device only)
> change (t)imeout on io operations
> request ser(v)ice (board only)
> (w)rite data string
> send group e(x)ecute trigger (device only)
> : l
> DAV off
> NDAC off
> NRFD off
> IFC off
> REN on
> SRQ off
> ATN off
> EOI off
> gpib status is:
> ibsta = 0x120 < CMPL CIC >
> iberr= 0
>
> ibcntl = 0
>
> but when I try to talk to the devices, any of them (I have tried
> others) this is what happens.
> ibtest
> Do you wish to open a (d)evice or an interface (b)oard?
> (you probably want to open a device): d
> enter primary gpib address for device you wish to open [0-30]: 10
> trying to open pad = 10 on /dev/gpib0 ...
> You can:
> w(a)it for an event
> write (c)ommand bytes to bus (system controller only)
> send (d)evice clear (device only)
> change remote (e)nable line (system controller only)
> (g)o to standby (release ATN line, system controller only)
> send (i)nterface clear (system controller only)
> ta(k)e control (assert ATN line, system controller only)
> get bus (l)ine status (board only)
> go to local (m)ode
> change end (o)f transmission configuration
> (q)uit
> (r)ead string
> perform (s)erial poll (device only)
> change (t)imeout on io operations
> request ser(v)ice (board only)
> (w)rite data string
> send group e(x)ecute trigger (device only)
> : w
> enter a string to send to your device: DISP OFF
> sending string: DISP OFF
>
> gpib status is:
> ibsta = 0xc100 < ERR TIMO CMPL >
> iberr= 14
> EBUS 14: Bus error
>
> Would one of you please explain to me what I am doing wrong here?
>
> Thanks,
> Evan
>
> --
> https://github.com/evanfoss
>
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: GnuPG v2
>
> mQENBFYy4RYBCAC183JomLtbdAlcKiaPDoVHq52LDmVmH75aiEc69m7YxDt54/ai
> VtYCAobbGVIyn3Hlz3uhF6LnPl/6Lm1VdnCfpwu3KQhCO6ds10ow2C30X4ohCqOd
> hCVg5C+ILmQkEffFrFODy3ji+PYTF4pADvHCWsTMv0hf0llwFOJsBCK6cl02IffE
> JPqy4PjM1nZ9HpzT84JBaG/4OGvTZ8SQ2yFUl265jagvygPTf88H1xpZHH1r8dB1
> stjUHLmPH8AOyDgKxFchgGeDc3p/vJtgDDIXAFfDXG0NSRovLmtaQdGxe47Zf/go
> bXiEM7YL2WqQe5zfEA919JxkEwlDKYniOSVzABEBAAG0N0V2YW4gRm9zcyAoVGhp
> cyBpcyBteSBwdWJsaWMga2V5LikgPGV2YW5mb3NzQGdtYWlsLmNvbT6JATkEEwEC
> ACMFAlYy4RYCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRCIpQTcE8nN
> bbBaCACAm8pU5lG1ev2Fsw68Axtcl57SJrYieqX96c3YuYH9JpqMqJRnd9nDKw9X
> tQuvuH7tUk0VbOaDqReOYJVI/4c5wb9AaOFp6K2DUcupq6XhgXpvz3HzoPwjAdIj
> XuQzdRUx5+innTJrSkGuBYW/CZ2zqEx4xfLlq4rO0hoTUMR8QVp2cCrkw6BT0m86
> APIw/ZnjoxM8IEzr7MxfRIg3qpzrZk28rmhx+k78Jyk61UhwcCPGIm/pjUopTwYJ
> 3YBdRB2cYD2aN7A1JVf5cRmSQYooHBGpH0kYvomGk97PKqypVuJ7OpG9xM58wUcC
> qUVt9hKlePLzP8csYjt8onqI7qIIuQENBFYy4RYBCADlH8spG3WkCx62vB5mr5Z0
> SCDd/RcyA4A5y5EOj5KurQkrSWpgi9Ho1yKruMJ6blQR2qkc66KqH9pnXDm/ZI1M
> K/wdW3ngETxBmXoozzFMT89aEWIVR5/PFodWK1elekE9iJxACuR98Zg2QttTD3x8
> A9w8VEyMLOXcDTrPFpHegMKswFBg5iuMulAdXAoGejWTI3n+qKFpabHm2Lfs6wjk
> 5rjucpTdeFK6UeWF1xAvNxXibuu5BlGwv53930qIXRwO/Gn2Rh5DXWxKU2fEIme/
> xgQQmIsDeUoWbfybdjw/x7Q0LW4mINiLDQcGHHRQKFIxbAJCT3USPLGh5xwE9/Er
> ABEBAAGJAR8EGAECAAkFAlYy4RYCGwwACgkQiKUE3BPJzW0uYAf9Hf30n8tM3mR2
> Zo6ESE0ivgdgjaJtAWrBUx7JzAzPjBnBOlNnu5Y9lVEqetvUPH6e3PvaHYUuaUU8
> 0HwxuKBW9nUprgV6uIu1DZmlcp+SxpbuCy7RDpNocRLNWWFMaYYzznmTgfnTgD4D
> gCq8Mf1mcfrluTkOAo+QNqbMfl1GISClopRqxVuAo59ewgMnFujwgd8w12BwWl24
> CzqOs5HqcUslePj+LzcjSNgVCklYwKl+0dsb/fctMOCtHodwqm2CBJ+zydvNmYkD
> fxda/J91Z1xrah5ec++FL0L4vs+jCiIWJeupJFKlr1hCMZiiGH7W554loK5l4jv3
> EY347EidAw==
> =Ta4p
> -----END PGP PUBLIC KEY BLOCK-----
>
>
> _______________________________________________
> Linux-gpib-general mailing list
> Lin...@li...
> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general
>
|