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>
Sent: Thursday, October 21, 2021 4:43 PM
To: Mark Rivers <rivers at cars.uchicago.edu>; 'Dudley, David' <dudleyd at frib.msu.edu>
Cc: tech-talk at aps.anl.gov
Subject: Re: Measurement Computing USB-1608G_2AO support
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
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
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
|
|