Products > Test Equipment

Rigol USBTMC/VISA interface is really terrible

(1/5) > >>

jeremy:
Hi everyone,

Just a heads up to anyone thinking of purchase a rigol (I have a DG1022 and a DS1054Z, both have the same problems) to use it in some sort of automation context: the rigol implementation of the USBTMC class is not standard, to the point where the linux kernel has a communication mode specifically for rigol devices (and it still doesn't fully work). It regularly misinforms the host about how much data it has to send, and there is a non-deterministic dead-time after sending a command in which new commands are just ignored (this isn't documented anywhere). There is also no way to tell if your command has been ignored other than the scope does not respond.

There also seems to be a "bug" (it's not really a bug so much, it just simply doesn't work) in the RAW waveform readout in which it just sends you back random garbage. I'm pretty sure it's not my implementation (and I've tried it using the supported NI-VISA; same result), because if I set it to NORMAL it works just fine, but in NORMAL mode you only get a maximum of 1.2kpts of waveform. I've sent an email to rigol support about this, but I'm not sure what sort of response I'm going to get.

I'd honestly fix these problems myself if someone would just release an open source USB oscilloscope already (no screen, no buttons, just two BNCs and a USB connector please!)

tautech:
Ask kwass to add it to her thread:
https://www.eevblog.com/forum/testgear/rigol-ds1000z-series-(ds1054z-ds1074z-ds1104z-and-s-models)-bugswish-list/msg584436/#msg584436

miguelvp:
Or instead, try Teunis van Beelen's program with full source, that Karel posted in this thread:

https://www.eevblog.com/forum/testgear/free-ds6000ds1000z-software/

jeremy:

--- Quote from: miguelvp on July 28, 2015, 04:26:49 am ---Or instead, try Teunis van Beelen's program with full source, that Karel posted in this thread:

https://www.eevblog.com/forum/testgear/free-ds6000ds1000z-software/


--- End quote ---

Actually, if you read the source code for Teunis' application, it only uses the NORMAL mode (or at least, it doesn't change the mode). And it also relies on the linux kernel driver. But this is not withstanding the fact that the rigol just simply returns the wrong data in the RAW mode.


--- Quote from: tautech on July 28, 2015, 03:46:52 am ---Ask kwass to add it to her thread:
https://www.eevblog.com/forum/testgear/rigol-ds1000z-series-(ds1054z-ds1074z-ds1104z-and-s-models)-bugswish-list/msg584436/#msg584436


--- End quote ---

Thanks, I will do that.

miguelvp:
Yeah, in:
http://www.teuniz.net/DSRemote/

They note the kernel patch needed.

And on the thread Karel mentioned a bug in the firmware that was notified to Rigol, so the more reports the better.

I haven't tried to do RAW captures yet, just DATA (screenshots) using alex.forencich's vxi11 python based control:

https://www.eevblog.com/forum/testgear/python-based-instrument-control/msg676772/#msg676772

I had to change the MTU size to avoid the TCP/IP packets from being split making it too slow.

Also I have a DS2000 series so the programming is different than the DS1000z series.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod