LAN-GPIB for MIDAS
IMPORTANT NOTE
The README.md of this driver assume you have read the README.md of the (MIDAS- independent) base driver for LAN-GPIB: https://gitea.psi.ch/lin-midas-drivers/lan_gpib_vxi11.
This is a MIDAS bus driver for LAN-GPIB using the VXI-11 protocol. It uses the
MIDAS-independent base driver for LAN-GPIB
(https://gitea.psi.ch/lin-midas-drivers/lan_gpib_vxi11). It provides the
INT langpib(INT cmd, ...) function which handles the different MIDAS commands
(encoded via integers CMD_INIT, CMD_WRITEREAD and so on).
This driver is meant to be used for devices which strictly follow the VXI-11 protocol. There are some devices which deviate from that protocol, hence they use modified versions of this driver.
Integration into device driver
To include this driver into another driver via CMake, add the top-level directory as subdirectory and link to the library target:
add_subdirectory(
<path-to-midas_lan_gpib-repository>
)
target_link_libraries(
<device-driver-name>
midas_lan_gpib
)