EPICS Home

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: "Sorgenfrei, Florian" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 21 Aug 2013 17:08:27 +0000
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

> From the device name this is is a USBTMC device, not a serial port. I've seen similar behavior in older linux kernels, you might have more luck > updating to a more recent kernel. > > Guy Jennings > > On Aug 2, 2013, at 10:36 AM, Eric Norum <[email protected]> wrote: > >> Since you can communicate with the unit using simple shell commands I'm inferring that the unit presents itself as a USB-connected serial port. Standard StreamDevice + ASYN support should work fine. >> >> On Aug 2, 2013, at 5:42 AM, "Drube, Hardy" <[email protected]> wrote: >> >>> Dear all, >>> >>> I have some problems to establish a longer lasting connection with a Thorlabs PM100USB Powermeter. >>> >>> It is listed in /dev as usbtmc0 and I can communicate with it through echo –e. But this is only possible for one time. A second time echo –e won’t work. I have to disconnect and reconnect the USB-cable. Then again it will work one time. >>> Could you help me with this problem? >>> >>> Note: This device has two chips, the first one is a XILINX XCR3064XL (AD Converter) and the second a NXP LPC2387FBD100. >>> >>> Best regards, >>> Hardy Drube >>> >> >> -- >> Eric Norum >> [email protected] >>



Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de

Replies:
Re: Thorlabs USB Hardare with EPICS Eric Norum
RE: Thorlabs USB Hardare with EPICS Mark Rivers

Navigate by Date:
Prev: RE: query ioc/cas for list of channels Zelazny, Michael Stanley
Next: Re: query ioc/cas for list of channels J. Lewis Muir
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 Jennings Guy
Next: Re: Thorlabs USB Hardare with EPICS Eric Norum
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