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  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: USBTMC, Can't get device capability and Can't clear buffers
From: (대학원생) 문석호 (물리학과) via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Sun, 17 Oct 2021 08:35:06 +0000
Hello, 

I try to make epics control system for dg812(Rf signal generator of RIGOL).
The dg812 supported usb commuincation but the protocol is usbtmc so I used drvAsynusbtmc module of asyn. 
However, I faced  some error like below. 



I did the test in centos7 enviroment and the version of asyn is 4-26 and the version of base is 3.14.12.5 .
I also did the test with rasberrypi3 enviroment with same asyn and base version but it shows same error message. 

'Can clear buffer ~' and 'Can't get device capabilities ~'

The most strange thing is about usb mount. When I plug in the usb cable and check the usb mount at /dev, I can check that the usb is succesfully mounted with name 'usbtmc0'. 
However, after I run epics and see the above error, the usb is diconnected so I can't see the 'usbtmc0' at /dev directory.

 That thing happens at centos 7 environment and also in rasberrypi enviroment. 
Can you give me some advice about this error?

Best Regards 

SeokHoMoon

===============================================

Intense Beam and Accelerator Laboratory
Department of Physics

Ulsan National Institute of Science and Technology (UNIST)

50, UNIST-gil, Ulsan 44919, Republic of Korea

E-mail : msh3069 at unist.ac.kr, msh3069 at naver.com
Phone: +82-10-2767-9398
===============================================


Replies:
Re: USBTMC, Can't get device capability and Can't clear buffers Mark Rivers via Tech-talk
Re: USBTMC, Can't get device capability and Can't clear buffers Eric Norum via Tech-talk

Navigate by Date:
Prev: Java & CA Pavel Cheblakov via Tech-talk
Next: Re: USBTMC, Can't get device capability and Can't clear buffers Mark Rivers via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Java & CA Kasemir, Kay via Tech-talk
Next: Re: USBTMC, Can't get device capability and Can't clear buffers Mark Rivers via Tech-talk
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  <20212022  2023  2024