Hi all,
I'm trying to use a gpib4pi board with linux gpib to pull measurements from a Racal Dana 1992. I am able to send commands to the unit just fine (change measurement modes, change measurement precision, change trigger settings, etc) but I am not getting any data back from the unit. If I send a command to specifically request data (e.g. GET), the SRQ LED illuminates and nothing else happens.
Right now I'm interacting with it directly through ibterm, but once I get this working I'm going to use a python script to send measurements to influxdb.
I have verified that the GPIB/MATE jumper on the unit is set to GPIB mode, and I have verified that the device is not in "talk only" mode.
Here are the contents of /usr/etc/gpib.conf
interface {
minor = 0 /* board index, minor = 0 uses /dev/gpib0, minor = 1 uses /dev/gpib1, etc. */
board_type = "gpib_bitbang" /* type of interface board being used */
name = "raspi_gpio_interface" /* optional name, allows you to get a board descriptor using ibfind() */
pad = 0 /* primary address of interface */
sad = 0 /* secondary address of interface */
timeout = T3s /* timeout for commands */
eos = 0x0a /* EOS Byte, 0xa is newline and 0xd is carriage return */
set-reos = yes /* Terminate read if EOS */
set-bin = no /* Compare EOS 8-bit */
set-xeos = no /* Assert EOI whenever EOS byte is sent */
set-eot = yes /* Assert EOI with last byte on writes */
/* settings for boards that lack plug-n-play capability */
base = 0 /* Base io ADDRESS */
irq = 0 /* Interrupt request level */
dma = 0 /* DMA channel (zero disables) */
master = yes /* interface board is system controller */
}
device {
minor = 0 /* minor number for interface board this device is connected to */
name = "racal-dana-1992" /* device mnemonic */
pad = 4 /* The Primary Address */
sad = 0 /* Secondary Address */
eos = 0x0a /* EOS Byte */
set-reos = yes /* Terminate read if EOS */
set-bin = no /* Compare EOS 8-bit */
}
Any help would be greatly appreciated. Thanks!