Hi David,
The high level EPICS software already exists in this file, which works on both Linux and Windows.
https://github.com/epics-modules/measComp/blob/master/measCompApp/src/drvMultiFunction.cpp
The low-level Linux driver for the USB-1608G-2A0, written by Warren Jasper, also already exists:
https://github.com/wjasper/Linux_Drivers/blob/master/USB/mcc-libusb/usb-1608G.c
All that needs to be done is to write the “glue layer”, which is the derived class mcBoard_USB-1608G.cpp, in this directory:
https://github.com/epics-modules/measComp/tree/master/measCompApp/cbw_linuxSrc
There are lots of examples, including the mcBoard_E-1608.cpp that can be used as a starting point.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of
Dudley, David via Tech-talk
Sent: Monday, October 18, 2021 2:29 PM
To: tech-talk at aps.anl.gov
Subject: Measurement Computing USB-1608G_2AO support
Anyone implemented support for these device under Linux? measComp module looked real promising until read that only certain modules are supported under Linux, and this one is not one of them.
Later-
David Dudley
Controls Engineer III
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7133
Email: dudleyd@frib.msu.edu
|
|