Discussion:
[Linux-gpib-general] Problems with GPIB-pcIIa card and ibtest
Giacomo Indiveri
2003-05-09 09:12:07 UTC
Permalink
I just installed the linux-gpib.3.1.93 drivers and am trying for the
first time to interface to some instruments through a NI-PCIIa card on
an ISA slot.

Using ibtest I can send an interface clear apparently with no errors:

gpib status is:
ibsta = 0x8100 < ERR CMPL >
iberr= 0
EDVR 0: OS error

ibcnt = 0


but whenever I try to write a string to a device I get a Bus error:

gpib status is:
ibsta = 0xc100 < ERR TIMO CMPL >
iberr= 14
EBUS 14: Bus error

ibcnt = 0


Do you have any idea of what the problem could be?

Here is my gpib.conf file:

interface {
minor = 0
board_type = "pcIIa"
name = "ISA"
pad = 0
sad = 0
timeout = T3s
eos = 0x0a
set-reos = yes
set-bin = no
set-xeos = no
set-eot = yes
base = 0x02e1
irq = 7
dma = 3
master = yes
}

device {
minor = 0
name = "k230"
pad = 13
sad = 0
eos = 0x0d
set-reos = no
set-bin = no
}
Frank Mori Hess
2003-05-09 12:31:10 UTC
Permalink
Post by Giacomo Indiveri
I just installed the linux-gpib.3.1.93 drivers and am trying for the
first time to interface to some instruments through a NI-PCIIa card on
an ISA slot.
ibsta = 0x8100 < ERR CMPL >
iberr= 0
EDVR 0: OS error
ibcnt = 0
Actually, you are getting an error. That EDVR should really be an EARG, you
are apparently trying to do an interface clear on a device instead of a board?
Post by Giacomo Indiveri
ibsta = 0xc100 < ERR TIMO CMPL >
iberr= 14
EBUS 14: Bus error
ibcnt = 0
Are you sure your base address and irq are correct? It could also be some
problem with your device, it is timing out while trying to send the command
bytes to address the device as listener.

- --
Frank

Loading...