Hi,
I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.
ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.
2460 Source meter is working flawlessly: write and read and query works well.
I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/
Any suggestions how to resolve this issue?
ibtest for 2420:
enter maximum number of bytes to read [1024]: 1024
trying to read 1024 bytes from device...
received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
Number of bytes read: 34
gpib status is:
ibsta = 0xc100 < ERR TIMO CMPL >
iberr= 6
EABO 6: Operation aborted
ibtest for 2460:
enter maximum number of bytes to read [1024]: 1024
trying to read 1024 bytes from device...
received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
'
Number of bytes read: 48
gpib status is:
ibsta = 0x2100 < END CMPL >
iberr= 0
gpib.conf:
interface {
minor = 0
board_type = "ni_pci"
name = "gpib"
pad = 0
master = yes
/ base = 0
sad = 0
irq = 0
dma = 0
with and without does not matter /
}
device {
minor = 0
name = "PS1"
pad = 6
eos = 0xa /* EOS Byte */ set-reos = no /* Terminate read if EOS */ set-bin = no /* Compare EOS 8-bit */
}
device {
minor = 0
name = "SM1"
pad = 11
eos = 0xa /* EOS Byte */ set-reos = no /* Terminate read if EOS */ set-bin = no /* Compare EOS 8-bit */
}
device {
minor = 0
name = "LA1"
pad = 16
eos = 0xa /* EOS Byte */ set-reos = no /* Terminate read if EOS */ set-bin = no /* Compare EOS 8-bit */
}
Hi Robert,
Do the 2420 Source meter and SR844 Lockin assert EOI at the end of
their message ?
-dave
On Mon, 24 May 2021 at 17:00, Robert robertst@users.sourceforge.net wrote:
Related
Support Requests: #31
Hi,
I am not sure about that. How can I check/change that?
In python I tried numerous terminations for read and write comments without success.
Cheers,
Robert
Related
Support Requests: #31
Would you try svn revision 1985? I found a possible cause of your issue.
That sounds promising. Please tell me what to do and how to do it.
Cheers,
Robert
Related
Support Requests: #31
Well, you could just edit the code you have with the 2 line changes shown here:
https://sourceforge.net/p/linux-gpib/code/1985/
Or you could checkout the svn trunk. Then rebuild/reinstall/reload
the linux-gpib-kernel modules.
I changed the code. Cleaned and remade installed it (kernel only). Nothing changed :/
Cheers,
Robert
Related
Support Requests: #31
Did you rmmod the old modules, or reboot? If it is something else,
you'll probably have to debug tnt4882_accel_read() in tnt4882_read.c
yourself and figure out why/where it is getting stuck to make
progress.
On Tue, May 25, 2021 at 3:40 PM Robert robertst@users.sourceforge.net wrote:
--
Frank
Related
Support Requests: #31
I rebooted to be sure.
Writing is going well and fast just the response is not. Dang.
Cheers,
Robert
Related
Support Requests: #31
Hi Robert,
Have you tried setting set-reos = yes in gpib.conf for the 2420 ?
From the 2400 manual: "Response message terminator (RMT) Each response
is terminated with an LF (line feed) and EOI (end or identify)."
On Wed, 26 May 2021 at 03:01, Robert robertst@users.sourceforge.net wrote:
Related
Support Requests: #31