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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: multi-channel analog i/p |
From: | <[email protected]> |
To: | <[email protected]>, <[email protected]> |
Date: | Tue, 23 Jun 2015 08:40:15 +0000 |
Hi Paul, This is basically a software triggered analogue read. Often ai’s have hardware triggers to tell the ADC to sample – frequently across many channels as you propose.
The triggers have to be supported by the driver layer, of course. A software trigger (as you propose) would typically be represented by a binary output record, which would cause the driver to trigger sampling, and the values would be fed back to the Ai records
by having them I/O Intr scanned. However, all this needs proper support in the driver. It is best to start off with a board with a driver that supports all this, but otherwise you need to write
a suitable driver for your board. In the VME world, we use the Hytec 8401 for this sort of job – the software manual is on the Hytec website:
http://www.hytec-electronics.co.uk/PDF/Hytec%20EPICS%20Device%20Driver%20User%20Manual.pdf. There is also some areaDetector work going on to generate a 2-D dataset from multiple triggers across many channels – that may be interesting depending on your
use case. Cheers, Nick Rees Principal Software Engineer Phone: +44 (0)1235-778430 Diamond Light Source Fax: +44 (0)1235-446713 From: [email protected] [mailto:[email protected]]
On Behalf Of Stephen Paul Hi guys, I have a 32-channel analog input board. I don't want to use 32 ai records reach reading directly from h/w. Instead , I first want a record and its device support to read all the channels from the board in one go and then pass these values to individual 32 ai records for conversion. Can anyone suggest what type of record I can use before ai record to achieve this ? Thanks, Stefen.
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. |