Experimental Physics and Industrial Control System
|
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()?
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
|
- 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
<2013>
2014
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
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|