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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: USBTMC Device can not autoConnect
From: Eric Norum via Tech-talk <tech-talk@aps.anl.gov>
To: Christopher Herrmann <ch852@cornell.edu>
Cc: Marty Kraimer via Tech-talk <tech-talk@aps.anl.gov>
Date: Wed, 17 Jul 2019 09:06:58 -0700
Add an asynRecord to your application — you can then use and EDM/MEDM/CSS window to issue commands to connect/disconnect, enable/disable diagnostic messages and such.

On Jul 17, 2019, at 9:03 AM, Christopher Herrmann <ch852@cornell.edu> wrote:

I have also tried replacing the usbtmcConfigure("U0") with usbtmcConfigure("U0",1510, 2230, "/dev/usbtcm0", 0, 0). I converted 05e6 to 1510 in decimal. Still the same error.

After running lsusb this is the output for the power supply
Bus 007 Device 014: ID 05e6:2230 Keithley Instruments.
Of course this command generates more output but I do not think it is relevant. Let me know 
if you would like it though.

I can send the device commands by writing to the /dev/usbtmc0 device file, so at least I know that the permissions are correct. There aren't any other usbtmc devices on this machine either.

If I disable autoConnect, then how to do explicitly connect to the device? Maybe that will a more useful error output.

— 
Eric Norum





References:
USBTMC Device can not autoConnect Christopher Herrmann via Tech-talk
Re: USBTMC Device can not autoConnect Eric Norum via Tech-talk

Navigate by Date:
Prev: Re: USBTMC Device can not autoConnect Eric Norum via Tech-talk
Next: Re: USBTMC Device can not autoConnect Eric Norum 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  <20192020 
Navigate by Thread:
Prev: Re: USBTMC Device can not autoConnect Eric Norum via Tech-talk
Next: Re: USBTMC Device can not autoConnect Eric Norum 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  <20192020