Skip to content

Rigol Connection Problem Linux #43

@jtambasco

Description

@jtambasco

Hi,

I have a problem connecting to a Rigol Ds1054z the first time after the scope has been reset. Subsequent connects are fine.

E.g.

  • Turn on rigol, connect using USBTMC library FAIL
  • Turn on rigol, send some random command with OS driver (echo '*idn?' >> /dev/usbtmc0), connect to rigol using python-usbtmc (hangs), kill python, connect to rigol again using python-usbtmc, WORKS
  • Unplug and replug usb cable and connect again using just python usbtmc WORKS

Turn scope off and on, I have to repeat the weird combination of sending command through kernel driver, running usbtmc python connection script twice.

Also, if I turn scope on and off, and run python usbtmc connection, it just hangs indefinitely and detaches the scope from the kernel, so then I have to go replug it.

Once I do this weird random fix of sending command through kernel driver, I can use the scope for weeks if I don't turn it off. Also, the scope takes a while to read data, 24million points takes 5min.

Any ideas why this could be happening?

It's happened on two computers, an Ubuntu and Arch Linux machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions