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: Epics-Digitizer Communication |
From: | Hulusi Öz <[email protected]> |
To: | "Ford, Christopher" <[email protected]> |
Cc: | Eric Norum <[email protected]>, tech-talk <[email protected]> |
Date: | Fri, 29 Jul 2016 09:54:09 +0300 |
At SLAC we recently evaluated the CAEN DT5730 Digitizer with an eye toward creating EPICS asyn driver support for it.
We used the DT5730's optical interface (by way of the CAEN A3818 optical controller) instead of USB.
CAEN provides C libraries for communicating with their digitizers. In our experience, these libraries took care of the low-level protocol details.
I haven't tried the digitizer's USB connection. Check out the CAEN A3818 if you want maximum performance from your DT5730.
Thanks,
-Chris Ford
SLAC
From: [email protected] <[email protected]> on behalf of Eric Norum <[email protected]>
Sent: Thursday, July 28, 2016 7:04 AM
To: Hulusi Öz
Cc: tech-talk
Subject: Re: Epics-Digitizer CommunicationThe error is indicating that the CAEN device is not a POSIX termios serial port and as such doesn’t accept the ioctl commands to set things like input timeout limits. I have no idea about the CAEN device protocol. If it happens to be USBTMC you could use the support for that this is part of ASYN. Otherwise you’ll have to contact the CAEN folks and see what support they provide for EPICS.
On Jul 27, 2016, at 10:52 PM, Hulusi Öz <[email protected]> wrote:
Hi Sir,
I have a few question about communication between Epics and Digitizer (manufactured by CAEN).I tried to write a basic protocol files that just read analog input,but I don't know that it's true or not. Here it is :
Terminator = LF;get_analog {in " %f";ExtraInput = Ignore;}It worked for Arduino. I can get analog values and monitor them on the terminal.I want to use this in CAEN Digitizer,since I could deal with the Arduino,I suppose..But,the thing is that when I connect the digitizer to the computer via USB, the IOC output says like that :
2016/07/27 09:28:55.056528 SERIALPORT SERIALPORT:input: asynError in read: Can't set "/dev/v1718_0" c_cc[VTIME]: Inappropriate ioctl for device2016/07/27 09:28:55.056871 SERIALPORT SERIALPORT:input: I/O error after reading 0 bytes: ""2016/07/27 09:28:55.056913 SERIALPORT SERIALPORT:input: Protocol aborted2016/07/27 09:28:55.556477 SERIALPORT SERIALPORT:input: asynError in read: Can't set "/dev/v1718_0" c_cc[VTIME]: Inappropriate ioctl for device
I installed the CAEN driver for this product (Digitizer DT 5730 in <http://www.caen.it/csite/CaenProd.jsp?parent=14&idmod=757>) at the path "/lib/modules/4.4.0-31-generic/kernel/drivers" . When I connect it, to learn which port number that it uses , v1718_0The way I learnt it is that :
ls /dev > notplugged // then I plug the Arduinols /dev > pluggeddiff notplugged plugged.
Its result for the Arduino says, Serial /ttymACM0,and it works. However the result for the Digitizer says, USB /v1718_0 .I am using Asyn Driver and StreamDevice.. I don't know that should I use another extensions or support for this product: I search on this website but I couldn't find..
Thanks in advance, sir..Regards..
Hulusi Oz
--
Eric Norum
[email protected]