1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Measurement Computing USB-1608G_2AO support |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "'Hu, Yong'" <yhu at bnl.gov>, "'Dudley, David'" <dudleyd at frib.msu.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 21 Oct 2021 21:51:00 +0000 |
Hi Yong, The USB-1608G_2A0 accepts a TTL trigger. It can thus be used as an inexpensive waveform digitizer using either the internal clock, or an external trigger to collect the next sample. It can digitize a single input at 500 kHz, 2 channels
at 250kHz, etc. Mark From: Hu, Yong <yhu at bnl.gov> Hi Mark, David, etc.: Those modules seem amazing. Do you know any analog I/O modules accept external trigger, i.e. it has an TTL trigger input?
Thanks, Yong From:
Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> 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 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-
|