Is it possible? To add more decoders options in Rigol DS1054Z? - Page 1
Forum section: electronics / beginners

author: ali6x944
author_rank: Frequent Contributor
timestamp: September 19, 2016, 03:41:01 pm
content: Hi everyone,I was wondering if it was possible to add more decoders to the already highly packed and powerful functionality in the scope, and what I mean is something like NEC IR decoding or other IR protocols or USB or 1 -wire interface...My scope is a hacked DS1054Z ,Software version 00.04.03.SP2,Board version 0.2.3

author: newbrain
author_rank: Super Contributor
timestamp: September 19, 2016, 04:18:18 pm
content: No.Slightly longer answer:There's been some attempt to mod the FW, you can find it in the testgear forum, but with success limited to changing some of the picture resources (e.g. splash screens).Adding a decoder would mean an in depth change, not possible at moment (unless you are a Rigol engineer, obviously)

author: rstofer
author_rank: Super Contributor
timestamp: September 19, 2016, 04:21:51 pm
content: Probably not... If the decoder doesn't exist in firmware, it doesn't exist! Rigol probably won't give up the source code!You can set up the scope trigger to allow capture of an IR packet and try to decode it yourself but it's probably easier to do it with some kind of microcontroller. Projects like this are all over the Internet.USB sniffers exist but the ones I have seen are pricey. There are some inexpensive options - search Google for 'USB sniffer'.1-wire is similar to any other serial protocol and it should be possible to trigger the scope on the first edge. Like the IR thing, I would do it with a microcontroller.All of these protocols can be captured with a logic analyzer of suitable bandwidth (and it takes a LOT for USB) but in the end, decoding takes a lot of time.

author: ali6x944
author_rank: Frequent Contributor
timestamp: September 19, 2016, 04:29:28 pm
content: Thanks a lot for the infoBut is there any third-party add on? like software on pc?

author: ali6x944
author_rank: Frequent Contributor
timestamp: September 19, 2016, 04:42:41 pm
content: Like hosting it and decoding it on the computer instead of the scope?

author: JPortici
author_rank: Super Contributor
timestamp: September 19, 2016, 05:16:58 pm
content: buy a picoscope. they are quite cheap (as they are usb based scopes of course) and you will have all the decoding options you will ever need before going to specialized gear. they also add protocols from time to time.as already said to add more options on the rigol you should be a rigol's engineer. it's one thing to change resources like captions, screensavers, colours... another one is writing actual code for the scope OS.as to dumping the data to the computer and then analyzing it, you will find out it is SO SLOW and not so straightforward that you'd better get a proper tool for this particular job, like a picoscope, instead of wasting an enormous amount of time in workarounds.

author: ali6x944
author_rank: Frequent Contributor
timestamp: September 20, 2016, 12:41:24 pm
content: Thanx alotSorry but do u have any recommendations for picoscopes type/brand, because I know nothing about them...

author: JPortici
author_rank: Super Contributor
timestamp: September 20, 2016, 01:47:16 pm
content: picoscope is a brand. check their website. they also have an ebay store where they sell old stock (still supported by the app but usually come with small sample memory)

author: ali6x944
author_rank: Frequent Contributor
timestamp: September 20, 2016, 05:01:04 pm
content: Thanx a lot for the info and help

author: ali6x944
author_rank: Frequent Contributor
timestamp: September 22, 2016, 07:22:25 am
content: I saw this after a bit of research:http://www.righto.com/2013/07/rigol-oscilloscope-hacks-with-python.html?m=1And this:http://www.cibomahto.com/2010/04/controlling-a-rigol-oscilloscope-using-linux-and-python/The problem is that they are using older scope the DS1054EAnd it maybe not compatible with DS1054Z...Quote from: JPortici on September 20, 2016, 01:47:16 pmThis is quite nice, and it have a lot of features, but I'm out of cash lately and I can't afford Paying ~115$US for a second scope that I will use only once...Thanx a lot for the info m8

author: ali6x944
author_rank: Frequent Contributor
timestamp: September 23, 2016, 04:02:08 pm
content: So what do u think? Will it work as is?

author: rstofer
author_rank: Super Contributor
timestamp: September 23, 2016, 05:40:30 pm
content: Quote from: ali6x944 on September 23, 2016, 04:02:08 pmWill what work as is?Under no circumstances can the DS1054Z keep up with 400+ Mb of USB signaling.One of your links discusses IR captureI'm not sure that any of the USB approaches linked above are all that robust. I wonder why they're not using TCP since it eliminates a lot of issues, particularly on Linux (permissions, device rules, driver). A telnet session is pretty easy to create for command line interfacing. Opening a socket in C or Python is also pretty easy.So, sure, given enough programming effort, data could be captured and analyzed in code. But only for signals within the capability of a 100 MHz scope (assuming DS1054Z). Analysis is going to take some care. Samples can be anywhere in the waveform and detecting edges will take a little thought. Matching edges across mutliple channels may take a little more thought. All of the sample programs linked above deal with simply plotting the data. That takes a lot less thought.All of these decoding projects are easier with a logic analyzer.

author: ali6x944
author_rank: Frequent Contributor
timestamp: September 29, 2016, 05:02:09 pm
content: Thanx alot for all the help