Hi Stefan,
The Acromag IP-330 driver (https://github.com/epics-modules/ip330) might be an example to look at. It is a 16-bit 16-channel
ADC.
It supports:
-
Hardware interrupts
-
ai records with SCAN=I/O Intr. This works OK to several hundred samples/s on all 16 channels.
-
ai records with periodic processing and averaging. For example the driver is sampling at 2000 samples/s and the record is processing at 10 Hz then it will average
200 readings.
-
Time-series mca records
-
Fast-feedback with the epid record
I have tested 2000 samples/s processing 16 ai records, 16 time-series records, and 1 fast-feedback record on a rather slow VME processor.
Mark
From: [email protected] [mailto:[email protected]]
On Behalf Of Stephen Paul
Sent: Tuesday, June 23, 2015 12:37 AM
To: [email protected]
Subject: multi-channel analog i/p
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 ?