Author Topic: DS1054Z record mode and serial decode  (Read 13346 times)

0 Members and 1 Guest are viewing this topic.

Offline metrologist

  • Super Contributor
  • ***
  • Posts: 2199
  • Country: 00
Re: DS1054Z record mode and serial decode
« Reply #25 on: April 27, 2018, 06:54:42 pm »
overclock the scope  :horse:
 

Offline TD-Linux

  • Contributor
  • Posts: 16
  • Country: us
Re: DS1054Z record mode and serial decode
« Reply #26 on: April 27, 2018, 08:19:53 pm »
I also recommend sigrok. Pulseview recently got a feature to interpret analog channels as digital ones from the GUI, so you can use all the normal decoders with a 1054Z's four analog channels.

The internal decoders in the Rigol are basically worthless for any transaction longer than two bytes. If you want on-screen decoders, pick a different brand of scope.
 

Offline abraxa

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: de
  • Sigrok associate
Re: DS1054Z record mode and serial decode
« Reply #27 on: April 27, 2018, 10:56:37 pm »
I tried PulseView and connect with USB, and when I click scan, nothing happens (the button changes color, yay!).

I also seem to recall trying to install some driver. It was weird and then totally broke any communication I once had with my Rigol (using ultrasigma, etc).

My scope connects to my PC and I have a USB Instrument device from IVI foundation.

sigrok does not work.

edit: I just downloaded the nightly build and same same  :--

I also remember looking at the menu, it zadag, and that thing had me hose up my SDR too... :--

It's unfortunate you're having such a bad experience with sigrok. Frankly, it's the result of no one stepping up help us support Windows better - our core devs all use linux and supporting Windows is sufficiently difficult enough that we're happy we have it running there at all. The fact that we need to rely on Zadig for driver management already says a lot. To me, it honestly feels more like a hack than a seamless user experience. We want Windows users to have a good time using sigrok as well but without dedicated Windows users willing to help improve the situation, I don't see anything changing, unfortunately.

That said, you should have better luck connecting to the scope via Ethernet (use port 5555 and VXI).
 

Offline CustomEngineerer

  • Frequent Contributor
  • **
  • Posts: 464
  • Country: us
Re: DS1054Z record mode and serial decode
« Reply #28 on: April 27, 2018, 11:52:46 pm »
The internal decoders in the Rigol are basically worthless for any transaction longer than two bytes. If you want on-screen decoders, pick a different brand of scope.

Rigol scopes decode data from memory just fine, except for their cheapest line (DS1000Z). DS2000 and up can, and also works with segmented memory.

Edit: I realize this thread is specifically about the DS1000Z model, my comment is specifically for the "If you want on-screen decoders, pick a different brand of scope." comment. You don't have to pick a different brand, just don't get the cheapest line if thats whats important to you.
« Last Edit: April 28, 2018, 12:02:36 am by CustomEngineerer »
 
The following users thanked this post: Fungus, theirishscion

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2217
  • Country: 00
Re: DS1054Z record mode and serial decode
« Reply #29 on: April 28, 2018, 06:35:50 am »
The internal decoders in the Rigol are basically worthless for any transaction longer than two bytes.

Can you explain why two bytes only? Have a look at the pictures, I count 25 bytes from a serial port at 115K2...


 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16640
  • Country: 00
Re: DS1054Z record mode and serial decode
« Reply #30 on: April 28, 2018, 07:43:00 am »
The internal decoders in the Rigol are basically worthless for any transaction longer than two bytes.

a) Not true.
b) Even looking at one byte can be useful when you're looking for problems in the electronics.

The internal decoders in the Rigol are basically worthless for any transaction longer than two bytes. If you want on-screen decoders, pick a different brand of scope.

Is there another brand which is better for the same price as a DS1054Z? (Answer: "No")

Is there a more expensive Rigol which is better? (Answer: "Yes")

So... it's not really about branding, is it?
« Last Edit: April 28, 2018, 09:10:37 am by Fungus »
 

Offline Gandalf_Sr

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Re: DS1054Z record mode and serial decode
« Reply #31 on: April 28, 2018, 11:06:01 am »
Here's a video that demonstrates a way to do serial decoding with a DS1054Z using full memory:...
Karel, what software are you running in that demo?  It doesn't look like it's Rigol's Ultrascope, at least not from comparing your video to the pdf on Rigol's Ultrascope Getting Started Guide at the bottom of this page... https://www.rigolna.com/products/digital-oscilloscopes/1000z/

Thanks
If at first you don't succeed, get a bigger hammer
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26891
  • Country: nl
    • NCT Developments
Re: DS1054Z record mode and serial decode
« Reply #32 on: April 28, 2018, 11:36:08 am »
The internal decoders in the Rigol are basically worthless for any transaction longer than two bytes.
Can you explain why two bytes only? Have a look at the pictures, I count 25 bytes from a serial port at 115K2...
Now try to zoom in on a timing problem with the 5th byte of an I2C or CAN bus message. It won't work on a scope which decodes only what is on screen because once the start of the message goes off-screen the decoding is gone. Been there, done that.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2217
  • Country: 00
Re: DS1054Z record mode and serial decode
« Reply #33 on: April 28, 2018, 11:43:30 am »
Here's a video that demonstrates a way to do serial decoding with a DS1054Z using full memory:...
Karel, what software are you running in that demo?  It doesn't look like it's Rigol's Ultrascope, at least not from comparing your video to the pdf on Rigol's Ultrascope Getting Started Guide at the bottom of this page... https://www.rigolna.com/products/digital-oscilloscopes/1000z/

Thanks

You can find it here: https://www.teuniz.net/DSRemote/
 
The following users thanked this post: Gandalf_Sr

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2217
  • Country: 00
Re: DS1054Z record mode and serial decode
« Reply #34 on: April 28, 2018, 11:53:20 am »
The internal decoders in the Rigol are basically worthless for any transaction longer than two bytes.
Can you explain why two bytes only? Have a look at the pictures, I count 25 bytes from a serial port at 115K2...
Now try to zoom in on a timing problem with the 5th byte of an I2C or CAN bus message. It won't work on a scope which decodes only what is on screen because once the start of the message goes off-screen the decoding is gone. Been there, done that.

We all know that zoom-in isn't going to work because when the visible trace doesn't start between two bytes,
the decoding goes into limbo. It's a well known limitation of the DS1000Z series.

If you really need to zoom-in and you don't want to spend more money for a better scope,
you can use software to download the internal memory and do the decoding ofline as shown in the above video.
And yes, that procedure is slow.
 

Offline Gandalf_Sr

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Re: DS1054Z record mode and serial decode
« Reply #35 on: April 28, 2018, 12:15:45 pm »
Karel,

Looks like that's a Linux-only program, right?  Is there some preferred virtual Linux platform that I can run on a Windows 10 64 bit PC that supports it?

Thanks
If at first you don't succeed, get a bigger hammer
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2217
  • Country: 00
Re: DS1054Z record mode and serial decode
« Reply #36 on: April 28, 2018, 12:42:58 pm »
Looks like that's a Linux-only program, right?  Is there some preferred virtual Linux platform that I can run on a Windows 10 64 bit PC that supports it?

It should work on Mint, Opensuse, Fedora, Ubuntu, etc. Have a look at the compile instructions.

I never tried it myself but if you are in a hurry, you could try a virtualbox image from https://www.osboxes.org/linux-mint/
which will get you up and running quickly (at least in theory).
 

Offline snoopy

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: DS1054Z record mode and serial decode
« Reply #37 on: April 30, 2018, 03:54:01 am »
I just ran into the same freaking problem with my DS1054Z. This is bullshit. First the stupid serial decode only works on a single screen. Then they obviously deliberately block what would be a way around that limitation. Also, saving CSV data only works on a single screen as well. Why the hell do I have all this memory if I can't do anything with it? Fuck you, Rigol. Luckily, I can still send this POS back for a refund.

Yeah, I tried DSRemote. It's slow and the decoding only produces garbage, it's even worse than the scope's internal decoding.

Yes I came across this limitation myself when trying to decode a long string of SPI packets. Scope is pretty much useless. I ended up intuitively guessing what the issue was but for the future I ordered a Kingst USB logic analyzer with heaps of memory and speed. http://www.qdkingst.com/en/products/LA5016

cheers
 

Offline snoopy

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: DS1054Z record mode and serial decode
« Reply #38 on: April 30, 2018, 03:57:16 am »
The internal decoders in the Rigol are basically worthless for any transaction longer than two bytes.
Can you explain why two bytes only? Have a look at the pictures, I count 25 bytes from a serial port at 115K2...
Now try to zoom in on a timing problem with the 5th byte of an I2C or CAN bus message. It won't work on a scope which decodes only what is on screen because once the start of the message goes off-screen the decoding is gone. Been there, done that.

Yep that's the other problem. The scope gets its knickers in a not when the complete packet is not being displayed on the screen so you end up trying to squeeze it in and then all of the symbol information can't be displayed because there is not enough room. Bit of a toy :(
 

Offline Gandalf_Sr

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Re: DS1054Z record mode and serial decode
« Reply #39 on: April 30, 2018, 08:50:19 am »
I just ran into the same freaking problem with my DS1054Z. This is bullshit. First the stupid serial decode only works on a single screen. Then they obviously deliberately block what would be a way around that limitation. Also, saving CSV data only works on a single screen as well. Why the hell do I have all this memory if I can't do anything with it? Fuck you, Rigol. Luckily, I can still send this POS back for a refund.

Yeah, I tried DSRemote. It's slow and the decoding only produces garbage, it's even worse than the scope's internal decoding.

Yes I came across this limitation myself when trying to decode a long string of SPI packets. Scope is pretty much useless. I ended up intuitively guessing what the issue was but for the future I ordered a Kingst USB logic analyzer with heaps of memory and speed. http://www.qdkingst.com/en/products/LA5016

cheers
I do feel that the original complaint is like saying, "hey I bought this POS Ford Fiesta but it won't keep up with my friend's Ferrari, fuck you Ford!"  I knew the limitations when I paid my $300 for my DS1054Z and I don't feel at all cheated by Rigol.

I could make a large piece of desk art out of all the cheap clone logic sniffers and serial interfaces I've bought that were junk; intuitive software that just works is what you need and, to that end, I'd recommend going up to $399 and getting a Saleae Logic 8 - you'll also get 180 day return option and 3 year warranty.  If you really can't afford that then there are clones that work with Saleae's software but some say they Saleae are taking steps to stop their software working with non-Saleae hardware.
If at first you don't succeed, get a bigger hammer
 

Offline snoopy

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: DS1054Z record mode and serial decode
« Reply #40 on: April 30, 2018, 09:24:39 am »
I just ran into the same freaking problem with my DS1054Z. This is bullshit. First the stupid serial decode only works on a single screen. Then they obviously deliberately block what would be a way around that limitation. Also, saving CSV data only works on a single screen as well. Why the hell do I have all this memory if I can't do anything with it? Fuck you, Rigol. Luckily, I can still send this POS back for a refund.

Yeah, I tried DSRemote. It's slow and the decoding only produces garbage, it's even worse than the scope's internal decoding.

Yes I came across this limitation myself when trying to decode a long string of SPI packets. Scope is pretty much useless. I ended up intuitively guessing what the issue was but for the future I ordered a Kingst USB logic analyzer with heaps of memory and speed. http://www.qdkingst.com/en/products/LA5016

cheers
I do feel that the original complaint is like saying, "hey I bought this POS Ford Fiesta but it won't keep up with my friend's Ferrari, fuck you Ford!"  I knew the limitations when I paid my $300 for my DS1054Z and I don't feel at all cheated by Rigol.

I could make a large piece of desk art out of all the cheap clone logic sniffers and serial interfaces I've bought that were junk; intuitive software that just works is what you need and, to that end, I'd recommend going up to $399 and getting a Saleae Logic 8 - you'll also get 180 day return option and 3 year warranty.  If you really can't afford that then there are clones that work with Saleae's software but some say they Saleae are taking steps to stop their software working with non-Saleae hardware.

Not quire correct. I bought this scope because of its supposed serial decode capability that was espoused in many of the reviews of it. It wasn't until I used it in situ that I came across its limitations that none of the reviewers really touched on. But having said that it is still a keeper and bang for the buck you still can't beat it ;)

cheers
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16640
  • Country: 00
Re: DS1054Z record mode and serial decode
« Reply #41 on: April 30, 2018, 09:59:20 am »
I do feel that the original complaint is like saying, "hey I bought this POS Ford Fiesta but it won't keep up with my friend's Ferrari, fuck you Ford!"  I knew the limitations when I paid my $300 for my DS1054Z and I don't feel at all cheated by Rigol.

I've wanted to use a car analogy for the DS1054Z for ages but I can't seem to think of one that doesn't make it sound bad.

nb. You can't fit much shopping in the back of a Ferrari. A Ford fiesta is way more practical.

Not quire correct. I bought this scope because of its supposed serial decode capability that was espoused in many of the reviews of it. It wasn't until I used it in situ that I came across its limitations that none of the reviewers really touched on.

It's weird that nobody knows where to ask questions about the serial decode before purchase, but everybody knows where to go to complain afterwards.  :popcorn:

But having said that it is still a keeper and bang for the buck you still can't beat it ;)

Yep. I will defend it to death at this price point.

It has its flaws but, for looking a wiggly lines on screen? Awesome value for money. The difference between owning a DS1054Z and not owning one is night/day. Spending your life complaining because you bought a Honda Civic but it can't fit a sofa in the back is just silly, step back look at what you actually got for your money.

But yeah, if you need to carry sofas then you need something bigger (and right from the start you should have told the salesman that that's what you needed!)
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: DS1054Z record mode and serial decode
« Reply #42 on: April 30, 2018, 10:03:05 am »
It's weird that nobody knows where to ask questions about the serial decode before purchase, but everybody knows where to go to complain afterwards.  :popcorn:

C'mon Fungus, you've seen too many already, its never about technical, let alone the scope.

Its called venting out, to be precise, a social activity/stuff.  :P
 
The following users thanked this post: newbrain

Online Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11622
  • Country: my
  • reassessing directives...
Re: DS1054Z record mode and serial decode
« Reply #43 on: April 30, 2018, 12:40:26 pm »
I bought this scope because of its supposed serial decode capability that was espoused in many of the reviews of it.
why buy a "DSO" for serial decode? bad decision...

...Scope is pretty much useless. I ended up intuitively guessing what the issue was but for the future I ordered a Kingst USB logic analyzer...
you should've done this first. when you need analog signal probing, then you can get a "DSO" later, but well, its too late already...
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline ttelectronic

  • Contributor
  • Posts: 43
  • Country: ca
Re: DS1054Z record mode and serial decode
« Reply #44 on: April 30, 2018, 01:59:43 pm »
I just ran into the same freaking problem with my DS1054Z. This is bullshit. First the stupid serial decode only works on a single screen. Then they obviously deliberately block what would be a way around that limitation. Also, saving CSV data only works on a single screen as well. Why the hell do I have all this memory if I can't do anything with it? Fuck you, Rigol. Luckily, I can still send this POS back for a refund.

Yeah, I tried DSRemote. It's slow and the decoding only produces garbage, it's even worse than the scope's internal decoding.
I was bashing my head against the wall, but if you set the mem depth manually it will will be accurate. If left on auto it will indeed produce useless results.
 

Offline luma

  • Regular Contributor
  • *
  • Posts: 130
  • Country: us
Re: DS1054Z record mode and serial decode
« Reply #45 on: April 30, 2018, 02:54:36 pm »
If all you're trying to do is capture serial data... why not just use a UART?  Why does a scope enter into this at all?  You probably already have them on-hand, your OS probably comes with software to handle it, and you can log/search data easily.  I could understand if you were dealing with some esoteric data protocol, but RS-232?  You haven't needed a logic analyzer or scope etc to do that since the dawn of personal computing.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26891
  • Country: nl
    • NCT Developments
Re: DS1054Z record mode and serial decode
« Reply #46 on: April 30, 2018, 03:56:57 pm »
If all you're trying to do is capture serial data... why not just use a UART?  Why does a scope enter into this at all?
If you have problems with the signal levels. And while you are at it: it helps to see the data. I don't know about any PC based tool which can capture & timestamp serial data in a really easy way. Lots of the tools are slapped together quickly with a user interface only the developer understands. Using an oscilloscope is just much easier.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline luma

  • Regular Contributor
  • *
  • Posts: 130
  • Country: us
Re: DS1054Z record mode and serial decode
« Reply #47 on: April 30, 2018, 05:35:55 pm »
If you have problems with the signal levels. And while you are at it: it helps to see the data. I don't know about any PC based tool which can capture & timestamp serial data in a really easy way. Lots of the tools are slapped together quickly with a user interface only the developer understands. Using an oscilloscope is just much easier.

If you have a problem with signal quality (levels, noise, etc) then of course a scope is the answer.  However, you don't need decode to tell you that outside of using it as a trigger, something the Rigol handles well enough.  Outside of triggering, the decode on the scope itself doesn't help at all with dodgy signals - whether the scope is or isn't able to decode a particular signal bears little significance, the real test is if your device can decode it, and the scope isn't going to tell you that.  Let the scope do the analog stuff and use digital tools for the digital stuff.  For 232 it couldn't be easier, it's the most widely-supported digital protocol in the world and there are loads of tools available to help you out there.

 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26891
  • Country: nl
    • NCT Developments
Re: DS1054Z record mode and serial decode
« Reply #48 on: April 30, 2018, 06:49:03 pm »
If you have problems with the signal levels. And while you are at it: it helps to see the data. I don't know about any PC based tool which can capture & timestamp serial data in a really easy way. Lots of the tools are slapped together quickly with a user interface only the developer understands. Using an oscilloscope is just much easier.

If you have a problem with signal quality (levels, noise, etc) then of course a scope is the answer.  However, you don't need decode to tell you that outside of using it as a trigger, something the Rigol handles well enough.  Outside of triggering, the decode on the scope itself doesn't help at all with dodgy signals - whether the scope is or isn't able to decode a particular signal bears little significance, the real test is if your device can decode it, and the scope isn't going to tell you that.  Let the scope do the analog stuff and use digital tools for the digital stuff.  For 232 it couldn't be easier, it's the most widely-supported digital protocol in the world and there are loads of tools available to help you out there.
Like I wrote before: a lot of these tools suck. I'm still using Hyperterminal which came with XP or Win2k because despite it's crappyness in the end it has the most useful features (for example opening/closing the serial port without needing to close the program or going through lots of menus).
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf