EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: measComp R4-2 available
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: Abdalla Ahmad <Abdalla.Ahmad at sesame.org.jo>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Sun, 30 Jul 2023 14:12:01 +0000
Hi Abdalla,

The DT8824 is not supported because it is not supported by the Measurement Computing ULDaq library on Linux (https://www.mccdaq.com/PDFs/Manuals/Linux-hw.pdf) or UL library on Windows.

Mark


From: Abdalla Ahmad <Abdalla.Ahmad at sesame.org.jo>
Sent: Sunday, July 30, 2023 2:43 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: RE: measComp R4-2 available
 

Hello Mark

 

Does this module support the DT8824? A quick look at the documentation shows it does not. We have a very basic but working driver here https://github.com/AbdallaDalleh/dt8824-daq , do you think it is possible to add this driver to the measComp module or it does not fit in the family of models supported by the measComp module?

 

Thanks.

Abdalla.

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Mark Rivers via Tech-talk
Sent: Saturday, July 29, 2023 5:38 PM
To: tech-talk at aps.anl.gov
Subject: measComp R4-2 available

 

Folks,

 

R4-2 of the measComp module is now available.  This is from the release notes:

·         Added support for the following new models:

o    USB-SSR08, which supports 8 solid-state relays.

o    USB-1808 and 1808X. These support 8 18-bit analog inputs, 2 16-bit analog outputs, 2 50 MHz pulse-generators, 4 digital I/O bits, 2 counter inputs, and 2 quadrature encoder inputs.

·         Added support for counter device to E-DIO24.substitutions.

·         Added OPI and iocBoot files for the USB-3104.

·         drvUSBCTR.cpp and drvMultiFunction.cpp

o    Added new parameters for modelName, modelNumber, firmwareVersion, ULVersion, driverVersion, pollSleepMS, pollTimeMS, lastErrorMessage

o    replacedPulseGenWidth with pulseGenDutyCycle.
pulseGenWidth is now calculated in the database from pulseGenFrequency and pulseGenDutyCycle.

o    Changed the poller function to sleep for pollSleepMS rather than hardcoded time of 100 ms. The actual poller cycle time is now reported in pollTimeMS.

·         drvMultiFunction.cpp

o    Added a new global mutex to prevent multiple devices from calling the vendor library at the same time. This is needed to prevent errors with multiple Ethernet devices in the same IOC on Linux.

o    Changes to support multiple pulse generators (timers) rather than only 1. Needed for USB-1808.

o    Changes to support write-only and read-only digital I/O ports.

o    The analog inputs are now read in the poller thread, rather than in the readInt32 method. The device support for analog inputs was changed from asynInt32 to asynInt32Average. This means that the device support now averages all of the values read by the poller thread between record processing. For example, if the poller thread is running at 100 Hz and the ai record SCAN field is .2 seconds then 20 values will be averaged each time the record processes. If the record SCAN field is I/O Intr then every value read in the poller thread will result in record processing with no averaging.

·         measCompAnalogOut.template

o    Changed PINI from YES to $(PINI=YES) so the default value can be overridden.

o    Set PHAS=2 on the ao record to ensure that the Range record will process before the ao record.

·         measCompBinaryIn.template

o    Set DESC=$(DESC=) to allow optional passing a description macro value.

·         measCompBinaryOut.template

o    Set DESC=$(DESC=) to allow optional passing a description macro value on the bo and bi RBV records.

o    Set PHAS=2 on the bo record to ensure that the Direction record will process before the bo record.

·         measCompDevice.template

o    New file with records for ModelName, ModelNumber, FirmwareVersion, ULVersion, DriverVersion, PollSleepMS, PollTimeMS, LastErrorMessage

·         measCompEncoder.template

o    New file with records for quadrature encoder inputs.

·         measCompLongOut.template

o    Changed PINI from YES to $(PINI=NO) so the default is now NO but can be overridden.

·         measCompPulseGen.template

o    Added DutyCycle record, and calc record logic to convert from DutyCycle to PulseWidth and vice versa.

·         OPI files

o    Add ModelName, ModelNumber, FirmwareVersion, ULVersion, DriverVersion, PollSleepMS, PollTimeMS, LastErrorMessage PV at top of each module screen.

·         Documentation

o    Added documentation for the records in the new measCompDevice.template file.

o    Updated the screen shots to show the new measCompDevice embedded screen at the top.

o    Added documentation for the USB-1808 models.

o    Changed the analog input documentation to describe the new pollSleepMS record and asynInt32Average device support.

 

Home: https://github.com/epics-modules/measComp

Documentation: https://epics-modules.github.io/measComp/

 

Mark

 


References:
measComp R4-2 available Mark Rivers via Tech-talk
RE: measComp R4-2 available Abdalla Ahmad via Tech-talk

Navigate by Date:
Prev: RE: measComp R4-2 available Abdalla Ahmad via Tech-talk
Next: Re: Process aSub record on arrival of data Matt Rippa via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: RE: measComp R4-2 available Abdalla Ahmad via Tech-talk
Next: Re: [External] measComp R4-2 available Leblanc, Gregory via Tech-talk
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  <20232024 
ANJ, 29 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·