Low Cost PCB's Low Cost Components

Author Topic: DS1054z : Very slow screen saving. Why ?  (Read 3775 times)

0 Members and 1 Guest are viewing this topic.

Offline JacquesBBB

  • Frequent Contributor
  • **
  • Posts: 681
  • Country: fr
DS1054z : Very slow screen saving. Why ?
« on: December 21, 2015, 02:47:11 AM »

Sometimes,  making a  screen saving on the USB dongle is awfully long. I measured 4mn 30 s in a recent one.
Some other times, it is just about 10 s.

Why ?

The USB card is a recent and fast card and all save pictures are  png with size of about 50kb.

 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 2927
  • Country: gb
  • Will design for cookies
Re: DS1054z : Very slow screen saving. Why ?
« Reply #1 on: December 21, 2015, 03:21:39 AM »
My experience is that Rigol's USB Flash driver is very poor when it comes to compatibility. A different (not necessarily "better") USB stick might be better suited to it.
 

Offline Karel

  • Frequent Contributor
  • **
  • Posts: 968
  • Country: 00
Re: DS1054z : Very slow screen saving. Why ?
« Reply #2 on: December 21, 2015, 03:47:12 AM »
The solution is not to use a usb stick. Use lan or usbtmc connection and save the screenshot directly on your pc.
There are some good and free tools available to do that. Or wait 5 years for Rigol to fix it...

The difference between theory and practice is less in theory than
the difference between theory and practice in practice.
Expensive tools cannot compensate for lack of experience.
 

Offline Marcos

  • Contributor
  • Posts: 45
  • Country: us
Re: DS1054z : Very slow screen saving. Why ?
« Reply #3 on: December 21, 2015, 05:48:20 AM »
Or wait 5 years for Rigol to fix it...

 :-DD :-DD :-DD :-DD
 

Offline alsetalokin4017

  • Super Contributor
  • ***
  • Posts: 1577
  • Country: us
Re: DS1054z : Very slow screen saving. Why ?
« Reply #4 on: December 21, 2015, 07:19:13 PM »
Yes, "Why" is indeed the question.

If you "stop" the scope with the Run/Stop button, it helps to make the screensaves go a lot faster.
The easiest person to fool is yourself. -- Richard Feynman
 

Online Jeroen3

  • Super Contributor
  • ***
  • Posts: 2452
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: DS1054z : Very slow screen saving. Why ?
« Reply #5 on: December 21, 2015, 07:30:14 PM »
Even over LAN it takes 30 seconds, the thing is just slow.
One advantage of using LAN, you can continue to operate the scope preparing the next image.
 

Offline Karel

  • Frequent Contributor
  • **
  • Posts: 968
  • Country: 00
Re: DS1054z : Very slow screen saving. Why ?
« Reply #6 on: December 21, 2015, 07:50:23 PM »
Even over LAN it takes 30 seconds, the thing is just slow.

Well, in that case I guess you used the wrong software. With DSRemote it take 5 seconds using usbtmc or 7 seconds using LAN.
The difference between theory and practice is less in theory than
the difference between theory and practice in practice.
Expensive tools cannot compensate for lack of experience.
 

Online Jeroen3

  • Super Contributor
  • ***
  • Posts: 2452
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: DS1054z : Very slow screen saving. Why ?
« Reply #7 on: December 21, 2015, 07:57:06 PM »
Yes, I know that in the linux heaven everything is better. Too bad the world mostly uses Windows.
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: us
Re: DS1054z : Very slow screen saving. Why ?
« Reply #8 on: December 21, 2015, 08:03:31 PM »
I have a DS2000 series scope and the telnet port is not open so I modified some python code alex.forencich contributed and I can get captures in 4 seconds in Windows.

Link here:
http://www.eevblog.com/forum/testgear/python-based-instrument-control/msg676772/#msg676772
and here:
http://www.eevblog.com/forum/testgear/new-rigol-ds1054z-oscilloscope/msg676102/#msg676102

Would it work on the DS1000z series, don't know.

Edit: This was on Windows 7, I have upgraded to Windows 10 but didn't try it yet.

 

Offline Karel

  • Frequent Contributor
  • **
  • Posts: 968
  • Country: 00
Re: DS1054z : Very slow screen saving. Why ?
« Reply #9 on: December 21, 2015, 10:03:27 PM »
Yes, I know that in the linux heaven everything is better. Too bad the world mostly uses Windows.

Linux is the most used operating system in the world. Just not on the desktop. And that's not my problem because I don't care.
I use what works best to get the job done.

By the way, I didn't want to start a flame-war. I just wanted to say that your statement "the thing is just slow." is not correct,
at least not when downloading a screenshot via usbtmc or lan.


The difference between theory and practice is less in theory than
the difference between theory and practice in practice.
Expensive tools cannot compensate for lack of experience.
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 1151
  • Country: de
Re: DS1054z : Very slow screen saving. Why ?
« Reply #10 on: December 21, 2015, 10:29:58 PM »
Yes, I know that in the linux heaven everything is better. Too bad the world mostly uses Windows.

For Windows (and Linux too!) I recommend Peter Dreisiebner's "Bildschirmkopie".
The web page is in German only, but you will find the "download" link; and the software itself can be switched to English. Very nice and lean software for screenshots and sending SCPI commands. LAN and USB connections are supported.

http://peter.dreisiebner.at/rigol-bildschirmkopie-lan/
 

Online Jeroen3

  • Super Contributor
  • ***
  • Posts: 2452
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: DS1054z : Very slow screen saving. Why ?
« Reply #11 on: December 21, 2015, 11:35:38 PM »
I was using some python based thing.
I'll try the tool from your fellow german, since python is not known for it's superspeed processing.
iirc I tried it before. But something with unsigned USB drivers and vid/pid remapping made me abandon it.
I can always run lubuntu virtual machine if linux proves to be the only "fast" solution for now.

I did found that a small 512MB USB thumb drive won the speed award, telling me their software is not of very state of the art.
But the price wasn't either!
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 1151
  • Country: de
Re: DS1054z : Very slow screen saving. Why ?
« Reply #12 on: December 21, 2015, 11:55:30 PM »
I'll try the tool from your fellow german, since python is not known for it's superspeed processing.
iirc I tried it before. But something with unsigned USB drivers and vid/pid remapping made me abandon it.

Ah, right, I had forgotten about the USB driver installation. It's been a while since I installed Peter's program.

The USB driver is actually quite official (WinUSB from Microsoft), but for some reason a 3rd party innstaller is needed. Peter has a link and a few words of explanation on his download page, but that may be challenging to put into context if you don't read German. The USB driver installer has a web page in English, though: http://zadig.akeo.ie/

Peter is Austrian, by the way!  ;-)
 

Offline alsetalokin4017

  • Super Contributor
  • ***
  • Posts: 1577
  • Country: us
Re: DS1054z : Very slow screen saving. Why ?
« Reply #13 on: December 21, 2015, 11:58:46 PM »
Yes, "Why" is indeed the question.

If you "stop" the scope with the Run/Stop button, it helps to make the screensaves go a lot faster.

Really. Just Stop the scope before you press the "print" button, and your saves to USB stick will go much faster.

They are still "unreasonably" slow, taking several seconds or tens of seconds, but nothing like the 4+ minutes it can take if the scope is Running and with all four channels in use.


I have used both Bildschirmkopie and DSRemote. For my purposes, DSRemote is my choice for remotely controlling the scope and saving screenshots over LAN.
The easiest person to fool is yourself. -- Richard Feynman
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 1151
  • Country: de
Re: DS1054z : Very slow screen saving. Why ?
« Reply #14 on: December 22, 2015, 01:21:50 AM »
I have used both Bildschirmkopie and DSRemote. For my purposes, DSRemote is my choice for remotely controlling the scope and saving screenshots over LAN.

DSRemote provides remote control of the scope via a graphical rendition of the knobs, which Bildschirmkopie does not. Hence, if you work under Linux and want to remotely operate your scope via the PC, DSRemote is probably the software of choice.

I have not missed that functionality, since I prefer to work with the physical knobs and real-time display on the scope itself. In fact, I would love to just push a button on the scope to "push" a screenshot over to the PC, rather than "pull" it via a click on the PC. But to my knowledge Bildschirmkopie does not offer that either, presumably because the Rigol firmware does not support this?
« Last Edit: December 22, 2015, 01:25:00 AM by ebastler »
 

Offline Karel

  • Frequent Contributor
  • **
  • Posts: 968
  • Country: 00
Re: DS1054z : Very slow screen saving. Why ?
« Reply #15 on: December 22, 2015, 02:12:35 AM »
In fact, I would love to just push a button on the scope to "push" a screenshot over to the PC, rather than "pull" it via a click on the PC. But to my knowledge Bildschirmkopie does not offer that either, presumably because the Rigol firmware does not support this?

The firmware supports it, the tmc protocol does not support it.
You need to set the usb protocol of the scope to "picture bridge" instead of "computer" and you have to connect a compatible usb printer directly to the scope.
Then you can print directly to a printer by just pushing a button on the scope.
edit: or print the file to a usb stick.


« Last Edit: December 22, 2015, 02:16:15 AM by Karel »
The difference between theory and practice is less in theory than
the difference between theory and practice in practice.
Expensive tools cannot compensate for lack of experience.
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 1151
  • Country: de
Re: DS1054z : Very slow screen saving. Why ?
« Reply #16 on: December 22, 2015, 04:27:21 AM »
You need to set the usb protocol of the scope to "picture bridge" instead of "computer" and you have to connect a compatible usb printer directly to the scope.
Then you can print directly to a printer by just pushing a button on the scope.
edit: or print the file to a usb stick.

You are right, of course; thanks for clarifying. A PC program that behaves like a PictBridge printer, i.e. receives and stores screenshots whenever the scope sends one to the "printer", would be quite nice. It would allow me to stay focused on the scope's user interface, and even keep the PC at a distance when space is tight.

I would prefer this to storing screenshots on the USB stick: The PC could add a time and date stamp, and I could quickly enter a meaningful file name at the beginning of a measurement session. Better than sorting through a jumble of images on the USB stick, because I was too lazy to clean up for several days...

Is anyone aware of such a "PictBridge printer emulation" program? (Would it work with a regular USB port, or does it need a client-type port on the PC? I am confused who takes what role in a camera/printer or scope/printer connection? -- Edit: The printer is the USB host, so this part should be straightforward for simulation on a PC. But a quick search did not turn up any suitable PC software, except for some presumably very expensive development/debugging tool for PictBridge client developers.)
« Last Edit: December 22, 2015, 04:39:25 AM by ebastler »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf