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  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS-Arduino Serial Communication via Asyn-Stream Drivers
From: Hulusi Öz <[email protected]>
To: [email protected], [email protected]
Date: Wed, 27 Jul 2016 09:47:09 +0300
Thanks for your response,sir. I have followed your instructions,and I did it. And, I've got other output from the IOC boot ,I think it's an acceptable output. It just says no reply from device within 1000ms. But as I said that it's acceptable since I've just checked out the connection between EPICS and Arduino. I've done for right now except the preparing the protocol text files.

Therefore, 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;
}

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 device
2016/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 aborted
2016/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_0
The way I learnt it is that :

ls /dev > notplugged // then I plug the Arduino
ls /dev > plugged
diff 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..
Regards..

Hulusi


References:
EPICS-Arduino Serial Communication via Asyn-Stream Drivers Hulusi Öz
RE: EPICS-Arduino Serial Communication via Asyn-Stream Drivers Mark Rivers
Re: EPICS-Arduino Serial Communication via Asyn-Stream Drivers Hulusi Öz
RE: EPICS-Arduino Serial Communication via Asyn-Stream Drivers Mark Rivers
Re: EPICS-Arduino Serial Communication via Asyn-Stream Drivers Hulusi Öz

Navigate by Date:
Prev: Re: streamdevice question Eric Norum
Next: Re: EpicsQT and Archiver Appliance Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS-Arduino Serial Communication via Asyn-Stream Drivers Martin L. Smith
Next: streamdevice question geyang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 27 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·