At Tue, 06 Jan 2015 16:00:55 -0500,
Rodrigo Amestica wrote:
> 
> At Tue, 6 Jan 2015 18:52:23 +0100,
> Uwe Hermann wrote:
> > 
> > Hi,
> > 
> > On Tue, Jan 06, 2015 at 06:34:02PM +0700, Jean-Luc Aufranc wrote:
> > > I have a UNI-T UT61E multimeter, and I've tried to use sigrok on Ubuntu 
> > > 14.04 using "RS232C" cable, which looks to be referred to as UT-D02 on 
> > > the net.
> > > I've installed sigrok with apt-get install sigrok-cli.
> > > 
> > > Connected the serial cable via a USB to serial to the USB port of my 
> > > computer, but when I scan the device I get:
> > > sigrok-cli --driver=uni-t-ut61e-ser:conn=/dev/ttyUSB1 --scan
> > > sr: es51922: Invalid function byte: 0xb3.
> > > sr: es51922: Invalid function byte: 0xb0.
> > > sr: es51922: Both AC and DC flags detected in packet.
> > > sr: es51922: Invalid function byte: 0xb0.
> > > sr: es51922: Invalid function byte: 0xb0.
> > > sr: es51922: Invalid function byte: 0x0d.
> > > sr: serial: Didn't find a valid packet (read 20 bytes).
> > > 
> > > A more details log with -l 5 function can be found @ 
> > > http://pastebin.com/y0Yf3pQK
> > > 
> > > So I wonder if I may doing something wrong, or the company has changed 
> > > something in my version.
> > > The multimeter works OK in Windows with the tools provided in the CDROM. 
> > 
> > Hm, that's strange. The multimeter works fine for me, I just tested both
> > the sigrok-cli/libsigrok version in Debian and the current git HEAD:
> > 
> > $ sigrok-cli --driver=uni-t-ut61e-ser:conn=/dev/ttyUSB0 --scan
> > The following devices were found:
> > uni-t-ut61e-ser - UNI-T UT61E (UT-D02 cable) with 1 channel: P1
> > 
> > $ sigrok-cli --driver=uni-t-ut61e-ser:conn=/dev/ttyUSB0 -O analog --samples 
> > 2
> > P1: -0.002390 V DC
> > P1: 0.007360 V DC
> > 
> > Are you sure you're connecting to the correct serial port (/dev/ttyUSB1
> > in your case)? Maybe that's another device there, and you really want
> > /dev/ttyUSB0 or /dev/ttyUSB2 or something like that? I can't think of
> > any other reason for this problem right now.
> 
> How is the conversion from RS232C to USB done? Any specific converter? I would
> like trying with my own UT61E and then report back.

well, I just realized that if I connect the UT-D02 cable directly to the serial
port on my docking station then I do not need any converter! After doing so and
using /dev/ttyS0 as parameter then --scan and --samples worked just fine for me
as well (sigrok from github, ubuntu 14.04 64 bits)

Cheers,
 Rodrigo

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to