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  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Thorlabs USB Hardare with EPICS
From: Eric Norum <[email protected]>
To: "Sorgenfrei, Florian" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 21 Aug 2013 10:22:08 -0700
The ASYN serial port code issues reads and writes at the lowest level so that should work.  The trick is to get all the termios stuff out of the way, which isn't that easy since the termios VMIN/VTIM stuff is used for handling read timeouts.   Do you know if the '/dev/usbtmcxxxx' devices support poll()?   

On Aug 21, 2013, at 10:08 AM, "Sorgenfrei, Florian" <[email protected]> wrote:

Hi,

we were able to improve the situation a little bit. It looks like the native usbtmc support is broken since kernel 2.6.28-11. We installed the driver from Agilent
on our Debian 3.2.46-1 x86_64 machine and now we have /dev/usbtmc0 which returns information about the connected devices and /dev/usbtmc1 ... usbtmc16. With the latter we can now repeatedly communicate
using echo (for example 'echo *IDN?>/dev/usbtmc1') and cat with the device and we get meaningful results. However, using the serial driver from asyn does not work, I guess since it is not
a pure serial device but rather a normal file in the linux file system where you can write to and read from.

Is there any possibility to get this working with asyn or do we have to find a new solution?

Cheers,

Flo

-- 
Eric Norum
[email protected]





References:
Re: Thorlabs USB Hardare with EPICS Sorgenfrei, Florian

Navigate by Date:
Prev: autosave per-db req files Stubbs, Scott A.
Next: RE: Thorlabs USB Hardare with EPICS Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Thorlabs USB Hardare with EPICS Sorgenfrei, Florian
Next: RE: Thorlabs USB Hardare with EPICS Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·