EEVblog Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: marmad on December 14, 2012, 09:17:17 pm

Title: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 14, 2012, 09:17:17 pm
Last finished version: v 2.03 (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg171692/#msg171692) (Download link and change log in the second post of the thread) - Supports DS2000 / 2 channels on the DS4000 / DS6000?

Latest alpha version: v 3.00.a05 (http://turbidmedia.com/RUU/RUU_3_alpha.zip) (Read latest posts in this thread for info on current status/features) - Supports DS1000Z / DS2000 / DS4000 / DS6000?

This documentation is slightly out-of-date for the latest version. Make sure you read this for the latest news and info. (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg194234/#msg194234) and then read below if you haven't used RUU before.

This thread is for user-written software and tips for the Rigol DS2000 (4000/6000) UltraVision scopes. Impressions, reviews, bugs, etc, can be found at this thread. (https://www.eevblog.com/forum/reviews/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/) Please post hardware/firmware problems, questions, feelings, etc. at the other thread. (https://www.eevblog.com/forum/reviews/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/)

In order to use this software, you will need:
1) Rigol UltraVision DSO
2) Computer  (the software was written with VS 2010 on a Windows7 x64 platform - and tested under Win7 x86 as well - but I would think it would work fine with WindowsXP as well)
3) NI VISA Runtime (this must be installed for the PC to communicate with the Rigol - you can download the latest version for free here (http://joule.ni.com/nidu/cds/view/p/id/3342) - btw, you can fill in any garbage to create an account)

If anyone has a problem installing - or getting it to work on their system - let me know and I'll see what I can do.

My software will connect with the scope using either USB or TCPIP VISA resources. If you're planning to save many recorded frames, it's best to use USB (USB: ~2.5s = ~6s transfer time on TCPIP). The VISA resource locator is not coded with a sniffer for finding TCPIP connections - so it's default behavior is as follows:
a) If only one resource is found (either USB or TCPIP), the software will use that and start automatically.
b) If two (or more) resources are found (both USB and TCPIP - or other instruments), you will get a list box with the available selections to choose from.
c) If no resources are located, you are presented with the opportunity to enter the name yourself - or cancel out. If you know that you're connected via the LAN cable, just type the following string - inserting your own IP address in place of my sample one:
TCPIP::192.168.1.200::INSTR

This utility provides four basic functions:
1) Record / Playback control and quick settings from the PC.
2) Fast screen grab, save, and display in built-in image viewer.
3) Save selected frames as sequentially numbered image files, numbered CSV files, and Animated GIFs (See attached am.gif as an example).
4) Drop markers while using dual timebase zoom window for quick movement in large memory sample depths.

Screen captures and frames can be saved in CSV / PNG / BMP / JPEG / TIFF / GIF formats - and PNG or GIF frame sequences can be automatically compiled into Animated GIFs.

Note: the new UltraVision scopes (unlike Rigol's earlier series) have a very handy SCPI command to perform a screen grab. But the data is always transmitted as an 800x480x24 bit file (~1.152MB), so it takes ~2.5 seconds to get it to the PC and save it (using USB). If you want to save 10,000 frames to the computer in order to compile a video, well... you can do the math - it will take ~7 hours. It's not a problem for the software - but the scope will be tied up while it works. Of course, you can always break out at anytime (and even begin again where you left off, assuming you still have the frames in DSO memory).


(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39800;image)


Documentation (refer to images and notes as mentioned):

I'm just going to cover the less obvious points - if you have questions, post them here or PM me:

When you start the software, it will reflect the current state of the DSO and it's variables, i.e. if you are in Record Open mode, the Open button will be 'On', etc. If you change one of the variables in RUU, it will alter it on the scope, so the settings in RUU will normally override the DSO settings. But sometimes you might want to use, for example, the Navigation Knob on the scope to set the current frame - or set a variable using the Rigol's menus. If you want to have the DSO settings override RUU, click the 'READ' button in either the 'Record' or 'Play' group to have the respective settings of that group loaded from the scope.

In general, all of the buttons and settings function the same as they do on the Rigol - with the following exceptions:


                                     Record group:                                     

READ
Reads the current Record variables from the Rigol.

Loop
Automatically rewinds and restarts the Recording of frames after the End Frame. If AUTO is also checked, the frames will first be saved according to the selected settings. The selected state of Loop is reflected in the name currently displayed on the 'Record' button (see IMAGE #1 and #3).

IMAGE #1:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=36436;image)


                                       Stop group:                                       

Off
Turns off Record Mode. Same as choosing Utility->Record->Mode->Off in Rigol menus.


                                       Play group:                                       

READ
Reads the current Playback variables from the Rigol.

Step >> {} Frame(s) Each {}ms
Selects whether frame playback will be via RUU - allowing you to specify the number of frames to step while playing back (or saving) at the speed set via the 'Each {}ms' setting. Checking this box will also affect saving frames and Animated GIFs - allowing you to create animations from every Nth frame recorded. If not checked, the Rigol will control playback in the normal way. at the speed set via the 'Interval' setting.

{UP ARROW / DOWN ARROW} (Keyboard)
Jogs the DSO forward/backward a frame when paused or stopped in Playback mode.

*Hidden Buttons*
If you click on either the "Start Frame" or "End Frame" LABEL, it will set the respective number = the current frame setting (displayed in the box). I added this because it's very handy sometimes to use the Navigation Knob and controls on the Rigol to move within a large span of recorded frames. So if, for example, you moved with the knob to frame 34056 of 65000 frames, and you wanted that to be your 'Start Frame' - just click 'READ' in the Play group - and then click the text: 'Start Frame'.


                                       Save group:                                       

Wavefrm
Selects CH1/CH2 waveform data to be saved.

Frames
Selects recorded frames to be saved - either as sequentially numbered bitmap or CSV (CH1/CH2 waveform data) files.

Display
Selects DSO display to be saved.

1 / 2
Selects whether channel 1 and/or channel 2 data will be saved to CSV files.

Anim GIF
Selects whether an Animated GIF will be compiled from the saved frames. If selected (and frames are being saved as PNGs or GIFs), it will create an Animated GIF (using 'Each {}ms' per frame) in the same location as the saved frames - with the filename entered and the .gif extension. The phrase 'Animating...' will appear as the group title until finished.

AUTO
Automatically names ANY files being saved, creating them in a folder named 'images', inside the application folder (see NOTE #1 below for the conventions used for naming). Also enables auto-saving of frames after recording them. The selected state of AUTO is reflected in the name currently displayed on the 'Record' and 'Save' buttons (see IMAGE #2 and #3).

IMAGE #2:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=36438;image)

IMAGE #3:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=36440;image)

Save
1) If 'Display' or 'Wavefrm' are checked, will capture the current DSO screen/waveform memory to PC as a single file.
    If 'AUTO' is not selected, a Save File dialogue box will open allowing you to chose the name and location for the file:
        For CSV files the extension is automatic - and the '1' and '2' checkboxes determine which channel data will be saved.
        For bitmap files you can choose image type by the FileType pulldown list or by typing the extension
            (if you don't enter an extension, PNG is the default).
    If you click 'Cancel' in the dialogue box, the file will be saved with the default name 'screen.png' or 'memory.csv' in the images\ directory below where the software resides.
    If 'AUTO' is selected, the file will be saved following the naming conventions listed in NOTE #1.
2) If 'Frames' is checked, will start capturing the range of frames specified with 'Start' and 'End Frame' variables - and 'Step >> {} Frame(s)' if 'Step' is checked.
    If 'AUTO' is not selected, a Save File dialogue box will open allowing you to chose the name and location for the files.
        For CSV files the extension is automatic - and the '1' and '2' checkboxes determine which channel data will be saved.
        For bitmap files you can choose image type by the FileType pulldown list or by typing the extension (if you don't enter an extension, PNG is the default).
    If you click 'Cancel' in the dialogue box, you will exit without saving frames.
    Each frame will be saved with the name you entered + a 5 digit frame number (leading zeroes) + the extension of either .CSV or the image format you've chosen.
    While saving frames, use the blue 'Cancel' button to abort. Click just once and wait - it can take a few milliseconds to break out of the current transfer.
    After saving, will generate an Animated Gif if the 'Animated GIF' box is checked (and frames are being saved as PNGs or GIFs).
    If 'AUTO' is selected, the files will be saved following the naming conventions listed in NOTE #1.

Clr Disp
Clears the current image displayed in the viewer.


                                   Marker Utility:                                   

Zoom Markers
Enters or exits the Zoom (Delayed Sweep) Marker utility. If the Rigol is not already set to Delayed Sweep, RUU will turn it on. Any previously uncleared markers which are within the bounds of the current Main horizontal scale will be visible. Markers may be dropped either manually - or by using a tracking cursor to drop them automatically (see 'Use Tracking' below). In order to speed up the manual dropping, clearing, and moving between markers, there are computer keyboard shortcuts for all of the screen buttons - denoted below with the keyname indicated between {curly braces}.

When the Delay Offset Position (the current position - i.e. the precise center of the smaller timebase) is exactly the same as a marker position, the marker is drawn with a red color - otherwise the markers will be drawn in white.

DROP {D / INSERT}
Drop a marker at the current position.

Left
The number of markers dropped left of the current position.
Shortcut: click the word 'Left' to move window position fully left.

LEFT ARROW {LEFT ARROW}
Move the current position to the next marker to the left (or if Auto-Scroll checked, scroll window left/stop scrolling).

Total
The total number of markers dropped (including the current position).
Shortcut: click the word 'Total' to move window position exactly center.

RIGHT ARROW {RIGHT ARROW}
Move the current position to the next marker to the right  (or if Auto-Scroll checked, scroll window right/stop scrolling).

Right
The number of markers dropped right of the current position.
Shortcut: click the word 'Right' to move window position fully right.

CLEAR {C / DELETE}
Clear the marker at the current position. You must be exactly on the marker position (indicated by red) to clear it.

CLR ALL {A / ENTER}
Clear all dropped markers.

Tracking C. (disables Auto-Scroll)
Turns on/off the use of a tracking cursor to auto-drop markers.
When first selected, RUU will turn on one of the tracking cursors and place it at the current position. If you make sure that the Cursor menu is selected (it can be visible or hidden), the Multi-Function Knob can be used at anytime to adjust the position of the tracking cursor (see IMAGE #4), while using the Navigation Knob and Horizontal Scale Position Knob to adjust the zoom window (or if in Frame Playback mode: Nav.Knob to adjust the frame number and just Hor.Pos.Knob to adjust the window).
The auto-dropping logic expects you to first move the tracking cursor to the position you want the marker (thus 'arming' the 'drop' logic - indicated by the 'DROP' button turning red - see IMAGE #5) - and the Rigol's display grid disappearing), and then moving the zoom window to another portion of the waveform - which automatically saves the last tracking cursor position as a marker. Then you just move the tracking cursor again, re-arming it for the next drop, before moving the window again, etc, etc. If the drop logic is armed (red) and you want to move the window without creating a marker, just reset the logic by clicking 'Clear' or pressing 'C' or 'Delete' on the computer keyboard (this will turn the 'DROP' button back to it's normal color). When done with auto-dropping, uncheck 'Tracking C.'

Using either manual or auto-dropping of markers is easy, once you get used to it. With one hand on the computer keyboard's Num Pad (Insert, Delete, Enter, Left & Right Arrow with Num lock off) and one hand on the Rigol, you can easily move through deep memory waveform samples, dropping and clearing markers and moving between them without having to look at the computer screen.

Auto-Scroll (disables 'Tracking C.' - enables 'No Update' and scroll-speed trackbar)
Turns on/off auto-scroll feature.
Use the Left / Right Arrow buttons (or keyboard keys) to stop and start the scroll. The Arrow buttons will turn green while the Auto-Scroll is active. Use the small trackbar to the right to adjust the amount of Horizontal window movement. If you want super-smooth scrolling on your Rigol's display (and don't care about updates on the RUU screen), just click 'No Update' and RUU won't refresh itself while scrolling the Zoom window. Smoothest scrolling happens with a stopped DSO - if the Rigol is triggering while in Delayed Sweep, any adjustments will cause it to 'blink' as it refreshes the display. Markers can be dropped using the 'D' or 'Insert' keys on the keyboard (make sure the display has focus) while the Zoom Window scrolls - regardless of whether you have 'No Update' checked or not.

IMAGE #4:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=36442;image)

IMAGE #5:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=73266)


NOTE #1:
Because the software can now auto-create quite a large amount of files quickly, the naming convention and placement has been changed from previous versions as follows:

All auto-named/saved files go (in this version) in an images\ folder below the application folder. Auto-named files will be date and time stamped, and the exact format of the stamp is determined by your Region settings in Windows Control Panel. I will add .ini file configuration of the names and default location in a later version.

DD-DD-DD indicates date.
TT.TT.TT indicates time.
FFFFFF indicates frame number.

images\screen.png  Default Display save (Display -> Save -> Cancel)
images\memory.csv  Default Waveform save (Waveform -> Save -> Cancel)
images\screen_DD-DD-DD_TT.TT.TT.png  Auto-name Display save
images\memory_DD-DD-DD_TT.TT.TT.csv  Auto-name Waveform save
images\frame_DD-DD-DD_TT.TT.TT_FFFFFF.png  Auto-name Display Frame save
images\frame_DD-DD-DD_TT.TT.TT_compiled.gif  Auto-name Animated GIF save
images\frame_DD-DD-DD_TT.TT.TT_FFFFFF.csv  Auto-name Waveform Frame save
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: marmad on December 15, 2012, 08:32:01 am
Change Logs:

EDIT (15/12/2012, 01:22:58 PM):  Uploaded v.0.2.
Change log:
1) Added the ability to set the Interval between playing back recorded frames.
2) Changed default behavior when clicking 'Cancel' in Save File dialogue for Screen Capture.
3) Fixed a bug that caused the software to sometimes stop saving frames before the End Frame.

EDIT (17/12/2012, 08:22:58 PM):  Uploaded v.0.3.
Change log:
1) Fixed a bug that caused an array overflow when saving captures or frames over a LAN connection (Thanks to Sparky).
2) Changed default behavior of VISA resource locator.
3) Included latest versions of NI-VISA DLLs.

EDIT (18/12/2012, 09:22:58 PM):  Uploaded v.0.4.
Change log:
1) Change default image file format to PNG and added many new image formats for saving.
2) Fixed the bug which didn't steer a VISA caught exception to entry dialogue box (Thanks to Sparky).
3) Reverted to the NI-VISA .NET 2.0 DLLs.

EDIT (19/12/2012, 02:22:58 AM):  Uploaded v.0.5.
Change log:
1) Added Animated GIF generator for GIF or PNG frame sequences.

EDIT (19/12/2012, 05:15:58 PM):  Uploaded v.0.6.
Change log:
1) Added the ability to skip frames when playing back or making Animated GIFs.

EDIT (22/12/2012, 01:15:58 AM):  Uploaded v.1.0.
Change log:
1) Major overhaul of interface and underlying code.
2) Added built-in image viewer.

EDIT (26/12/2012, 10:55:58 PM):  Uploaded v.1.1.
Change log:
1) Added CSV file types for writing waveform data/frames.
2) Added OFF button for RECORD mode (same as choosing 'Off' in Rigol Menus).

EDIT (30/12/2012, 08:15:58 PM):  Uploaded v.1.4.
Change log:
1) Added Open/Keep for v.00.01.00.02 compatibility (Thanks to Teneyes).
2) Fixed possible TypeConversion exceptions (Thanks to larsie).
3) Fixed FileType selection box for CSV files (Thanks to Sparky).

EDIT (10/01/2013, 12:59:58 PM):  Uploaded v.1.5.
Change log:
1) Fixed a bug that didn't use the filename entered for CSV files (Thanks to Teneyes).
2) Tried to eliminate all possible TypeConversion exceptions due to Region settings (Thanks to larsie and EV).
3) Added Up/Down Arrow control for moving forward/backward a frame while in Playback mode (paused or stopped).
4) Added an auto-name/save feature.
5) Added the ability to continually loop normal Recording (usable in combination with the auto-save feature).
6) Added Zoom Marker utility (incomplete - but usable).

EDIT (13/01/2013, 17:45:58 PM):  Uploaded v.1.51 (Minor bug-fix).
Change log:
1) Fixed one Type Conversion error when entering Zoom Marker Utility (Thanks to EV).

EDIT (20/02/2013, 21:09:58 PM):  Uploaded v.2.00 (Major update).
Change log:
1) Many changes: read this. (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg194234/#msg194234)

EDIT (21/02/2013, 22:56:58 PM):  Uploaded v.2.01 (Bug fixes).
Change log:
1) Fixed a bug that hid the Confirm Overwrite File dialog box.
2) Fixed a bug which screwed-up VISA TCPIP connections.
3) Fixed Open / Record bug when trying to record frames at timebases >= 200ms (Rigol won't do it).
4) Altered the text size of groupbox names.
5) Fixed a system.globalization error when converting strings to floating point numbers.
6) Fixed a bug which caused the software to hang when trying to save individual files for frames.
7) Added code which lets RUU terminate the VISA connection gracefully if the DSO is turned off with an active connection.
E) Idiot-proofed the enabling/disabling of buttons to prevent usage during active file saves/plots.
9) Removed all references to VISA .dlls when running standalone - except to the 'Connect' button. If you want to run RUU without VISA, delete the NationalInstruments.dlls from the directory (or just don't press 'Connect' when running the software.

EDIT (27/02/2013, 00:48:58 AM):  Uploaded v.2.02
Change log:
1) Fixed the bug that caused reversed plotting when using Increasing and Frame #.
2) Fixed the gradient routine when plotting when different colors have been selected.
3) In the Frame Array window, you can now choose both the color for drawing waveforms (and the first color in gradients), denoted by the color box with the 'ChanX' text in it - and/or the second color in two-color gradients, which is the smaller colored box after the 'Chan' one.
4) Rigol UltraVision model number now visible in title bar when connected.
5) Added compatibility for DS4000 scopes. RUU is still only two channels - but if I get reports back that it works well with DS4000 scopes, I'll add the extra two channels in a later version.

EDIT (27/02/2013, 20:48:58 PM):  Uploaded v.2.03
Change log:
1) Fixed the scaling bug for DS4000 series.
2) Fixed a couple of bugs in the save CSV routine.
3) Slowed down frame array reads a slight bit to prevent glitch frames.


Coming features:

Store/Load/Search sample in Delayed Sweep.
INI file configuration for default filenames, locations, IP address, etc.
WFM file writes.


Download History:

RUU.zip (158.26 kB - downloaded 8 times.)
RUU_0_2.zip (158.58 kB - downloaded 6 times.)
RUU_0_3.zip (163.3 kB - downloaded 6 times.)
RUU_0_4.zip (159.57 kB - downloaded 4 times.)
RUU_0_5.zip (174.77 kB - downloaded 4 times.)
RUU_0_6.zip (172.94 kB - downloaded 6 times.)
RUU_1_0.zip (178.04 kB - downloaded 8 times.)
RUU_1_1.zip (179.67 kB - downloaded 16 times.)
RUU_1_4.zip (183.91 kB - downloaded 29 times.)
RUU_1_5.zip (215.4 kB - downloaded 10 times.)
RUU_1_51.zip (222.98 kB - downloaded 65 times.)
RUU_2_0.zip (853.35 kB - downloaded 15 times.)
RUU_2_01.zip (854.12 kB - downloaded 30 times.)
RUU_2_02.zip (854.6 kB - downloaded 11 times.)
RUU_2_03.zip (854.72 kB - downloaded 431 times.)
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: marmad on December 15, 2012, 12:57:06 pm
New version of the software uploaded - one new feature, one tweak, and one bug fix. Details in the first post.
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: Sparky on December 16, 2012, 03:33:21 am
Hey marmad!

First, I must say I think this is as awesome beginning of some very handy PC utilities --- great job!!  I look forward to testing these software tools, and I hope I can contribute with some good suggestions, and even some VS 2010 code :)  Are you developing in Visual Basic, C# or Visual C++?  I will look forward to updates, in particular, the feature you plan next (ability to grab actual voltage data) --- am thinking of some nice plotting abilities and signal processing on PC  :D


Moving on, I discovered what might be a new bug today, and thought I would use your software (I'm using LAN interface to the DS2072) for the screen captures and post about it, but unfortunately I encountered a problem with the RUU software. 

When the software started (I'm using v0.2), I just click "Screen Capture or..." button, and then "Cancel", so it should save the file "screen.bmp" in program directory.  About 5 seconds after pressing "Cancel" I get the error "Destination array was not long enough. Check ... " (first attachment).  Then after "OK" button pressed, I get "Screen capture error" (second attachment).

I tried again, this time specifying a file name, but the exact same error occurred.  So, it seems to try and save a file, but is not able to.

Can you look into this?  Let me know if there's something I can test to identify more of the problem.


Also, a suggestion:
1. When press screen capture, would be nice if "Save as type" defaults to .BMP, or can be set to other file type (e.g. .PNG), so that I only have to enter the "base filename", without extension.  This might require incorporating some image conversion program, though.
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: Sparky on December 16, 2012, 04:16:38 am
Update: I turned my DS2072 off tried again after dinner.  This time, when I run the RUU software I get the message "No VISA instrument found" and the utility exits.  I checked the LAN settings on the DS2072 and see that it is assigned an IP address via DHCP.
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: marmad on December 16, 2012, 07:52:35 pm
First off, Sparky - thanks for the feedback! Even if it was mainly bug reports ;) it's always good to hear something back. Now to address the issues you mentioned:

I'm working in VB.NET - but wouldn't be adverse to doing some code in C if necessary (perhaps for some time critical stuff). But so far, it's all been rather simple software.

First bug: great description and documentation. It sounds like the array which is being used to hold the transmitted bitmap is overflowing. But that seems odd since Rigol is always transmitting the exact same amount of bytes. Have you managed to save any screen frames or captures on your computer with the software? Also, what OS are you running - and how much memory in your machine? I'll try to track the bug down when I'm back at my work computer tomorrow.

Your EXT suggestion: actually, I should have mentioned it in the above documentation, but you never have to type the file extension .BMP - either when doing a screen capture or saving frames. Since the Rigol will only send BMP files with this SCPI command, the software just automatically puts it on when saving a file.

LAN problem: I haven't used the LAN connection much yet (just for testing the software) but I did notice, once or twice,  some odd behavior in terms of being recognized. The first thing you should check, if your scope isn't found, is whether the scope is recognized by another VISA app. Do you have Rigol's Ultra Sigma software installed? If so, test recognition on that and get back to me. If not, install it (then test recognition then get back to me).

EDIT: Also, are you running version 5.2 of the VISA runtime - or a different version?
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: Sparky on December 16, 2012, 09:47:48 pm
You're welcome, marmad!  I'm happy to provide feedback :) 

Ah, Visual Basic --- good to know --- that is the language I am most familiar with from the Visual Studio suite.

Additional details of my setup: Apple MacPro :o running Windows 7, 64-bit, 16GB RAM.  In my tests, I had downloaded and installed the latest VISA runtime (v5.2) from NI and then run your software.

When RUU starts, and I could use the "Enter" button to begin Record mode; the scope responded exactly as expected.  I then pressed "Exit" button.  I did not try and record any data.  Then I tried the Screen Capture function and had the problems as described below.  I tried again today, after everything has been powered off, and encounter the "No VISA instrument found" message and the program exits.

So, up to this point, I've not been able to save any screen frames or captures to my computer with RUU.

Just now, I've installed Rigol's UltraSigma software.  It is able to detect my DS2072 without problem (VISA address: TCPIP0::10.0.1.12::INSTR) and I am able to do "Print screen" through UltraSigma.  (In fact, UltraSigma saved .BMP (1.09MB), .PNG (15.3kB) and .JPG (50.3kB) files --- see attachments --- BMP and PNG are indistinguishable, JPG has some color issues.  Based on your comment below about the SCPI command for grabbing screen, it seems PNG must be converted from BMP file, but it would be awesome if DS2000 could send PNG data!)

I guess next thing I could try is USB connection and see which issues (detection of DS2072, screen capture) are resolved.
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: Sparky on December 16, 2012, 10:18:08 pm
I just did test with USB interface; I have disconnected LAN interface but did not power off/on DS2072.  Everything worked this time!  The RUU software started, and the Screen Capture worked perfectly.  I tried the "Cancel" option when prompted for filename and my image editor started with loaded screen capture, as expected.  Also, when I entered a filename, the file was saved to disk with .bmp extension.

So, perhaps the problem is with correctly recognizing the devices' VISA address, and may be there is a minor difference in how SCPI commands are being sent when selecting "Enter" (which worked via LAN) and "Screen Capture" (which would not work via LAN).

One interesting thing I've noted, is that the devices' VISA address appears different in some places.  On the device and in UltraStudio, I've seen TCPIP::10.0.1.12::INSTR but in the "web interface" accessed via UltraStudio I've seen TCPIP0::10.0.1.12::INSTR  I believe the former one is correct, but I'm not sure which address might be used in RUU.

Hope that helps!
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: marmad on December 17, 2012, 07:36:33 pm
New version of the software uploaded - one bug fix, one changed feature, and one tweak. Details are here - and in the first post.

@Sparky - thanks again for all your feedback - it really helps!

1) I fixed the code in my software which caused the array overflow with a screen capture using the TCPIP connection. It appears the Rigol firmware adds an extra CR at the end of transfers using the TCPIP connection as opposed to the USB. I'm not sure why they do that, but I modified my code to accept it. If you find any other bugs while using the TCPIP connection, please let me know - I've only tested heavily using USB.

2) I've done some testing - and realized that a VISA TCPIP connection must be 'searched' for by the software sometimes. Since very few people are likely to use the LAN connection (it's at least 2x slower), I'm not bothering with writing the 'search' code now, but instead I've re-written my VISA resource locator with the following rules:

a) If only one resource is found (either USB or TCPIP), the software will use that and start automatically.
b) If two (or more) resources are found (both USB and TCPIP - or other instruments), you will get a list box with the available selections to choose from.
c) If no resources are located, you are presented with the opportunity to enter the name yourself - or cancel out. If you know that you're connected via the LAN cable, just type the following string - inserting your own IP address in place of my sample one:
TCPIP::192.168.1.200::INSTR

3) I've also included the newest versions of the NI-VISA DLLs.

Quote
Based on your comment below about the SCPI command for grabbing screen, it seems PNG must be converted from BMP file, but it would be awesome if DS2000 could send PNG data!

There is no mention of being able to transfer PNG files in the Rigol Programming Guide, so I have to assume that the Ultra Sigma software is either converting the data itself - or knows some commands that aren't published publicly ;)
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: Sparky on December 18, 2012, 05:08:35 pm
Hey marmad!

Thanks for the updated RUU --- I eagerly tried it out last night, but unfortunately had no luck --- I was unable to get past the "No VISA resources found" message when I started the program.  The new version did not prompt me to enter a VISA address as a string.  I confirmed this morning, with my DS2072 unplugged, and the program did not prompt me to input a string.  Is it possible the old .exe is in the .zip file?

For example, when I start Ultra Sigma with the DSO connected via USB - it's recognized the moment the software starts. But for a LAN connection, I have to use the 'search' button every time.

I believe the USB behavior is because a program can receive messages from Windows about a "device change" (WM_DEVICECHANGE: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363480(v=vs.85).aspx). (http://msdn.microsoft.com/en-us/library/windows/desktop/aa363480(v=vs.85).aspx).)  But this functionality does not exist for LAN topology; devices may be connected to a LAN but not "advertise" themselves.  I too have to use the 'Search' button in UltraSigma when the scope is connected by Ethernet, and this appears to be standard procedure (page 246 of Users Guide).

Quote
Based on your comment below about the SCPI command for grabbing screen, it seems PNG must be converted from BMP file, but it would be awesome if DS2000 could send PNG data!

There is no mention of being able to transfer PNG files in the Rigol Programming Guide, so I have to assume that the Ultra Sigma software is either converting the data itself - or knows some commands that aren't published publicly ;)

I wonder if there are third-party software VISA "sniffer", that can monitor for VISA commands, may be this would let us catch commands UltraSigma is sending?
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: marmad on December 18, 2012, 08:48:03 pm
New version of the software uploaded - one changed feature, one bug fix, and one tweak. Details are here - and in the first post.

1) You can now save the the screen / frame captures in PNG / BMP / JPEG / TIFF / GIF formats. While this doesn't speed up the transfer from the DSO, it does slice time off the PC side - which adds up if saving many frames. It also saves disk space - and speeds things up considerably when compiling images to video or animated GIFs (see above attached example: am.gif - which was made very quickly with the software). All formats available are visible in the FileType pulldown list in the dialogue box, which you can use to select the extension - or type it after the filename. No extension now defaults to PNG - and a 'Cancel' in screen capture mode saves and displays a file called 'screen.png'

2) Fixed the bug which didn't steer a VISA caught exception to the entry dialogue box (thanks again, Sparky!)

3) Reverted to the NI-VISA .NET 2.0 DLLs after I ran into problems running the last release on an x86 machine.


I'll be including an animated GIF generator in the next minor update.
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: marmad on December 19, 2012, 02:21:04 am
New version of the software uploaded - one new feature. Details in the first post.

1) I added an Animated GIF generator after I saw what a handy feature it might be: a really useful way to be able to pass on DSO technical / debug tests and info to other users - much more informative than a simple static screen shot. I've attached another animated GIF created with this version of RUU here.

This will be the last update for awhile - have to get on to other things for a bit.

Enjoy ;)
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: marmad on December 19, 2012, 05:35:15 pm
New version of the software uploaded - one new feature. Details in the first post.

1) I added the ability to skip frames when playing back or making Animated GIFs - allowing you to create animations from every Nth frame recorded. This really increases the usefulness for creating animated reports - you can test the finished animation using 'Step' mode. I've attached another Animated GIF which illustrates - it was created from every 20th frame starting with frame 15.

This will REALLY be the last update before the holidays (unless someone reports a bug).

Features to come:
Much better control of the Recording - including setting the recording start/stop frames and interval - and initiating a Trigger/Start Recording pulse.
Grab screen/frames as WFM or CVS data - and save individually or as a group.

Happy Holidays  ;)
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: EV on December 19, 2012, 05:51:06 pm
Thanks for the program! I am going to try it when I have time. ;D
Title: Re: Software, tips, and tricks for Rigol DS2000/4000/6000 UltraVision DSOs
Post by: marmad on December 19, 2012, 05:53:45 pm
Thanks for the program! I am going to try it when I have time. ;D

Great, EV! Let me know what you think - if you find any bugs - or if you have any suggestions for added features.
Title: Re: Software, tips, and tricks for Rigol DS2000 / DS4000 / DS6000 UltraVision DSOs
Post by: marmad on December 22, 2012, 12:29:37 am
New version of the software uploaded -  with a major overhaul of interface and underlying code - and now with a built-in image viewer.

This is the last release (unless a bug-fix is needed) focusing on bitmapped files. The next release will start retrieving DSO memory/frames as waveform data - with plotting to screen - and saving as WFM or CSV files.


Merry Xmas, everyone  ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 26, 2012, 10:23:04 pm
New version of the software uploaded - two new features added. Details in the first post.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: larsie on December 27, 2012, 11:07:57 pm
Seems to work partly on my scope, but I get an exception when doing some operations. But for example capturing the screen works. Sorry about the Norwegian text. 

Se slutten av denne meldingen for detaljert informasjon om aktivering av
JIT-feilsøking (Just In Time) i stedet for denne dialogboksen.

************** Unntakstekst **************
System.InvalidCastException: Konvertering fra strengen 1.000000e-07 til typen Double er ikke gyldig. ---> System.FormatException: Inndatastrengen hadde ugyldig format.
   ved Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   ved Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
   --- Slutten på sporingen av intern unntaksstakk ---
   ved Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
   ved Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)
   ved Rigol_UtraVision_Utilities.Utilities.readRecParams()
   ved Rigol_UtraVision_Utilities.Utilities.readParams()

When getting data from the scope in CSV format, it starts off like the following. Seems the exception might be in reading that low value...

X,CH1,Start,Increment,
Sequence,Volt,-7.000000e-07,1.000000e-09,
0,7.520e000,
1,7.440e000,
2,7.520e000,
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 27, 2012, 11:38:39 pm
Seems to work partly on my scope, but I get an exception when doing some operations. But for example capturing the screen works. Sorry about the Norwegian text. 

Thanks for the feedback! It's really appreciated - since I need it to nail down bugs. Can you be a bit more specific about when exactly you get the exception(s)? Is it only when you try to save as CSV?

EDIT: Fixed (I think ;D) in v.1.4.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: larsie on December 28, 2012, 08:33:25 am
Thanks. Will test tonight. The exception came on startup and on various other buttonpresses. Not when getting csv. No error then.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 28, 2012, 08:44:21 am
Thanks. Will test tonight. The exception came on startup and on various other buttonpresses. Not when getting csv. No error then.

Good. The exception notice you posted pointed me towards conversion error caused when reading the Record/Playback Intervals from DSO (and forgetting to do a fixed conversion from ASCII to floating point number). I will post the bug fix (with a couple of new features) later today - please download that version tonight for testing. And thanks again for the feedback  :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: larsie on December 28, 2012, 11:06:06 pm
Screenshot in the other thread looks really great! Let me know when it's ready to test.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 28, 2012, 11:48:50 pm
Screenshot in the other thread looks really great! Let me know when it's ready to test.

It's ready to go - the problem is documentation :o I was hoping to post a short video for usage instead of writing - but I don't think I can get that finished before tomorrow.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: studio25 on December 29, 2012, 07:55:41 am
01.00.05 Firmware

http://rapidshare.com/files/2813177036/DS2000Update.GEL (http://rapidshare.com/files/2813177036/DS2000Update.GEL)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 29, 2012, 09:13:58 am
01.00.05 Firmware

Same File as I got (hex compared Identical)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: andrewfernie on December 29, 2012, 11:55:31 am
01.00.05 Firmware

Same File as I got (hex compared Identical)
Thank you!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 29, 2012, 01:36:16 pm
01.00.05 Firmware

http://rapidshare.com/files/2813177036/DS2000Update.GEL (http://rapidshare.com/files/2813177036/DS2000Update.GEL)
Thanks studio25!

For those planning to use the upgrade file:

Do the upgrade ONLY during bootup - not from the GUI/Menus/OS asking for file/etc. or you will lock up the scope - losing any trial options you have remaining - and requiring you to do the upgrade again anyway using the method listed below:

You do this by using two hands when booting up - one thumb on the 'Power On' switch - one thumb on the 'Help' button. When you press 'Power On', all of the scope LEDs will light for ONE SECOND - during that brief period, you must PRESS AND LET GO of the 'Help' button. It can be a little tricky, but if it works, bootup will stop before the Rigol logo with the 'SINGLE' button lit (if it doesn't, turn off power and try again until you get it). Then insert the USB stick with the file on it.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 29, 2012, 05:16:50 pm

This utility provides three basic functions:
When you start the software, it will reflect the current state of the DSO and it's variables, i.e. if you are in Record Open mode, the Open button will be 'On', etc. If you change one of the variables in RUU, it will alter it on the scope, so the settings in RUU will normally override the DSO settings. But sometimes you might want to use, for example, the Navigation Knob on the scope to set the current frame - or set a variable using the Rigol's menus. If you want to have the DSO settings override RUU, click the 'READ' button in either the 'Record' or 'Play' group to have the respective settings of that group loaded from the scope.
In general, all of the buttons and settings function the same as they do on the Rigol - with the following exceptions:
DS2072 FW1.00.02    RUU 1.1
Hi, I am not sure if I understand that RUU is able to do  'Record Open' .  Does it??

trying to use  'single quotes' for RUU and  "double quotes" for DS2072 naming

when I click on the RUU 'Open' the DSO displays "Input invalid!" at center bottom


If I start the DSO into "Open" Record
oh the DSO displays "max =62"  , and RUU  'record read' displays '63 as max'
Normal trigger and record some frames ie 46 in 62

If I click on RUU 'Open'  the DSO resets the recorded frames from "42" back to "0" and displays "Input invalid!" at center bottom

If I click on RUU 'Record'  the DSO switches from "Open" to "Record" mode; which is different recording

Note the DSO "Open" record mode is controlled with "run/stop"
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 29, 2012, 05:47:57 pm
Hi, I am not sure if I understand that RUU is able to do  'Record Open' .  Does it??

Absolutely! It's the first feature I made in the software - for getting quickly in and out of Record Open without menus.

Quote
when I click on the RUU 'Open' the DSO displays "Input invalid!" at center bottom

Hmm... this is the first time I heard of this bug. I wonder if 01.00.02 uses the outmoded SCPI command "Keep" - which is what Rigol was first calling it instead of "Open". Can you please try the attached software below and tell me which button works for you, "Open" or "Keep"? And thank you for the bug reports! (EDIT: BTW, if the software won't start, you may have to run it in the same folder you have RUU - if it needs to find VISA dlls).

Quote
If I start the DSO into "Open" Record oh the DSO displays "max =62"  , and RUU  'record read' displays '63 as max'

This is correct behavior - you'll notice on the Rigol that in "Record" mode, the maximum frames is always one more than in "Open" mode (I think it has to do with the looping). Switch back and forth with the menus and you'll see what I mean.

Quote
If I click on RUU 'Open'  the DSO resets the recorded frames from "42" back to "0" and displays "Input invalid!" at center bottom

This is mostly correct behavior (except the "Input invalid!  ;D). Since Record Open is loop recording, every time you tell it to start Open recording, it resets to 0 and starts again. The DSO does the same thing when you RUN and STOP "Open".

Quote
If I click on RUU 'Record'  the DSO switches from "Open" to "Record" mode; which is different recording

This is correct behavior.


Attached here is simple test software for entering and exiting Record Open mode - using either SCPI command "Open" or "Keep" (mentioned in Rigol Prog. Guide). Users with 01.00.02 firmware can test if the "Open" command works on their DS2000s.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 29, 2012, 06:30:47 pm

Attached here is simple test software for entering and exiting Record Open mode - using either SCPI command "Open" or "Keep" (mentioned in Rigol Prog. Guide). Users with 01.00.02 firmware can test if the "Open" command works on their DS2000s.

I tried  RigRec.exe and
 Yep,   1.00.02 uses  "Keep" to start Open Record.

Now what to do now ? 
maybe I stay with 1.00.02 to test RUU. on 1.00.02 if you want.

Can RUU read FW version and do different functions to accommodate North American Users or is that too much  extra Work

I guess all  NA user's can update to 1.00.05 ,  on this thread and "Impressions"


Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 29, 2012, 06:38:46 pm
I tried  RigRec.exe and
Yep,   1.00.02 uses  "Keep" to start Open Record.

Now what to do now ? 
maybe I stay with 1.00.02 to test RUU. on 1.00.02 if you want.

Can RUU read FW version and do different functions to accommodate North American Users or is that too much  extra Work

No problem... I will add small code to test for < 01.00.05 and use "Keep" command instead. It will be in the next update - hopefully later tonight (with video instructions) - or tomorrow.

EDIT: Fixed in v.1.4.

And yes please, continue to test. But I think that was the only command I use which was different in Programming Guide (so different firmware) so the rest should be the same for you.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 29, 2012, 06:43:35 pm
@Teneyes - you can just use normal Record to test recording, playing back, saving files and creating animated GIFS.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 29, 2012, 06:59:57 pm
@Teneyes - you can just use normal Record to test recording, playing back, saving files and creating animated GIFS.

Yes the record function works 1-62 frames for 1.4Mb depth

Not sure about Playback. the frame count increments and the DSO goes thur each frame at RUU interval speed, BUT nothing is dispalyed on RUU 'Display' just grid

The RUU does display each frame when the RUU is saving the frames to files and .GIF

I can save to bitmap , Anim.gif    see att.  for the funny effect I got by changing the "End Frame" while playback /saving
Not sure  what RUU could do when frame number is jumping around,
maybe Prompt , 'STOP FRICKING WITH THE DSO WHILE SAVING FRAMES' :)   :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 29, 2012, 07:19:49 pm
Not sure about Playback. the frame count increments and the DSO goes thur each frame at RUU interval speed, BUT nothing is dispalyed on RUU 'Display' just grid

Yes, it takes ~2 - 2.5 seconds to get a bitmap image from the Rigol - so I only do it when you are saving frames. Later version will hopefully have real-time 'SVGA'-like display - but it requires writing an 'engine'.

Quote
Not sure  what RUU could do when frame number is jumping around,
maybe Prompt , 'STOP FRICKING WITH THE DSO WHILE SAVING FRAMES' :)   :)

 ;D Yes, there are many things I can't control from RUU - since the owner also has control over the DSO from it's buttons. Two things trying to control the same device! But one problem with Rigol SCPI implementation is that it's missing a way for the DSO to communicate 'at' the software (like an interrupt - or a button press). It's a simple one-way protocol - you send a command to the scope and it sends back data. You could do much more with it if the scope could notify you directly of events - than the PC could be more easily programmed to act like added 'features' of the DSO without requiring human intervention, Right now I have to 'poll' the scope for changes - not very efficient (that's why the 'READ' buttons).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 29, 2012, 09:58:18 pm
Rigol Read Memory Test

This is a small utility for testing if your Rigol DS2000 series scope can have it's sample memory read correctly by the PC.

Directions: First try button #1 - if it works, then try button #2 with different memory depth settings - if they work successfully, your DSO has passed the test (lucky you  ;D ). If it doesn't you can try button #3 (use "Break" if stuck in a loop - but for memory depths <= 140k, the loop will usually end with a successful read after a few times).

1) "Rigol Display Memory Read - NORM Mode"
This button attempts to read only the display memory (1400 bytes per channel) using the Rigol technique as described in the programming manual. When finished, "Total bytes read" should equal the sample size shown up above (except in ASCII mode). This should work on all Rigol scopes.

2) "Rigol Full Sample Memory Read - MAX/RAW mode":
This button attempts to read the full sample length (56 bytes to 56MB per channel - depending on Acquire/Record settings) using the Rigol technique as described in the programming manual (perhaps it's outdated - that's one thing I'm trying to determine). When finished, "Total bytes read" should equal the sample size shown up above (except in ASCII mode). This doesn't appear to work on Rigol scopes with firmware v.01.00.05.

3) "Wait Until Bytes Read >= Sample Memory Size"
Forces the routine to keep trying to read data until bytes read >= memory depth size (ignoring IDLE command from Rigol unless followed by "0"). This usually works for small memory depths (<= 140k) on my scope.

4) "Break"
Breaks out of reading memory. Click once and wait.

5) "Channel 1 / 2 "
Selects channel(s) to read.

6) "Byte / Word / ASCII -> [] Show"
Selects format for memory read - and shows the data if ASCII selected and Show is checked (careful when using this for > 1.4MPts mem. depths).

7) "MAX / RAW"
Selects Rigol command to use for memory 'type'.

(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=35834;image)

Please report back your results. Any strange results can be copied and pasted here from the output window.

NOTE: The VISA session is set to timeout after 3 seconds - so don't worry if there is a couple of seconds of inactivity - in case of a non-response from the Rigol firmware, the software will automatically timeout and break. The Break button is used for exiting when reading large memory depths - or when forcing the reading using button #3.

There is definitely a bug in the IDLE -> READ response sequence - which is the final response for the final packet when reading memory. You can see how this works by setting your memory depth to 14MPts, then running my software and clicking "Rigol Full Sample Memory Read - MAX/RAW mode". The PC will read the entire memory - but fail on the final packet.  Unfortunately, for small memory depths (< 14MPts in non-ASCII mode), there is only one packet - so read attempts at 14kB and 140kB and 1.4MB fail using Rigol's technique. Using my "Wait Until Bytes Read >= Sample Memory Size" button will usually force my DSO into finally sending the final packet at smaller memory depths (<= 140k) - but it's a wonky workaround.  It seems like it might be a timing issue.

It's very easy to check if Rigol's reading sequence works on your DSO - just:
Set Memory Depth to 14kPts.
Run my software.
Click "Rigol Full Sample Memory Read - MAX/RAW mode"
If you get "Total bytes read: 0" - it didn't work. If you get "Total bytes read: 14000", the bug is not present in your scope.
Then try the same thing again with a few other memory depths.

EDIT: This download is without VISA runtime or DLLs! If you haven't installed NI-VISA on your system, get the DLLs from the RUU download.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: larsie on December 29, 2012, 11:25:11 pm
Is the newest software posted in the first post? Or is there some other post I should use (for the general utility that you showed screenshots of in the other thread).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 29, 2012, 11:31:12 pm
Is the newest software posted in the first post? Or is there some other post I should use (for the general utility that you showed screenshots of in the other thread).

I don't have the documentation done for the latest version - too many other things coming up (new bugs in the Rigol firmware discovered, etc). I hope to have it posted soon - I'll let you know  :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Sparky on December 30, 2012, 07:02:27 am
Just a quick comment on the current RRU v1.1:

I tried it out and I think its really great --- Record, Record Open, and saving the data is working very well.  I tried saving Display, Waveform and Frames, as both CSV and Bitmap, and animated GIF and everything worked as expected.  I could load the CSV files directly in Excel and plot the data (and it looks just like on the scope as expected!) 

At this moment, I have just one little suggestion --- not a bug, but something I thought was a little odd, but didn't cause any problems.  It is, when using the "Save" button, and if I choose different things to save (Waveform, or Frames) and chose a type (CSV or Bitmap), the "Save As..." dialog box always indicates "Save as type: PNG (*.png)".  Thus it is a bit confusing when selecting to save as CSV and seeing the file type as PNG.  I ignored it and type the base filename, and then the software works as expected and saves a .csv file, but I thought it would be nice if the "Save as type" was updated depending on the what was selected for saving (animated GIF, CSV, or bitmaps). 

Working excellent so far -- hope Rigol will fix the deep memory reading bugs!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 01:34:28 pm
Just a quick comment on the current RRU v1.1:

I tried it out and I think its really great --- Record, Record Open, and saving the data is working very well.  I tried saving Display, Waveform and Frames, as both CSV and Bitmap, and animated GIF and everything worked as expected.  I could load the CSV files directly in Excel and plot the data (and it looks just like on the scope as expected!) 

At this moment, I have just one little suggestion --- not a bug, but something I thought was a little odd, but didn't cause any problems.  It is, when using the "Save" button, and if I choose different things to save (Waveform, or Frames) and chose a type (CSV or Bitmap), the "Save As..." dialog box always indicates "Save as type: PNG (*.png)".  Thus it is a bit confusing when selecting to save as CSV and seeing the file type as PNG.  I ignored it and type the base filename, and then the software works as expected and saves a .csv file, but I thought it would be nice if the "Save as type" was updated depending on the what was selected for saving (animated GIF, CSV, or bitmaps). 

Working excellent so far -- hope Rigol will fix the deep memory reading bugs!

Thanks Sparky! And thanks a lot for the encouragement and appreciation - it's really helpful sometimes when coding for hours. And yes, thanks for reminding me about the File Type 'bug' - it was a shortcut I used when banging out code but I will fix it for CSV and WFM file types.

EDIT: Fixed in v.1.4.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 02:04:03 pm
Posted a revamped version of the Read Memory test above.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 30, 2012, 06:13:08 pm
Posted a revamped version of the Read Memory test above.
DS2072  w/ 1.00.02
Hi , just woke Up, remember I am @ west coast, that is PST , that is GMT  -8:00

ok at 14.0Mpts I get :
for Read Display
-------------------------
WAV:FORM BYTE
:WAV:SOURce CHANnel1
:WAV:MODE NORMal
:WAV:DATA?
Total bytes read: 1400----------------------------------

for Read Full Max
--------------------------------------
.
.
.
READ,1396736
:WAV:DATA?
Bytes read: 1396736:WAV:STATus?
READ,126976
:WAV:STATus?
:WAV:STATus?
READ,126976
..
.
.
---------------------
which  loops until I used break

Bytes read: 634880
Max.packet read: 1396736
Total bytes read: 11808744:WAV:END

=======================
for 56Mpts
RRN shows '56000000 Smples'

results the same with looping at 13896736
++++++++++++++++++
starts
:WAV:FORM BYTE
:STOP
:ACQuire:MDEPth?
56000000
:WAV:SOURce CHANnel1
:WAV:MODE MAX
:WAV:RESet
:WAV:BEGin
:WAV:STATus?
READ,126954
.
.
READ,1396736
:WAV:DATA?
Bytes read: 1396736
:WAV:STATus?
READ,126976
==================================
looks the same as 14Mpts

hope this helps

Below is dso display,
 PS Don't laugh at my 52 year old tube oscillator , mb time to replace old tubes
     looking @ DGxxxx?
PS 




Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 06:24:01 pm
@Teneyes:

First of all, thank you so much for helping me out with this - I really appreciate it.  But because you used large memory depth settings, it's not clear whether the PC would have finished the memory read correctly since you broke out before it was done (it takes quite awhile to read 14MB or 56MB from the DSO).

But you only need to try with the small settings to make it crystal clear whether the bug exists in v.00.01.00.02, so can you please do the following (it will only take a few seconds)?

Set Rigol Memory Depth to 14kPts.
Click "Rigol Full Sample Memory Read - MAX/RAW mode"
Set Rigol Memory Depth to 140kPts.
Click "Rigol Full Sample Memory Read - MAX/RAW mode"
Then copy and paste the output window here.

That's all I need to know.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 30, 2012, 06:37:54 pm
UPDATE
  I let MAx read run
and after 40 Loops ( scanned and counted them

RRM stops with
-------------
READ,1269760
:WAV:STATus?
READ,1396736
:WAV:DATA?
Bytes read: 1396736
:WAV:STATus?
READ,126976
:WAV:STATus?
IDLE,130582
:WAV:DATA?
Bytes read: 130582
Max.packet read: 1396736
Total bytes read: 56000000:WAV:END
======================
Is the 56000000 just your program counter??

By the way to save one 56Mpts waveform to USB stick took me 17+ minutes , a little less to Load
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 06:43:18 pm
Bytes read: 130582
Max.packet read: 1396736
Total bytes read: 56000000
:WAV:END
======================
Is the 56000000 just your program counter??

It's how many bytes the PC got from the Rigol - and you managed to get a correct 56MB read! Congrats! Now can you test the two small memory settings (14k / 140k)? If you get both of those correctly - your firmware does NOT have the reading bug - and I have to start thinking seriously about downgrading to v.00.01.00.02  ;D
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 30, 2012, 06:45:31 pm
@Teneyes:

Set Rigol Memory Depth to 14kPts.
Click "Rigol Full Sample Memory Read - MAX/RAW mode"
Then copy and paste the output window here.

:WAV:FORM BYTE
:STOP
:ACQuire:MDEPth?
14000
:WAV:SOURce CHANnel1
:WAV:MODE MAX
:WAV:RESet
:WAV:BEGin
:WAV:STATus?
IDLE,14000
:WAV:DATA?
Bytes read: 14000
Max.packet read: 14000
Total bytes read: 14000
:WAV:END
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 30, 2012, 06:49:35 pm

Set Rigol Memory Depth to 140kPts.
Click "Rigol Full Sample Memory Read - MAX/RAW mode"
Then copy and paste the output window here.

:WAV:FORM BYTE
:STOP
:ACQuire:MDEPth?
140000
:WAV:SOURce CHANnel1
:WAV:MODE MAX
:WAV:RESet
:WAV:BEGin
:WAV:STATus?
IDLE,140000
:WAV:DATA?
Bytes read: 140000
Max.packet read: 140000
Total bytes read: 140000
:WAV:END

Looks good for 140K
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 06:50:45 pm
Damn! This bug DOES appear to be v.00.01.00.05 bug. This might explain why Rigol is not passing out v.00.01.00.05 firmware freely.

BTW, the Rigol will transfer a maximum of 2031600 bytes per packet - so 56000000/2031600 requires a minimum of 28 packets.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 30, 2012, 06:55:33 pm
USing  RRM for 1.4Mpts
------------------------
WAV:FORM BYTE
:STOP
:ACQuire:MDEPth?
1400000
:WAV:SOURce CHANnel1
:WAV:MODE MAX
:WAV:RESet
:WAV:BEGin
:WAV:STATus?   READ,126950   :WAV:STATus?   READ,126950   :WAV:STATus?  READ,126950
:WAV:STATus?   READ,253926   :WAV:STATus?   READ,253926   :WAV:STATus?  READ,253926
:WAV:STATus?   READ,380902   :WAV:STATus?   READ,380902   :WAV:STATus?  READ,380902
:WAV:STATus?   READ,507878   :WAV:STATus?   READ,507878   :WAV:STATus?  READ,507878
:WAV:STATus?   READ,634854   :WAV:STATus?   READ,634854   :WAV:STATus?  READ,634854
:WAV:STATus?   READ,634854   :WAV:STATus?   READ,761830   :WAV:STATus?  READ,761830
:WAV:STATus?   READ,761830   :WAV:STATus?   READ,888806   :WAV:STATus?  READ,888806
:WAV:STATus?   READ,888806   :WAV:STATus?   READ,1015782 :WAV:STATus?  READ,1015782
:WAV:STATus?  READ,1015782  :WAV:STATus?   READ,1015782 :WAV:STATus?  READ,1142758
:WAV:STATus?  READ,1142758  :WAV:STATus?   READ,1142758 :WAV:STATus?  READ,1269734
:WAV:STATus?  READ,1269734  :WAV:STATus?   READ,1269734 :WAV:STATus? 
IDLE,1400000
:WAV:DATA?
Bytes read: 1400000
Max.packet read: 1400000
Total bytes read: 1400000
:WAV:END

looks good for 1.4Mpts
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 06:59:53 pm
Sheesh... does anyone happen to have a copy of v.00.01.00.02 firmware around? I believe the bootloading sequence (at least for now) allows downgrading.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 30, 2012, 07:05:40 pm
Downgrading,  mmmm  if 1.00.02 was first  , got to go to Rigol
I'll ask here is USA,
Cannot slow production of RRU :)


Should we check the captured data,
iie RRM outputs to a file , that I send to you

I'm ready for new test program :)

Oh I'm notified  on most of the DS2000 EEVBlogs
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 07:38:15 pm
New version of the software uploaded - three bug fixes. Details are here - and in the first post.

1) Added Open/Keep for v.00.01.00.02 compatibility (Thanks to Teneyes)
2) Fixed possible TypeConversion exceptions  (Thanks to larsie)
3) Fixed FileType selection box for CSV files (Thanks to Sparky)

Currently the new feature of Zoom Markers is disabled until the new documentation is finished - hopefully soon!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: larsie on December 30, 2012, 10:46:33 pm
Looks great, but sorry... the bug remains. Not exactly like before. This is when opening the program. Basically it says the in-data string had an invalid format.

System.FormatException: Inndatastrengen hadde ugyldig format.
   ved System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   ved System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   ved System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
   ved System.Convert.ToDouble(String value)
   ved Rigol_UtraVision_Utilities.Utilities.askVISAfp(String q)
   ved Rigol_UtraVision_Utilities.Utilities.readRecParams()
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 11:15:45 pm
Looks great, but sorry... the bug remains. Not exactly like before. This is when opening the program. Basically it says the in-data string had an invalid format.

No problem - I'll look again. But it's curious that you're the only one reporting problems when opening the program. Can I please find out what OS you're using - and which version of the NI-VISA runtime?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 11:21:31 pm
@larsie:

One other quick question, I'm fairly certain the exception is being thrown by the routine which translates the Record Interval sent by the Rigol in ASCII-encoded scientific notation to floating point. Can you just look at the setting under Utility->Record->Mode->Record->Interval and let me know what it's set to on your DSO?

Thanks again!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 11:30:27 pm
@larsie:

Better still - please run the tiny attached program - and copy and paste the result here.

Thanks!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: larsie on December 30, 2012, 11:31:53 pm
@larsie:

One other quick question, I'm fairly certain the exception is being thrown by the routine which translates the Record Interval sent by the Rigol in ASCII-encoded scientific notation to floating point. Can you just look at the setting under Utility->Record->Mode->Record->Interval and let me know what it's set to on your DSO?

Thanks again!

100 ns (should I try another interval? I don't have a clue what this even means)
Windows 7, 64-bit
NI-VISA 5.2 for Windows
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: larsie on December 30, 2012, 11:32:51 pm
@larsie:

Better still - please run the tiny attached program - and copy and paste the result here.

Thanks!

1.000000e-07
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2012, 11:44:03 pm
1.000000e-07

This is correct - so no problem with the DSO. I think the problem relates to Windows Control Panel settings related to Norwegian - trying to dig for a solution right now. I'll post another small program shortly which will try to convert the floating-point number and see if it succeeds for you on your computer.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: larsie on December 30, 2012, 11:52:23 pm
Ah.... sorry... we Norwegians have a funny thing about . and ,

They are swapped...
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 30, 2012, 11:56:50 pm
Thanks Mark
   Open Keep works good, see att >GIF
    DS2072  1.00.02  RUU 1.4   

    Normal Trigger , 1.4Mpts  ,
    I filled 55 frames with   50 Hz 
    I started 1KHz frames
that seem to push 1KHz frames back to 34
   I removed 1Khz signal
  I stopped RUU record
  I saved Frames
   After Saving the frames to .png and making the  .GIF

   The RUU would display a run thur of frames BUT only every second frame 
   quirky
 at first only Odd numbered frames
   The DSO was not cycling thur frames
   when I did a RUU  'Read ,Play'
  The RUU would display a run thur of Even frames
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 31, 2012, 12:03:01 am
@larsie

Here is a small program which just tries to convert the Record Interval to a floating point number - and then back to a string between 100ns - 10s. You can change the setting (Utility->Record->Mode-Record->Interval) on your scope with the big Navigation Knob a few times and click the read button to see if it throws the exception again on your computer.

Thanks!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 31, 2012, 12:08:00 am
  DS2072  1.00.02  RUU 1.4   

  I tried to Save 'Wavefrm ; CVS   and RUU prompts for FIle name but does NOT use new file name.
   but  data is saved to 'Screen.cvs' file

 This data is the Display Data 1400 points, correct??
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 31, 2012, 12:42:03 am
   The RUU would display a run thur of frames BUT only every second frame 
   quirky
 at first only Odd numbered frames
   The DSO was not cycling thur frames
   when I did a RUU  'Read ,Play'
  The RUU would display a run thur of Even frames

I'm not sure what you mean here. Was RUU playing the frames - or was the Rigol? If you just click the "Play" button, the Rigol plays the frames - it's not controlled by RUU. But if you have "Step" checked, then RUU tells the Rigol which frames to play based on the Step amount. If Start Frame is 10 and Step is 10, RUU will tell the Rigol to play frame 10, 20, 30, 40, etc.

  I tried to Save 'Wavefrm ; CVS   and RUU prompts for FIle name but does NOT use new file name.   but  data is saved to 'Screen.cvs' file

Whoops - that's a bug - it should only do that if you click 'Cancel' - for a fast way to save a CSV file. It goes on the bug list :)

Quote
This data is the Display Data 1400 points, correct??

Correct. Voltages in scientific notation.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 31, 2012, 02:29:22 am
Let me try again

   After Saving the 62  frames to .png files  and RUU makes the  .GIF

   The RUU would continue to display Frames BUT only every second frame 
   That is  RUU would display Frames numbered  2,4,6,89,10,12.......56,58,60,62,2,4....
   then if I click on many of the Check Boxes  the sequence would change to:
   displaying  Frames numbered  9,11,13.......59,61,1,3,5,....


  The DSO was not showing different frames, just in dependant
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 31, 2012, 02:38:28 pm
   The RUU would continue to display Frames BUT only every second frame 
   That is  RUU would display Frames numbered  2,4,6,89,10,12.......56,58,60,62,2,4....
   then if I click on many of the Check Boxes  the sequence would change to:
   displaying  Frames numbered  9,11,13.......59,61,1,3,5,....

Sorry, I'm still not really understanding you. RUU only displays frames it captures from the DSO - are you talking about an animated GIF playing inside of RUU - or what is happening on the DSO screen?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 31, 2012, 05:46:00 pm
trying again
   During the Saving of Frames the RUU displays each frame as it is being Saved,
   I am saving 62 frames.
   the DSO displays the frames in Play Mode ( one frame ahead of the RUU Display)
   I watch with windows XP/explorer and see each framexxxx.png file being created
   AT the end of 62 frames being saved , the DSO Stops changing

    NOW the RUU would continue to display Frames BUT only every second frame 
   That is  RUU would display Frames numbered  2,4,6,89,10,12.......56,58,60,62,2,4....
   then if I click on one of the Check Boxes in RUU (intermittently ) the sequence would change to:
   displaying  Frames numbered  9,11,13.......59,61,1,3,5,....

    YES this could just be a ANIMATED GIF , is that what is left on the RUU display area??
    quirky that it skips every second frame if it is a GIF.   

    The save GIF is Correct and steps thru all frames as I have attached in previous Biog
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 31, 2012, 05:58:57 pm
    NOW the RUU would continue to display Frames BUT only every second frame 
   That is  RUU would display Frames numbered  2,4,6,89,10,12.......56,58,60,62,2,4....
   then if I click on one of the Check Boxes in RUU (intermittently ) the sequence would change to:
   displaying  Frames numbered  9,11,13.......59,61,1,3,5,....

    YES this could just be a ANIMATED GIF , is that what is left on the RUU display area??
    quirky that it skips every second frame if it is a GIF.   

OK - got it this time :D Yes, that is the animated GIF being displayed - and you're right - it's strange that it would skip frames. I haven't noticed that behavior before here - but I've rewritten a lot of the program since I last saved an animated GIF - so it's quite possible I've screwed something up  ;D   I will check again now myself with ~60 frames. Thanks for your help - I'll let you know what I find.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 31, 2012, 07:31:21 pm
Hi Marmad,
    Just dreaming of your RUU monitoring the DSO in Single trigger mode and if triggered Saving the frame with time stamp then waiting for next trigger to catch some over night burp in what was being monitored.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 31, 2012, 07:52:37 pm
Hi Marmad,
    Just dreaming of your RUU monitoring the DSO in Single trigger mode and if triggered Saving the frame with time stamp then waiting for next trigger to catch some over night burp in what was being monitored.

I could do this with RUU - but no need. The Rigol already does this with normal Record mode. Just set the trigger type to what you are waiting for - enter Record Mode and set the Interval for the pause you want between possible triggers (e.g. 1s) - then put the scope into Normal mode (waiting for trigger = blinking green WAIT). Every time a trigger comes, the Rigol will record one frame (time-stamped) and then pause 1 second - then re-arm the trigger and wait again. It will do this for as many frames as you have available. All night and all day  ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 31, 2012, 09:53:15 pm
    NOW the RUU would continue to display Frames BUT only every second frame 
   That is  RUU would display Frames numbered  2,4,6,89,10,12.......56,58,60,62,2,4....
   then if I click on one of the Check Boxes in RUU (intermittently ) the sequence would change to:
   displaying  Frames numbered  9,11,13.......59,61,1,3,5,....

@Teneyes: This works fine for me. I think your problem might have to do with the slowness of your computer - since animated GIFs snatch processing time (RUU doesn't play the animated GIF - it just plays automatically via Windows). Try it one more time, but this time don't use the default setting of "Each 100ms" for the playback of the animated GIF - instead set it to something more reasonable - like "Each 250ms".
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 01, 2013, 07:20:10 pm
I tried also this RUU 1.4. I get error message as in the picture, when I start the program. OS is Win 7 home premium 64-bit (Finish version) and NI visa is 5.20.

Google translation of the message:


Unhandled exception in the application. If you choose to continue, the application will override the error and attempt to continue operations. If you click Quit, the application will close immediately.

Input format of the string is not valid.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 01, 2013, 07:32:33 pm
Unhandled exception in the application. If you choose to continue, the application will override the error and attempt to continue operations. If you click Quit, the application will close immediately.

Input format of the string is not valid.

@EV: I think you're getting the same error that larsie is/was getting. Can you download this little program: RigRead (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg176385/#msg176385) - and see if it generates that exception on your PC? I have a new version of RUU (1.5) almost ready for upload that hopefully will fix these exceptions on all of the Scandinavian PCs that keep throwing them  ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 01, 2013, 08:23:40 pm
RigRead gives the following messages:
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 01, 2013, 08:36:15 pm
RigRead gives the following messages:

Goddamn .NET   >:(

Here's one more version to try. If this doesn't work, I think we will have to do away with the Finnish culture  ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 01, 2013, 10:06:44 pm

Goddamn .NET   >:(


Rigread2 gives message as in picture, other 2 are same as with RigRead. When I push "Tiedot" button there comes window beneaf the message box with the following text:


************** Ladatut kokoonpanot **************
mscorlib
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
RigRec
    Kokoonpanon versio: 0.1.4749.38598
    Win32-versio: 0.1.4749.38598
    Koodikanta: file:///C:/Users/Eino/Desktop/RigRead2/RigRead2.exe
----------------------------------------
System.Windows.Forms
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Windows.Forms.resources
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5420 (Win7SP1.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fi_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.VisualBasic
    Kokoonpanon versio: 8.0.0.0
    Win32-versio: 8.0.50727.5420 (Win7SP1.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------

************** JIT-virheenkorjaus **************
JIT-virheenkorjauksen käyttöönotto edellyttää, että tämän
sovelluksen tai koneen kokoonpanon määritystiedostossa (Machine.config)
on jitDebugging-määritys system.windows.forms-osassa.
Virheenkorjaus on myös oltava käytössä sovellusta
käännettäessä.

Esimerkiksi:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Kun JIT-virheenkorjaus on käytössä, käsittelemättömät poikkeukset
lähetetään koneessa rekisteröityyn JIT-virheenkorjaustoimintoon
eikä niitä käsitellä tässä valintaikkunassa.


Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 01, 2013, 10:21:26 pm
@EV

Now I'm not sure if the problem is coming from RUU; I'm wondering if you have NI-VISA installed correctly. Have you used any other VISA software to communicate with the scope? Rigol's Ultra Sigma, MATLAB, LabVIEW, etc? I think you better test first that you can communicate with your scope - use Ultra Sigma to open a USB session and send *IDN? to the Rigol.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 01, 2013, 11:03:17 pm
@EV

Now I'm not sure if the problem is coming from RUU; I'm wondering if you have NI-VISA installed correctly. Have you used any other VISA software to communicate with the scope? Rigol's Ultra Sigma, MATLAB, LabVIEW, etc? I think you better test first that you can communicate with your scope - use Ultra Sigma to open a USB session and send *IDN? to the Rigol.

I have not used any other programs on your list and I installed NI-Visa first time today. I install and try Ultra Sigma tomorrow.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Sparky on January 02, 2013, 06:04:41 am
@marmad: Hope you don't mind me posting this here; I thought it was the most relevant thread.

Update on DS2000 series IVI drivers:

I heard similarly as marmad from Rigol NA regarding availability of IVI driver; i.e. it hasn't been released yet.  But, Rigol suggested to me to try DS6000 series IVI driver, and that "I should be able to use most of the basic commands" from that driver. 

I have tried a few things in MATLAB R2012a 64-bit, namely:
1. http://www.mathworks.com/help/instrument/examples/reading-waveforms-from-an-oscilloscope-using-ivi-c-class-compliant-interface.html (http://www.mathworks.com/help/instrument/examples/reading-waveforms-from-an-oscilloscope-using-ivi-c-class-compliant-interface.html)
2. http://www.mathworks.com/help/instrument/examples/reading-waveforms-from-an-oscilloscope-using-a-quick-control-oscilloscope-object.html (http://www.mathworks.com/help/instrument/examples/reading-waveforms-from-an-oscilloscope-using-a-quick-control-oscilloscope-object.html)

But have not been successful, and errors from MATLAB were not particularly helpful. 

I am running Windows 64-bit and initial problems seem to be that Rigol's IVI driver installs its software modules in:
C:\Program Files\IVI Foundation\IVI\Bin\rgds6k_32.dll

Which appears inappropriate for a 32-bit DLL on a 64-bit operating system.  Instead, it should have installed to:
C:\Program Files (x86)\IVI Foundation\IVI\Bin\rgds6k_32.dll

with a 64-bit version in: C:\Program Files\IVI Foundation\IVI\Bin\
but the Rigol package does not contain 64-bit versions of the DLL files.

I found MATLAB's "Test & Measurement Tool" (tmtool) not that helpful in checking/modifying the IVI driver configuration (e.g. hard to know if 32 or 64-bit DLL versions are being loaded, and from what directories etc.). 

I did notice MATLAB lists: IVIRootPath = 'C:\Program Files\IVI Foundation\IVI\' which seems fine for 64-bit system, except that is where Rigol put the 32-bit DLL...

I tried copying (what I deemed appropriate) files from C:\Program Files\IVI Foundation\IVI\ to C:\Program Files (x86)\IVI Foundation\IVI\
but found no way to configure MATLAB to look for 32-bit IVI drivers in this directory, in fact, I'm not sure if 64-bit MATLAB will work with the 32-bit IVI drivers provided by Rigol.


The National Instruments "Measurement & Automation Explorer" (MAX) seems a more helpful; it seems to read and write the same IVI configuration file (an XML file) as MATLAB does, and it points out two different paths for 32-bit and 64-bit DLL files. (see attachment) So, NIs MAX seems a better way to do the IVI configuration than MATLABs tmtool.

I haven't tried setting things up the IVI configuration entirely within MAX, and then seeing how MATLAB works, but that would be a next step.


Most of my problems seem to be because of 32-bit and 64-bit differences between Windows/MATLAB and the Rigol IVI driver package.  If someone has a 32-bit only setup, they may have more luck.  I'm interested to hear how that turns out.


If you wish to try the IVI driver stuff, you also need to install the NI IVI Complicance Package:
http://joule.ni.com/nidu/cds/view/p/id/3065/lang/en (http://joule.ni.com/nidu/cds/view/p/id/3065/lang/en)

And, IVI Shared Components:
http://www.ivifoundation.org/shared_components/Default.aspx (http://www.ivifoundation.org/shared_components/Default.aspx)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 02, 2013, 08:38:09 am

I think you better test first that you can communicate with your scope - use Ultra Sigma to open a USB session and send *IDN? to the Rigol.

I installed UltraSigma and tried it. It looks to work correctly (picture). I tried also RUU after UlraSigma installation. There is no change. It does not work.

Edit:Serial number destroyed
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 02, 2013, 11:40:49 am
I installed UltraSigma and tried it. It looks to work correctly (picture). I tried also RUU after UlraSigma installation. There is no change. It does not work.

Ahh... I know what the error with RigRead2 is. I mentioned in a previous post (which I think you didn't read) that these small test programs (RRM, RigRead, etc) are without the needed DLLs that come with RUU (if only I could read Finnish) - you must run RigRead2 in the same folder where you have RUU. Please test RigRead2 again from RUU folder. Thanks.

BTW, RUU won't work for you until I post a bug fix - that's why we have RigRead(2).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 02, 2013, 12:11:53 pm
Ahh... I know what the error with RigRead2 is. I mentioned in a previous post (which I think you didn't read) that these small test programs (RRM, RigRead, etc) are without the needed DLLs that come with RUU (if only I could read Finnish) - you must run RigRead2 in the same folder where you have RUU. Please test RigRead2 again from RUU folder. Thanks.

BTW, RUU won't work for you until I post a bug fix - that's why we have RigRead(2).

Sorry, you are right, I have not read all the earlier posts. RigRead and RigRead2 give both the same message, which is in the picture.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 02, 2013, 12:24:05 pm
Sorry, you are right, I have not read all the earlier posts. RigRead and RigRead2 give both the same message, which is in the picture.

Great! So I think I have found the bug - and the fix will be incorporated in the next version of RUU. Please let me know if it doesn't work. Thanks!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 02, 2013, 12:26:29 pm
I heard similarly as marmad from Rigol NA regarding availability of IVI driver; i.e. it hasn't been released yet.  But, Rigol suggested to me to try DS6000 series IVI driver, and that "I should be able to use most of the basic commands" from that driver. 

Strange, I would think that the DS4000 series IVI driver would be closer to the DS2000. I thought it was released after the DS6000, and it's specs were more similar.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 03, 2013, 01:51:14 pm
Since I have the animated GIF option as a kind of compiled version of the screen images - I'd like to do the same for the CSV output. Does anyone know if you can make a database file that is in CSV format? So it could be opened in Access or another DB program?


Also, since I have the animated GIF option as a kind of compiled version of the screen images - I'd like to do the same for the CSV output. Does anyone know if you can make a database file that is in CSV format? So it could be opened in Access or another DB program?
To what purpose? A relational database isn't really appropriate for this sort of data I don't think. Though most database engines I'm familiar with can import CSV fairly easily (Postgres, MySQL and Oracle all can).

Have just ordered my DS2072 thanks to this thread and particularly your posts marmad. Thanks for the info and software, I'm sure I will be satisfied. Waiting anxiously for a shipment notification so I can play ;).


To what purpose? A relational database isn't really appropriate for this sort of data I don't think. Though most database engines I'm familiar with can import CSV fairly easily (Postgres, MySQL and Oracle all can).

Well, I'm not sure - maybe we can discover a purpose later. But originally the idea was just as a possible solution to an organizational problem - if you want a voltage record of each waveform stored in a 100 different frames, the DS2000 doesn't allow you to save any files when in Record mode. But my software can pull out that voltage record from each frame and save it as a CSV file, but then you have a 100 (or whatever) separate CSV files. I thought it might be handier to have it stored in a single file, as a database of frames connected via their relationship to time. Anyway, just trying to think of more efficient ways to save recorded data for possible analysis or processing later.


Well, I'm not sure - maybe we can discover a purpose later. But originally the idea was just as a possible solution to an organizational problem - if you want a voltage record of each waveform stored in a 100 different frames, the DS2000 doesn't allow you to save any files when in Record mode. But my software can pull out that voltage record from each frame and save it as a CSV file, but then you have a 100 (or whatever) separate CSV files. I thought it might be handier to have it stored in a single file, as a database of frames connected via their relationship to time. Anyway, just trying to think of more efficient ways to save recorded data for possible analysis or processing later.
I see what you mean, maybe something a little more elegant than a bunch of timestamped text files is required... Maybe a simple XML format? Unless you're planning on writing a 'waveform management system' as well though (and I'm sure many would be happy if you were!), this might be one to leave as an exercise to the reader. :)


BTW, in the interest of pushing the software I'm writing on more owners ;)  it takes the Rigol 15 seconds to write a PNG file to a USB stick - and then, of course, there's the time needed to transfer the stick to a computer and read the file. It takes the Rigol UltraVision Utilities 2.3 seconds (using USB) to transfer the data to the PC and save it  :)


Works like a charm.

In addition to it being faster you also get the opportunity to enter a (hopefully meaningful) name for the file as you save it.

Thank you for the work you have put into the application - much appreciated.

Andrew


Copied and pasted from HW thread.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 03, 2013, 02:08:05 pm
To what purpose? A relational database isn't really appropriate for this sort of data I don't think. Though most database engines I'm familiar with can import CSV fairly easily (Postgres, MySQL and Oracle all can).
I thought of a use for compiled CSV/WFM frame files - and easy to generate in RUU as well: an intensity gradient - which is analogous to a thermal color gradient where high intensity areas are colored red and low intensity areas are colored blue - for example:

(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=36084;image)

It goes on the future feature list  :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 03, 2013, 05:19:21 pm

Also, since I have the animated GIF option as a kind of compiled version of the screen images - I'd like to do the same for the CSV output. Does anyone know if you can make a database file that is in CSV format? So it could be opened in Access or another DB program?

Access 2010: Move data from Excel to Access (https://www.youtube.com/watch?v=7Gka7fy4e1s#)
I found this and I would work on automating ,with Excel program , we could work on a Functional specs.
 IE , Combine all files with "ABC*.csv" into one Access database using file date & time as a Key.
any other suggestions , Anyone else willing to help?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: larsie on January 03, 2013, 05:55:21 pm
What do we want to do with the data when it's in a db? As you indicate, putting a csv into Excel/Access should be 'relatively' easy. Is it for graphing, data-manipulation, mathematical functions?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 03, 2013, 06:11:50 pm
Easy to Watch Generator Frequency Drift (copied from other thread)
  While Playing with an Old Generator ,
 I used the DS2072 to scan a 90Mhz signal at 100uS/div and then Zoom to the last part (700usdelay)
 The zoom was set to 5.0ns 20,000x zoom to see the waveform drifting left and right
I use a bit of holdoff to to get a smooth drifting
and set interval to get a regular sweeping.
As you can see after a delay at about 700us the signal is drifting 10ns.
The stats show 89.28-90.91 Mhz , ( yes 70Mhz scope is still good for this test)
Now I used Marmad's RUU to capture frames,
I chose "Open Record" so I could stop at the highest frequency, most drift to the left, then did RUU "Stop"
With RUU in "Play mode", I changed the Start Frame  and and could easily see frame 24 was best frame to start a Loop
I saved the Animated .GIF below
Very Easy, and simple to document tests 10 minutes . and 3 mintues was the RUU saving Data (see time clock on the frames , bottom right
Thanks again marmad, Great Tool already :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 10, 2013, 10:31:48 pm
Uploaded new version of the RUU software. Two bug fixes, one enhanced feature (#1), and two new features (#2, #3 - although #3 is not fully implemented yet). Some explanation here and all of the details in the first post.

#1: When in Play mode (paused or stopped), the Up/Down Arrow keys on the computer keyboard will now jog the DSO forward/backward a frame.

#2: An auto-name/save feature has been added - allowing even faster screen grabs to the PC (a single click), as well as auto-saving after recording a set amount of frames (determined by the Record End Frame setting) - with automatic repeat - if the Loop box is checked.

#3: The ability to add markers while in Zoom (Delayed Sweep) Mode is now enabled. There are still two main unimplemented portions of this feature (as explained below) but since I'm currently travelling and won't be able to do any further development while away from the DSO for the next 2.5 weeks (except perhaps minor bug fixes), I thought I'd release it as 'beta' for now - and see if bugs/problems are discovered.

The two unfinished sub-portions of this feature are:

a) The real-time display of the waveform on the PC screen while moving around in Zoom Mode. I'm still working on this, so although you can drop markers and jump back and forth between them, you currently still need to do the actual examining of the waveform on the DSO screen. Eventually the zoomed waveform (as well as all of the parameters, such as main and zoomed scale settings, etc) will be updated continuously in RUU's window.

Also, because of the IDLE memory read bug in FW 01.00.05 which inhibits SCPI deep memory reads, I have to reproduce the image of the main timebase (i.e. the entire waveform sample) by using a portion from a captured bitmap image of the screen - so it's not possible to refresh that element at a usable speed (until the IDLE problem is resolved). As of this version, the only screen elements being updated continuously are the zoom window (the blue bars) and the markers themselves.

b) The other feature to be added later, also once the IDLE bug has been fixed (or a workaround is found), is a Store/Load Sample & Search function, which will allow you to either store a sample of the waveform currently displayed - or load a sample from a previously saved CSV/WFM file (or one created with AWG software) - and then search through the entire current DSO memory for occurrences.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 11, 2013, 08:50:00 am
OK, RUU v.1.5 starts now and looks to work correctly. The animated gif is gray, but I have not read the instructions yet. Maybe I must do something to use it and I did not find it.

Thanks Marmad!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 11, 2013, 12:07:24 pm
Animated gif works.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 11, 2013, 02:23:29 pm
OK, RUU v.1.5 starts now and looks to work correctly.

I'm happy to hear that, EV  :)  Let me know what you think of it - or if you have any feature suggestions.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 11, 2013, 06:14:48 pm
Let me know what you think of it - or if you have any feature suggestions.

I have problems with "Zoom Markerrs". If I click it I get a window as in the picture. If I click "Continue", nothing works there. Maybe I am doing something wrong?

Google translation from the window:

Unhandled exception in the application. If you click Continue, the application will ignore the error and attempt to continue operations. If you select Quit, the application will close immediately.

The conversion from a string 5.000000e-04 to Double is not valid.




Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 11, 2013, 06:31:30 pm
I have problems with "Zoom Markerrs". If I click it I get a window as in the picture. If I click "Continue", nothing works there. Maybe I am doing something wrong?

Thanks for the bug report. I'm sure you don't do anything wrong - it's certainly my software  :)

I have to say, I am a little lazy with type conversions - I just expect the software to handle them fluently. And VB.NET is kind of a pain since it doesn't generate these exceptions while I'm testing - but seems to have problems later based on individual computer settings.

Anyway, it's a little complicated right now since I can't test changes (I'm thousands of kms from the DSO) - but I'll see if I can find the problem and post a bug-fix for you soon.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: jahonen on January 11, 2013, 06:41:11 pm
Maybe you could change your windows regional settings so that decimal separator is comma "," to see if the problem shows up to speed up testing? I have found out that there exists plethora of software which also stumbles on this. I have no Rigol scope but just a thought.

Regards,
Janne
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 11, 2013, 07:15:22 pm
Maybe you could change your windows regional settings so that decimal separator is comma "," to see if the problem shows up to speed up testing? I have found out that there exists plethora of software which also stumbles on this. I have no Rigol scope but just a thought.

That's likely the problem - as it was with an earlier version of RUU. I thought I had made certain that all of the Type Conversions were Culture Invariant - but I think I must have missed one when adding the new Zoom Marker utility.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 11, 2013, 08:54:26 pm
That's likely the problem - as it was with an earlier version of RUU.

That is the problem. I changed decimal comma to decimal point in Windows, and there is no error message.

Thanks to Jahonen!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 11, 2013, 08:57:23 pm
That is the problem. I changed decimal comma to decimal point in Windows, and there is no error message.

Good to know for certain! Now I just have to track down the place in the software where I forgot to use CultureInvariant during a type conversion - so that the decimal setting will make no difference.
Title: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on January 11, 2013, 09:57:43 pm
Marmad, sounds like you need to get your 'option strict' enabled or specified at top of your VB file.  It will improve your life.  Cheers.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 11, 2013, 10:18:11 pm
Marmad, sounds like you need to get your 'option strict' enabled or specified at top of your VB file.  It will improve your life.  Cheers.

Thanks - I'll give that a go. Being a hardcore assembly-language programmer for the last 35 years, I just muddle through at the high-level  ;D
Title: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on January 12, 2013, 06:59:11 am
I wrote a very cruddy multimeter/scope screen grab / data logging utility, designed to be generic so I could add plugins for new models.  Will dig it out and update it when my new Rigol 2000 arrives, and look at posting the code.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 12, 2013, 10:47:46 am
Nice!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 12, 2013, 11:36:54 am
@EV    , Having Fun ??  ,  What's the Red Block mean just after data?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 12, 2013, 12:16:44 pm
@EV    , Having Fun ??  ,  What's the Red Block mean just after data?

The code has not been found correctly, I think. Data can be cut there?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 12, 2013, 02:27:08 pm
What's the Red Block mean just after data?

It is just a question mark, such as can be seen in the enlarged image (200us). At the same place is a red block in the original picture 500us.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 12, 2013, 05:35:04 pm
[It is just a question mark, such as can be seen in the enlarged image (200us). At the same place is a red block in the original picture 500us.
@EV , if it is the same block, why is the yellow trace not the same and the Block data show what looks the is a "BIT" different ?
Reading the Userguide . page 7-8 , End of Frame error , changes from block to ? when you zoom in
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 12, 2013, 05:57:34 pm
if it is the same block, why is the yellow trace not the same and the Block data show what looks the is a "BIT" different ?
Reading the Userguide . page 7-8 , End of Frame error , changes from block to ? when you zoom in

I don't understand what you mean that the yellow trace not the same. The red block also changes to question mark if I move the trace horizontally with the horizontal position knob as when zooming it bigger.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 12, 2013, 06:31:06 pm
[

I don't understand what you mean that the yellow trace not the same. [/quote]
@EV  , Sorry  Yes are the same, In the second picture the stop Bit in off the screen to the left and I mistook the 1st bit as the Stop bit. 

PS I am learning about Endianness,  and as I am Big Mohawk Indian it is good to know the difference,
See:
http://en.wikipedia.org/wiki/Endianness (http://en.wikipedia.org/wiki/Endianness)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 12, 2013, 06:51:30 pm
Nice!

One of the coolest things about recorded frames (which makes it more of a pity that Rigol didn't implement being able to save and load them back into memory) is the fact that you can do ANY processing on them that you can do to real-time waveforms: i.e. measurements, statistics, bus decode, etc.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 12, 2013, 07:50:21 pm
DS2072 FW1.00.02    RUU 1.5
A small quirk,
 With RUU , after recording frames, then playing them back in Repeat Mode, the repeat mode check box is allowed to be unchecked but the DS2072 will not allow it to be changed, So the RUU shows no "Repeat" mode but the DSO is running in 'Repeat mode'.
If the RUU  play is "Paused" then the check box is updated to show still in Repeat Mode,

I guess there is a couple of ways to address this:
           1: don't allow  "Repeat" Box to be unchecked, if playing
           2: stop the Play and unchecked the "Repeat" box and set the DSO to no 'Repeat'
           3: state "That is the way it is" :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 12, 2013, 08:30:11 pm
With RUU , after recording frames, then playing them back in Repeat Mode, the repeat mode check box is allowed to be unchecked but the DS2072 will not allow it to be changed, So the RUU shows no "Repeat" mode but the DSO is running in 'Repeat mode'.
If the RUU  play is "Paused" then the check box is updated to show still in Repeat Mode,

Thanks, Teneyes. I'll make sure to disable the check box when the DSO is playing in the next version. Keep in mind though, the software buttons and check boxes in RUU can't normally control the DSO in any way that you can't do from the front panel of the Rigol (unfortunately).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 12, 2013, 09:04:26 pm
I'll make sure to disable the check box when the DSO is playing in the next version.
Sounds good , forcing the RUU user to "Stop" first, for both "Play" and "Repeat Play"

Keep in mind though, the software buttons and check boxes in RUU can't normally control the DSO in any way that you can't do from the front panel of the Rigol (unfortunately).
But I do like using RUU for jumping the DS2072  play 'Interval' from 200ns to 2 seconds without having to turn the selection knob many turns ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 12, 2013, 09:18:42 pm
But I do like using RUU for jumping the DS2072  play 'Interval' from 200ns to 2 seconds without having to turn the selection knob many turns ;)

Yes, much handier. And now you can also use the Up/Down Arrows on the PC keyboard to move the Playback (when stopped or paused) forward or backward frames - which is a bit handier than on the Rigol  :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 13, 2013, 07:02:14 am
Looking through the brochure for the new GW-Instek scope, I noticed this feature for the zoom window. Not be to confused with the Play/Pause of recorded frames or segments - it's more like an auto-scroll for the zoom window through the full sampled waveform. I remembered that the Hantek DSO5000 series has this as well, and I thought it was handy sometimes when looking for anomalies. I'll add this feature to the next version of RUU.

(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=36683;image)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 14, 2013, 06:38:12 am
@ marmad

RUU 1.5.1 works ok with decimal comma (,).
Thanks!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 15, 2013, 04:02:59 am
@Marmad
1st Pic is Saved Wfm that was use before  file was changed

Looks like 00 are used for below screen data 
next i'll try 80 and longer block
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 15, 2013, 04:34:34 am
@marmad
  Uses 80 byte , for long section  10000 Hex bytes

Looks like lots of resolution in this format

I think I can fudge a display to show  rise time = 1Ghz  :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 15, 2013, 09:27:12 am
I got smart and went to 5ns so Pts are less than 700

changed block and got 1st display  saw tooth

in 2nd display reduced bit pattern to 12 bits and tried 800800800
still sawtooth, but counted teeth, which indicated 1 byte per tooth

thinking
then discover data is it interleaved in two data blocks
filled most of both block and got flat line see 3rd display
most of data is filled with hex 60 with one byte at hex 80
kind of show that the waveform data read and is displayed with SinX extrapolation ,does it not

Last display is data filled with hex 60 with one byte at hex 65
also searching for end of data area with hex  80

Note bottom of display is about Hex12

Not sure if this helps, but was fun

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 15, 2013, 10:21:26 am
Next, I guess is to see if data area changes if I change the vertical position ,or is the data the same and the offset set elsewhere???
 I'll compare 2 files, byte by byte

So I loaded wfm file , then saved it again
changed offset then saved again
19 bytes changed. in 5 groups
the Data did not change, kind implies there is and Offset parm in the 5 groups
back to testing
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 15, 2013, 03:51:14 pm
So I loaded wfm file , then saved it again
changed offset then saved again
19 bytes changed. in 5 groups
the Data did not change, kind implies there is and Offset parm in the 5 groups
back to testing

Interesting, but as I mentioned in PM, I'm not sure that sample memory data is in the same format as display memory data - I don't think it is - but that would have to be determined.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 15, 2013, 04:05:59 pm
BTW  I looked at CSV files and most are 1400 values if saving displayed
but if DSO is set to Maximum then only the pts are save to the CSV .
  for Max. Saving:
   at  5ns  -> 140 values
  at  10ns -> 280 values
  at   20ns-> 560 values
.....
these values are extrapolated into the displayed CSV file of 1400 line.rows
.
.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 15, 2013, 04:17:37 pm
Exploring  Trace files and patching with blanks to see locations first , with NO file read errors
see 2 breaks in trace below
looking like trc files  are bit maps coordinates
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 15, 2013, 04:27:59 pm
Exploring  Trace files and patching with blanks to see locations first , with NO file read errors
see 2 breaks in trace below
looking like trc files  are bit maps coordinates

Size of file? Number of bytes per channel?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 15, 2013, 07:11:26 pm
BTW  I looked at CSV files and most are 1400 values if saving displayed
but if DSO is set to Maximum then only to pts are save to the CSV .
  for Max. Saving:
   at  5ns  -> 140 values
  at  10ns -> 280 values
  at   20ns-> 560 values
.....
these values are extrapolated into the displayed CSV file of 1400 line.rows
.
.
UPDATE
  for Max. Saving:
   at  5nS  -> 140 values
  at  10nS -> 280 values
  at   20nS-> 560 values

  at     1uS->    28,000 values
  at   50uS-> 1,400,000 values  My Excel could NOT load this file.
See end of Big file in Pix
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 15, 2013, 08:15:57 pm
Exploring  Trace files

Size of file? Number of bytes per channel?

All Trace files are  546.9KB for all timebase settings

looking more like pixels,
1stDisplay shows my patch write of of large block with Hex '11'
2nd display shows  11 then 22 then 33 44
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 15, 2013, 08:26:01 pm
looking more like pixels, Display shows my patch write of of large block with Hex '11'

Ok, thanks! It's looking more and more like the file types which the Rigol saves are perhaps not equivalent to the display memory data it sends over USB/LAN. I'll have to experiment more with that later.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 15, 2013, 09:14:59 pm
the file types which the Rigol saves are perhaps not equivalent to the display memory data it sends over USB/LAN.
@Marmad,   
 Looking at the wfm data , which is scales, starts and intervals in time and voltage ,
then at the end is the 8 bit data for each point

I am thinking that maybe the format USB gets,
 is a bunch of parmeters and then all the 8bit for the memory Pts. 
The wfm files has a big Block before the data block 140 pnts of data (5nS.div)
Is there any way I can get the USB Data,  , does rigread save any data ?
If Rigread is reading the data, I'll try to sniff it out.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 16, 2013, 07:42:08 am
I'll try to sniff it out.

@marmad
I sniffed the USB data, when your Rigol Read Memory program was reading140 points , from DSO set at 5nS/div and just single shot , zero line displayed

Is this the data what you wish to know the format of??
I think there are 3 messages and I show by colours

02 14 eb 00 04 00 00 00 01 00 00 00 31 34 30 0a
02 1b e4 00 09 00 00 00 01 00 00 00 49 44 4c 45
2c 31 34 30 0a 7f  02 1d e2 00 98 00 00 00 01 00
00 00 23 39 30 30 30 30 30 30 31 34 30 7f 81 80
80 7f 80 80 80 7f 80 80 7f 7f 80 80 7f 7f 80 7f
7f 7f 80 80 7f 7f 80 80 80 7f 80 80 7f 7f 80 7f
7f 7f 80 7f 7f 80 81 80 80 7f 80 7f 80 7f 80 7f
7f 7f 80 80 80 7f 80 80 80 7f 80 80 80 7f 80 80
80 80 81 80 80 7e 80 7f 7f 7f 80 80 7f 7e 80 7f
7f 7f 80 7f 7f 7f 80 80 80 7f 80 7f 7f 7f 80 7f
7f 7f 81 80 7f 7f 80 80 7f 7f 80 7f 7f 7f 80 80
7f 7f 80 7f 7f 7f 80 7f 7f 7f 80 80 7f 7f 80 7f
7f 7f 80 7f 7f 7f 80 7f 7f 0a


I then shifted the vertical position up 2 divisions and read this

02 22 dd 00 04 00 00 00 01 00 00 00 31 34 30 0a
02 29 d6 00 09 00 00 00 01 00 00 00 49 44 4c 45
2c 31 34 30 0a 34  02 2b d4 00 98 00 00 00 01 00
00 00 23 39 30 30 30 30 30 30 31 34 30 af b0 b0
b0 af af af b0 ae af af b0 ae af af b0 af af af
af af af af b0 af af af af ae af ae af af af af
b0 af af af b0 af af af af af af af af ae af af
af ae af af b0 ae af af af af af b0 b0 ae af b0
b0 af af af b0 af af af af ae af af b0 af af af
af ae af b0 b0 af af af b0 af af af af ae af af
b0 af af af b0 af af af b0 ae af af b0 ae af af
b0 af af af b0 af af af b0 af af af af af af af
b0 af af b0 b0 af af af b0 0a


This kinda shows this is 8 bit data of screen at the end of the message.
But as with CSV first bytes are probably parmeters for the data
My guess  offset, scale , time interval......
looks like just before the data is 140 ASCII

Is this the memory data you wanted??
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 16, 2013, 08:19:43 am
Memory read for both channels , with ch1 center and ch2 down 2 div

02 75 8a 00 03 00 00 00 01 00 00 00 37 30 0a 30
02 7c 83 00 08 00 00 00 01 00 00 00 49 44 4c 45
2c 37 30 0a  02 7e 81 00 52 00 00 00 01 00 00 00
23 39 30 30 30 30 30 30 30 37 30 7f 80 7f 7f 7f
80 7f 7f 7f 80 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f
80 7f 7f 7f 7f 7f 7f 7f 7f 7f 80 7f 80 7e 80 7f
7f 7f 80 7f 7f 7f 80 7f 80 7f 80 7f 7f 7f 80 7f
80 7f 7f 7f 80 7f 7f 7f 80 80 80 7f 80 7f 7f 7f
80 0a 02 04 fb 00 03 00 00 00 01 00 00 00 37 30
0a 30  02 0b f4 00 08 00 00 00 01 00 00 00 49 44
4c 45 2c 37 30 0a  02 0d f2 00 52 00 00 00 01 00
00 00 23 39 30 30 30 30 30 30 30 37 30 4b 4a 4a
49 4a 49 4b 49 4a 4a 4b 4a 4a 4a 4b 49 4b 4a 4b
4a 4b 4a 4b 4a 4b 4a 4b 49 4a 49 4b 4a 4b 4a 4b
4a 4a 49 4a 4a 4b 4a 4b 4a 4b 4a 4b 4a 4b 49 4b
49 4b 4a 4b 4a 4b 4a 4a 4a 4b 49 4b 49 4b 4a 4b
49 4a 4a 0a

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 16, 2013, 04:27:06 pm
I am thinking that maybe the format USB gets,
 is a bunch of parmeters and then all the 8bit for the memory Pts. 

No, only an 11 byte header at the beginning of the block - and a single byte for the end of block: 1412 bytes in total. From the Rigol Programming Guide:

"The data returned contains 2 parts: the TMC data description header and the waveform data: #900000ddddXXXX... Wherein, dddd denotes the number of the effective waveform points in the data stream.
When reading the internal memory data, the waveform data returned each time might be the data block in one area of the buffer. Each data block has a TMC description header similar to #9XXXXXXXXX, wherein XXXXXXXXX denotes the number of the waveform points in this data block. Waveform data in two adjacent data blocks are consecutive. The waveform data read can be converted to the voltage of each point of the waveform on the screen according to the method below.
The figure below shows the waveform data read. First, select "View as hexadecimal only" from the dropdown list at the right of Buffer; at this point, the waveform data read is displayed in hexadecimal format; the first 11 figures denote the number of bytes that the "Denoter" holds in the internal memory; the figures following are the waveform data on the screen and users can convert the waveform data read to the voltage of each point of the waveform on the screen using the formula (ox63 - vertical reference position in Y direction) × VerticalScale-OFFSet. For the vertical reference position in Y direction, refer to the :WAVeform:YREFerence? command, for the VerticalScale, refer to the :CHANnel<n>:SCALe command and for the OFFSet, refer to the:CHANNel<n>:OFFSet command."

All I was trying to figure out was why 1400 bytes per channel - instead of 700 (as per pixels on screen). Perhaps they representing line segments from point a to point b?

BTW, you can easily test and see the data using Rigol's UltraSigma and sending the following SCPI commands to the scope:
:WAV:SOURce CHAN1
:WAV:MODE NORM
:WAV:DATA?
Use tab to view response to last query, go to 'Advanced mode' and view as hexadecimal.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 16, 2013, 05:57:22 pm
DS2072  1.00.02
Ok, Now on to normal read, chan 1


02 73 8c 00 52 00 00 00 01 00 00 00 23 39 30 30
30 30 30 30 30 37 30 b2 b2 b2 b2 b2 b2 b2 b2 b2
b2 b3 b2 b3 b3 b3 b3 b3 b4 b3 b4 b3 b3 b3 b3 b2
b2 b2 b3 b2 b2 b3 b2 b2 b3 b2 b3 b3 b3 b3 b3 b3
b3 b3 b3 b2 b3 b2 b3 b2 b3 b2 b3 b2 b2 b2 b3 b3
b3 b3 b3 b4 b3 b3 b3 b3 b2 b3 b2 b2 b3 0a


I only get 70 bytes on a normal read??

Chan 2 normal read

02 7d 82 00 52 00 00 00 01 00 00 00 23 39 30 30
30 30 30 30 30 37 30 50 50 50 50 50 50 50 50 50
50 50 50 50 50 50 50 50 4f 50 4f 4f 50 4f 50 50
50 50 50 50 51 50 51 50 50 50 50 50 51 51 50 50
51 50 50 50 50 50 51 51 50 50 50 50 50 4f 50 4f
50 4f 50 4f 50 50 50 50 50 50 50 50 50 0a





Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 16, 2013, 06:11:25 pm
reading ch1 norm
 but DSO  on 10nS , should be 140 data points
I did a Max read and got 140 data points
so  I did a norm read and then got the read only got 140 points

02 1b e4 00 98 00 00 00 01 00 00 00 23 39 30 30
30 30 30 30 31 34 30 b3 b3 b3 b3 b3 b2 b3 b3 b3
b4 b3 b3 b3 b3 b3 b2 b2 b3 b2 b2 b2 b3 b3 b2 b3
b2 b3 b3 b3 b3 b3 b3 b3 b3 b3 b2 b2 b3 b2 b3 b2
b3 b3 b2 b3 b2 b3 b3 b3 b3 b3 b3 b3 b3 b3 b2 b2
b3 b2 b3 b2 b3 b3 b2 b3 b2 b3 b3 b3 b3 b3 b3 b3
b3 b3 b2 b2 b3 b2 b3 b2 b2 b3 b2 b2 b3 b3 b3 b3
b3 b3 b4 b3 b3 b3 b2 b3 b2 b2 b3 b2 b2 b2 b2 b2
b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2 b2
b3 b3 b3 b3 b2 b3 b3 b3 b4 b3 b3 b3 b3 b3 b2 b2
b3 b2 b2 0a
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 17, 2013, 12:07:55 am
Testing Normal read
with DSO set for 200nS and 2800 Pts

here is start portion of a Max read and get 2800 byte data
Note Max read puts DSO out of auto into Stop
Stopping the DSO is reasonable if , need to capture /and transfer a big Data block

02 59 a6 00 f4 01 00 00 00 00 00 00 23 39 30 30
30 30 30 32 38 30 30 42 43 42 42 42 43 43 43 42
43 43 43 43 44 43 44 44 44 44 44 44 44 44 44 44
45 44 45 45 44 45 45 45 45 45 45 45 46 45 46 46
46 46 46 45 46 46 46 46 47 46 47 47 47 47 47 47
47 48 47 47 48 47 48 48 48 48 48 48 48 48 48 48
48 49 48 48 49 49 49 49 4a 49 49 49 49 49 4a 4a
4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4b 4a 4b 4b 4b 4b
4b 4b 4b 4a 4b 4b 4b 4b 4c 4c 4c 4c 4c 4c 4c 4c
4d 4b 4d 4c 4d 4c 4c 4c 4d 4d 4d 4d 4d 4d 4d 4d
4d 4d 4e 4e 4d 4e 4e 4e


Then doing a Normal read , only get 1400 Bytes
But seems to be interpolated from the 2800 pts
 
here is start portion of normal Read and get 1400 byte data

02 60 9f 00 f4 01 00 00 00 00 00 00 23 39 30 30
30 30 30 31 34 30 30 42 43 42 43 42 43 42 43 42
44 43 45 43 44 44 45 44 45 44 45 45 44 45 46 46
46 46 46 46 47 46 47 47 47 47 48 48 48 48 48 48
49 48 49 4a 48 49 49 49 4a 4a 4a 4a 4a 4a 4a 4b
4c 4b 4c 4b 4c 4c 4c 4c 4d 4c 4d 4d 4e 4d 4d 4d
4d 4e 4e 4e 4f 4e 4f 4e 4f 4f 4e 50 4f 50 4f 50
51 50 51 51 51 51 52 51 52 52 51 52 53 51 52 52
53 53 53 53


Note the red data point in the 2800 block is Hex "4C" after 128 bytes
but   the red data point in the 1400 block is Hex "4C" after   64 bytes
2800 bytes seems to be compressed down to 1400 bytes
I wonder if the 1400 pts and the average of Multiple scans or a snapshot??

Norm read would not read any more than 1400,  DSO set to 7000 pts


Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 18, 2013, 02:54:46 am
I wonder if the 1400 pts and the average of Multiple scans or a snapshot??

Norm read would not read any more than 1400,  DSO set to 7000 pts

The Programming Guide states:
NORMal : return the number of waveform points currently displayed (1 - 1400)
MAXimum : return the maximum number of effective data points under the current state. Return the number of data points displayed on the screen when the instrument is in run state and the number of data points in the internal memory in stop state.
RAW : It is only available when the instrument is in stop state. You can use the :WAVeform:POINts command to set the desired number of data points in the internal memory.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: zlabsoft on January 23, 2013, 02:46:53 pm
I just got my DS2102, which hardware version is 1.0 software version 0.0.0.1, then I download the firmware version 1.0.0.5 from the board and then try the boot installation as told.  I press the power button and then "help", it light up with only the "SINGLE" button.  I insert the USB drive which contain the update file "DS2000Update.GEL" in the root directory. The "ch1" flash for a while then a lot of buttons light up and stay that way ... seen last forever as captured screen.  I re-power up the scope after half an hour and try the utility update method to update the firmware, it seen work and the it reboot itself, O.. all option is gone!  I don't want them anyway. It read the USB drive again and detect the "same version 1.0.0.5", it seen work but actually it doesn't, the system Info still report 0.0.0.1 and of course the X-Y bug does not fix. Does anyone kind enough to give me a hand?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 23, 2013, 03:15:14 pm
The "ch1" flash for a while then a lot of buttons light up and stay that way ... seen last forever as captured screen.
You had already updated your firmware after this. If you had just re-booted here - you would still have your options

...and try the utility update method to update the firmware
This is when you lost your options.

Read the bottom of this post (https://www.eevblog.com/forum/reviews/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/msg158659/#msg158659) to find out how to see your real firmware version.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: zlabsoft on January 23, 2013, 03:25:39 pm
Thanks, I try the boot installation again several time, with the special method and show software version 1.0.0.5 finally.  The utility, system, system info still show 0.0.0.1.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 23, 2013, 03:55:37 pm
I start the scope as usual, the utiliity, system, info still show the software version 0.0.0.1, X-Y bug still here. Do I have to upgrade to 1.0.0.2 then 1.0.0.5? please give me a link to 1.0.0.2.
1) You're not reading the post which I linked to. There is no FW 0.0.0.1 - you're not seeing your full FW number. Go back to this post (https://www.eevblog.com/forum/reviews/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/msg158659/#msg158659 (https://www.eevblog.com/forum/reviews/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/msg158659/#msg158659)), scroll to the bottom, and read the section titled:

To get detailed version info about the DSO, follow these instructions:

2) X-Y bug is present in EVERY firmware - including FW 01.00.02 and 01.00.05.

3) In the future, please post hardware/firmware problems, etc. in this thread:
https://www.eevblog.com/forum/reviews/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso (https://www.eevblog.com/forum/reviews/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso)

This thread was started for user-software and tips for the Rigol UltraVision DSOs. Thanks!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: zlabsoft on January 23, 2013, 04:27:41 pm
Got it, thanks anyway, I just though that the update is as easy as show in video "EEVblog #369 - Rigol DS2000 Oscilloscope Playing Around"
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 27, 2013, 03:02:50 pm
A small program (requested) you can use which runs in background and checks every XX seconds for BUS options. If it finds them, it beeps PC and displays message box with date and time.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on January 27, 2013, 03:29:35 pm
A small program (requested) you can use which runs in background and checks every XX seconds for BUS options.
  Thanks MArmad, works just right
  And remember to have Visa DLLs with RTO
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on January 27, 2013, 05:13:20 pm
A small program (requested) you can use which runs in background and checks every XX seconds for BUS options. If it finds them, it beeps PC and displays message box with date and time.

No problems here either!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Salas on February 11, 2013, 03:51:04 pm
Thanks to Marmad for RUU from here too. Works and grabs .png screens alright. Here is one I saved with signal from the Instek Arb gen.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 20, 2013, 07:51:27 pm
Uploaded a huge major new version of the RUU software (2.0). There is so much changed - and so many new features - that there is too much to describe in detail. But here are some notes (and images) to start with (and I'll respond to any questions as/if needed).

RUU auto-scrolling in Zoom mode - using 10 division full ADC graphing plus 1s persistence:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39778)


#1: RUU is now a standalone program - running without the DSO connected. That means you MUST press the 'Connect' button if you want to communicate with the DSO (you can also press it again to disconnect). The reason for this is because RUU can now load previously saved Frame Arrays (there are two sample .fra files in the Data [now the default directory instead of 'Images'] directory to play with). These files can be played back in RUU just like playing back recorded frames on the Rigol - but with added features that the Rigol doesn't have - such as plotting the frames as either 3D, 2D, or intensity bitmap images. There are many many settings for the Frame Arrays - with a non-modal window devoted to them. Play around with these and ask questions as needed.

Frame array settings window:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39803)

One setting which requires a bit more explanation is the 'Z Scale: Frame #' vs. 'Frame Time' choice. As mentioned in this post here (https://www.eevblog.com/forum/testgear/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/msg193885/#msg193885), the Rigol doesn't allow you to easily recognize the time difference between frames when playing them back on the DSO. When you select 'Frame #', all plotting and playing back is done based solely on the frame number (i.e. equidistant divisions between frames). But selecting 'Frame Time' means that the division will be based on the real time difference (from the time tag) between adjacent frames. This setting affects both, plotting, playing back, and even the delay times per frame when creating animated GiFs of the frame array. You can play around with the sample 'glitch.fra' file included to see the effect.

2D plot of glitch using 'Frame #' (equidistant) setting:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39796)

2D plot of glitch using 'Frame Time' setting:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39798)

Normally, the '@ XX ms' box in RUU sets the playback speed for frame arrays - the fastest possible setting is 15ms - or about 65 FPS. When you use the 'Z Scale: Frame Time' setting in the Frame Array Settings window, the '@' symbol will change to 'Zx', and RUU will play all frames scaled from the 'XX ms' setting as the minimum. So if you have it set to 15ms - and a 40us frame is the fastest frame time in your frame array, then it will play at 15ms - but a 100us frame will play at 37.5ms (2.5 x 15ms).

Keep in mind - since you can now be playing back frames or saving files from either the DSO or RUU itself - you MUST choose which you are targeting with the 'DSO / FrA' radio buttons - you'll notice that the title of the Play and Save groupboxes will reflect which is currently active. For example, if you just made a plot which is gorgeous and you want to save it - make sure 'FrA' is selected before choosing 'Display' -> 'Bitmap' -> and 'Save'.

2D and 3D plots are rather self-explanatory, with the following note: when doing 3D plots I do NOT extrapolate data - if it exists, I plot it - otherwise it's empty space. For best results, use at least 350 frames for 3D plots - even more if you want more detail. Also, to create the 3D plot at the normal 1x scale, the 700x400 waveform bitmap is mapped to a 350x200 cube. This can result in a loss of data because of scaling (see images) - so the best 3D plots will be achieved when you use a larger display scale (as mentioned below) then let RUU auto-scale to 800p afterwards if you want to save the resulting bitmap.

Square wave with missing portions because of waveform scaling:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39786)

Square wave re-plotted at higher-res, than scaled down after:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39788)

Note: the 'Start Frame' and 'End Frame' boxes in the Play groupbox set the span of frames which will be plotted (when FrA is checked).

For intensity bitmaps, a map is created just one time for a given frame array (unless you change the window scale or number of vertical divisions as mentioned below) - with a count of pixel crossings for every point at the current display scale. Once the map is created, subsequent changes to color, transparency, etc, are almost instantaneous - in fact, if you use the Z offset sliders, you can alter the map color/transparency real-time without needing to re-click 'Plot'.

3D plot of sweep:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39780)

2D plot of the same sweep:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39782)

Intensity bitmap of the same sweep:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39784)

You load .fra files from the Frame Array window - and you can also load the CLUTs (Color Lookup Tables - Photoshop standard .act file) there - select .ACT from the file type pull-down menu - which can be used for generating the plots. The default CLUT is named 'color_lookup_table.act' and MUST reside in the Data directory - it's loaded by RUU at startup. It's a false color table with white as both 00 and FFh - to denote clipping of the ADC (see image). There is also another sample CLUT to play around with (black body) - and others can be easily created in Photoshop.

Plotted noise using default CLUT. Note the white dots at the top and bottom where the waveform has clipped the limits:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39790)

You'll notice the animated GIF check-box is missing if you used earlier versions of RUU - in it's place is now a check-box called 'Compile' - which indicates saving just one 'compiled' file for a group of frames - as opposed to individual ones.

Currently there are 3 types of 'Compile' saves:

Compiled CSVs = a single CSV file with individual tables for each frame (with frame and time tag entries).
Compiled Bitmaps = an animated GIF of either Rigol screen grabs of frames (DSO checked), or RUU FrA playback (FrA checked).
Compiled FrA =  a compilation file of all the raw display and voltage data from a group of frames. These files are my own creation - and are 2816 bytes per frame + 48 bytes overhead. The speed at which the data for these can be extracted from the Rigol is pretty fast - about 1400 FPM for single channel / 1100 FPM for dual channel - this is currently the fastest method for getting frame data out of the DSO. In later versions of RUU, it will be possible to convert these files to/from CSV and WFM files - and also to edit, stack, and re-save them.

Whenever you save a compiled FrA file, RUU automatically generates a plot of it after saving (using the current plot settings).


#2: The display in RUU has been completely changed; I finally had a chance to sit down and write some real-time display code for the scope. As of now, the only thing I'm updating regularly are the waveforms (and the zoom window and markers in Delayed Sweep), but the next version will add ALL the other screen data (trigger levels, numbers, arrows, etc. that are normally displayed on the Rigol screen). Keep in mind, the speed at which I can update the waveform is wholly dependent on the Rigol - which will NEVER slow itself down or interrupt what it's doing to send data to the PC (I guess Rigol learned their lesson after the DS1000 - which I was able to glitch spectacularly by asking for data too quickly). On my PC, using a USB connection, I'm able to get about 25 FPS with a single channel - about 17 FPS with two channels enabled. Your mileage may vary - check the built-in FPS counter.

Also with the display:

- You can set the color of channel 1 and channel 2 waveform data from the Frame Array Window - just click the color bars and choose a new color.

- There is a persistence slider built into RUU. It works on both the real-time display from the Rigol or playback of FrA files.

- You can click 'Full ADC' and get 10 vertical divisions with almost the entire data set from the ADC (03h - FCh = 250 points scaled, instead of 200) mapped to the display - for real-time display from the Rigol - or playback and plots of FrA data (which saves the data set unlimited).

- You can set the screen to 1x, 1.5x, or 2x scale - so 800x600 (700 w/full ADC), 1200x874 (1024 w/full ADC), or 1600x1114 (1314 w/full ADC). This is especially handy for plotting 3D files as mentioned above. Plotting to higher resolutions and saving to 800p (as mentioned below) will give you the best results.

Screen scale set to 1.5x normal for a 3D plot (this image has been scaled down):
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39792)

- When running at higher scales than 1x, ALL bitmap saves - either from the Rigol or RUU itself - will be saved at the current screen size - unless you have '@ 800p' checked - which will constrain bitmap saves to 800 pixels wide. So if this is unchecked, screen grabs from the Rigol will be scaled up.

- There is a 'Fill Disp' check-box which makes it easy to snap the RUU window to any monitor. If you drag RUU onto a connected 800 x 600 LCD and click the box, it will fill the full screen without borders - giving a pseudo-SVGA output.

Example of running RUU on a SVGA monitor at 800x600:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39794)

- Use 'CLR DISP' to clear plots, bitmaps, etc. back to currently selected DSO or FrA display.


#3: The Zoom Markers Mode has had a major overhaul:

It no longer needs to get a bitmap image from the Rigol for display - and so is much faster entering and exiting.

The Tracking feature is greatly improved - no need to look at the PC screen when using it - just turn the multi-function knob to adjust the cursor and you will see the Rigol's display grid disappear when a marker is ready to be dropped. Then just either keep moving the cursor to the desired position or - if in position - just move the Zoom Window and a marker will be left at the spot you last left the cursor - and the grid will reappear. Rinse and repeat, then just turn off Tracking when done dropping markers. You can use either the Tracking OR Auto-Scroll (mentioned below) - but not both simultaneously.

Clicking the 'Left' markers label, 'Total', or 'Right' are shortcuts which will send the Zoom window respectively to the left, center, and right of the screen.

An Auto-Scroll feature has been added allowing you to start the zoom window scrolling left or right at an adjustable rate, dropping markers as it moves (if desired). Turn on the feature and then use the Left / Right Arrow buttons (or keyboard keys) to stop and start the scroll (and the trackbar to adjust Horizontal window movement). If you want super-smooth scrolling on your Rigol's display (and don't care about updates on the RUU screen), just click 'No Update' and RUU won't refresh itself while scrolling the Zoom window. Smoothest scrolling happens with a stopped DSO - if the Rigol is triggering while in Delayed Sweep, any adjustments will cause it to 'blink' as it refreshes the display. Markers can be dropped using the 'D' (changed from last version's 'S' = Set) or 'Insert' keys on the keyboard (make sure the display has focus) while the Zoom Window scrolls - regardless of whether you have 'No Update' checked or not.


Ok, that's all for now - there's much more I could write - but not enough time. As I mentioned, if there seems to be a desire for more doc, I'll see what I can do. Enjoy :) AND PLEASE GIVE FEEDBACK  ;D
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: scummos on February 20, 2013, 08:31:46 pm
Hey,

this looks very cool, so many pretty colors -- I love colors! ;)

I think I already asked this once but I forgot -- any chance of getting it on non-windows platforms? What language / framework is it written in? Do you have the source code for download somewhere?

Cheers,
Sven
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 20, 2013, 08:50:28 pm
I think I already asked this once but I forgot -- any chance of getting it on non-windows platforms? What language / framework is it written in? Do you have the source code for download somewhere?

You did ask before and the answers remain the same - no, .NET, and no. I may release the source at some point, but it would be at a later date. As of now, I've put in many many hours of work into this - and some portions of the code may be used in some commercial work.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dougg on February 20, 2013, 08:58:00 pm
I think I already asked this once but I forgot -- any chance of getting it on non-windows platforms? What language / framework is it written in? Do you have the source code for download somewhere?

Its VB dot_net! Maybe even MS won't support it soon.

There is mono but I suspect that RUU is several bridges too far for it. I tried another approach: virtual box on Ubuntu 12.10 running VMs for XP and W8. RUU 1.51 failed on both: NI-VISA couldn't find my DS2202. The Rigol USB device was fed through VBox but it obviously wasn't enough. RUU 1.51 did work on W7 native but not particularly well, my DS2202 became unresponsive and remained that way for a while, even after the USB cable was removed. Perhaps I was doing something wrong. Hopefully RUU 2.0 goes better.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 20, 2013, 09:14:39 pm
RUU 1.51 did work on W7 native but not particularly well, my DS2202 became unresponsive and remained that way for a while, even after the USB cable was removed.

Ha, ha...  so my software was able to influence your Rigol - even when unplugged? Wow, it's even more powerful than I imagined. ;D  It sounds like you're having VISA/connection problems that are unrelated to my software. Have you tested other SCPI-based software on it?

But honestly, you downloaded and tried the FREE software offered here - had problems but didn't bother posting any bug reports or details when it happened - but now come back and whine about it in retrospect - so please DON'T bother downloading and trying my software.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: scummos on February 20, 2013, 09:31:56 pm
There is mono but I suspect that RUU is several bridges too far for it. I tried another approach: virtual box on Ubuntu 12.10 running VMs for XP and W8. RUU 1.51 failed on both: NI-VISA couldn't find my DS2202. The Rigol USB device was fed through VBox but it obviously wasn't enough.
Nah, it's gonna be a lot of trouble to get that work to a satisfying extent. Looks like we'll have to leave this to the windows people then. ;)
Running peripherials through virtualbox or emulators never worked well, and I doubt it will in near future.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dougg on February 20, 2013, 09:52:22 pm
RUU 1.51 did work on W7 native but not particularly well, my DS2202 became unresponsive and remained that way for a while, even after the USB cable was removed.

Ha, ha...  so my software was able to influence your Rigol - even when unplugged? Wow, it's even more powerful than I imagined. ;D  It sounds like you're having VISA/connection problems that are unrelated to my software. Have you tested other SCPI-based software on it?

But honestly, you downloaded and tried the FREE software offered here - had problems but didn't bother posting any bug reports or details when it happened - but now come back and whine about it in retrospect - so please DON'T bother downloading and trying my software.

I saw several strange things including the Rigol USB connection presenting as a FTDI serial device. Hard to imagine that the length or quality of my USB cables caused that. NI-VISA doesn't mention W8 support. Does anyone have RUU working on W8? And are there XP users of RUU? And no I haven't tested other SCPI-based software on it.

So what is the difference between a bug report and a whine? I did my testing yesterday and it was reasonably obvious from the threads on this subject that you were busy working on a new release. Sounds like you have been working too hard on that release  :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 20, 2013, 10:11:30 pm
I saw several strange things including the Rigol USB connection presenting as a FTDI serial device. Hard to imagine that the length or quality of my USB cables caused that. NI-VISA doesn't mention W8 support. Does anyone have RUU working on W8? And are there XP users of RUU? And no I haven't tested other SCPI-based software on it.

I haven't heard anyone mentioning running it on W8 or XP - and I don't have either installed on any of my machines here - my last XP machine gave up the ghost a few weeks back. But I'm not doing anything particularly 'iffy' with the software - so I would think if you could get NI-VISA running with Rigol's own UltraSigma software (which gives you basic SCPI command control of the scope), than RUU would work as well.

Quote
So what is the difference between a bug report and a whine? I did my testing yesterday and it was reasonably obvious from the threads on this subject that you were busy working on a new release. Sounds like you have been working too hard on that release  :)

Yes - that is certainly true - way too hard  :P Sorry if I jumped the gun - I thought it sounded like you had tested it quite some time ago and hadn't mentioned anything here. As you can imagine, it's hard to develop with no feedback - and not many people leave any.

But I'm afraid I haven't made many changes to the communication routines in the software (since NI-VISA handles much of it) - so I'm not sure if 2.0 will work any better in that respect. But 2.0 is a standalone program now - and since it comes with a couple of example frame array files which can be played and plotted - anyone can try running it without NI-VISA installed or even a Rigol UltraVision scope. So I would be curious to find out what platforms it works on in that regard - and would be happy to try to support as many as possible.

Edit: And now this reminds me that I forgot (I think) to make sure the software should ignore the missing NI-VISA driver gracefully. Damn... 2.01 shortly I think.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Salas on February 21, 2013, 09:18:57 am
Hi, fantastic screen looks and functions in the 2.0. Congrats! Running on an XP computer the program crashes when trying to save arrays some times but surely when they are many. Also in the plot window when I check a preference with a dot in the various circles it stays there and can't get cleared if I try.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Salas on February 21, 2013, 09:22:23 am
P.S. Here is the message.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 09:28:54 am
Hi, fantastic screen looks and functions in the 2.0. Congrats! Running on an XP computer the program crashes when trying to save arrays some times but surely when they are many. Also in the plot window when I check a preference with a dot in the various circles it stays there and can't get cleared if I try.

Thanks for the bug report, Salas - I will look into the crash problem - but the second problem you mention is unclear to me. The plot window has mostly radio buttons - meaning one of the group MUST be checked - so you can't clear a radio button by checking it  - you clear it by checking a different choice in the group. Is that what you mean?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 21, 2013, 09:32:50 am
DS2072 FW1.00.02 

Thanks Marmad  , just started using RUU 2.0  on Windows XP, and just to report all versions so far have work. on Win XP pro. 
Things to check are that NU Visa is install
Also that the DLL files are in Directory with RUU.exe



A Few things:

1.   I guess RUU gets data between DSO trace is ended.
on Slow scan rate , about 200ms/div that takes 2.8 seconds per trace;
Do you think there is any benefit for the RUU program to simulate the slow tracing of data on the PC display?

2  When I shutdown DSO before RUU is closed the error message loops and it is hard to Close RUU
   I suggest maybe after OK, click  just Close RUU.

3.  small thing  top line "Save FrA"  tittle is a bit low in the display and bottom of characters are clipped
for both (1280x1024) and  (800x600) display resolutions settings

Thanks Again Marmad
I'll PM you, to contribute $$$ to support the RUU development FUND. :-+

I'll continue to test on FW1.00.02
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 10:42:55 am
Thanks for the feedback, Teneyes!

1.   I guess RUU gets data between DSO trace is ended.
on Slow scan rate , about 200ms/div that takes 2.8 seconds per trace;
Do you think there is any benefit for the RUU program to simulate the slow tracing of data on the PC display?

Not sure what you mean - do you mean simulate the 'beam tracing' which Rigol simulates? If that's what you mean, then I don't think it's worth the coding time at present. Perhaps in a later version.

Quote
2  When I shutdown DSO before RUU is closed the error message loops and it is hard to Close RUU
   I suggest maybe after OK, click  just Close RUU.

Yes, thanks, I forgot to handle this gracefully - I will fix this in a update.

Quote
3.  small thing  top line "Save FrA"  tittle is a bit low in the display and bottom of characters are clipped
for both (1280x1024) and  (800x600) display resolutions settings

Ok, I'll adjust this.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 11:48:51 am
Running on an XP computer the program crashes when trying to save arrays some times but surely when they are many.

@Salas: Any idea how many frames you were trying to save? Can you get this error to repeat with a specific number for my debugging? Thanks.

Also, I realize I have to lock out more controls from the user when saving - since manipulating certain buttons during a save could cause a crash.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Salas on February 21, 2013, 01:40:32 pm
Mostly gives me a non handled exception after I save when I press FrArray. Does it when 100 or 300 but not for 10 frames in a quick check. But does it on 10 if both channels are checked. When I save over an existing filename I need to minimize the  program and maximize again for the are you sure message to appear. About the radio buttons there are the none buttons I did not notice bcs I looked around the program fast. Real time display addition is great btw. Measurements display is the most I miss. Great job overall. Is there a way it can capture and save a plotted screen that I did not see? My Visa drivers are refreshed by the Rigol command program that came with the scope. No crashes or glitches with the previous version or halting the scope.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
   at Rigol_UtraVision_Utilities.FrAPlot.putFraData()
   at Rigol_UtraVision_Utilities.FrAPlot.FrAPlot_OnLoad(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3643 (GDR.050727-3600)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
RUU
    Assembly Version: 0.1.4798.42547
    Win32 Version: 0.1.4798.42547
    CodeBase: file://MyBookLive/Public/NikosFolder/Back_ups/Bck_Boot_(C)/Rigol%20DS2000/RUU_2_0/RUU.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3645 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
NationalInstruments.VisaNS
    Assembly Version: 8.9.20.108
    Win32 Version: 8.9.20.108
    CodeBase: file://MyBookLive/Public/NikosFolder/Back_ups/Bck_Boot_(C)/Rigol%20DS2000/RUU_2_0/NationalInstruments.VisaNS.DLL
----------------------------------------
NationalInstruments.Common
    Assembly Version: 8.7.20.131
    Win32 Version: 8.7.20.131
    CodeBase: file://MyBookLive/Public/NikosFolder/Back_ups/Bck_Boot_(C)/Rigol%20DS2000/RUU_2_0/NationalInstruments.Common.DLL
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Gif.Components
    Assembly Version: 0.0.0.1
    Win32 Version: 0.0.0.1
    CodeBase: file://MyBookLive/Public/NikosFolder/Back_ups/Bck_Boot_(C)/Rigol%20DS2000/RUU_2_0/Gif.Components.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 01:57:35 pm
Does it when 100 or 300 but not for 10 frames in a quick check. But does it on 10 if both channels are checked.

I need a little more clarification - is this when you are trying to capture and save a frame array from the Rigol (Rigol -> RUU -> disk) - or is this when you are trying to save a frame array as an animated GIF (RUU -> disk)?

Quote
When I save over an existing filename I need to minimize the  program and maximize again for the are you sure message to appear.

Check, added to the bug-list.

Quote
Measurements display is the most I miss.

Next version  ;)

Quote
Great job overall.

Thanks! :)

Quote
Is there a way it can capture and save a plotted screen that I did not see?

Yes, when 'Fra' is checked in Play groupbox, a 'Display' -> 'Bitmap' - > 'Save' will save the current RUU screen. So any plot or frame displayed will be saved.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Salas on February 21, 2013, 02:26:45 pm


I need a little more clarification - is this when you are trying to capture and save a frame array from the Rigol (Rigol -> RUU -> disk) - or is this when you are trying to save a frame array as an animated GIF (RUU -> disk)?

[/quote]

Frames are recorded from the DSO and saved as .fra then I go press FrArray to invoke the plot screen. That's when I get the exception. "Continue" works but it tends to get unstable after that pop up some times.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 02:30:00 pm
Frames are recorded from the DSO and saved as .fra then I go press FrArray to invoke the plot screen. That's when I get the exception. "Continue" works but it tends to get unstable after that pop up some times.

Before you press 'FrArray', do you get the automatic plot that should be generated after the save?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Salas on February 21, 2013, 02:56:20 pm
No.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 03:00:21 pm
No.

Hmm... I'm wondering if it might be a memory problem - frame arrays are held in memory when created. I can't recreate the error here at all - no matter how many frames I capture from the Rigol. How much memory do you have on your PC?

Edit: Can you please post one of your frame array files that is created right before a crash? That would be very helpful for debugging.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: zibadun on February 21, 2013, 04:02:04 pm
marmad,
Is RUU supposed to be able to connect via TCP/IP?   I'm getting No VISA found message and then it prompts to enter the name.  I've tried entering the IP address of the scope but it didn't like it.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on February 21, 2013, 04:07:22 pm
Thanks marmad!

I had time only for a short test. When saving display to old file name, the program tilts. It only beeps and it is impossible to close the file window or the program, but using task manager.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 04:33:21 pm
Is RUU supposed to be able to connect via TCP/IP?   I'm getting No VISA found message and then it prompts to enter the name.  I've tried entering the IP address of the scope but it didn't like it.

@zibadun: This is a bug caused by the TCPIP connection adding an extra CR onto the end of display data received from the DSO. I've already fixed it, but you'll have to wait for the next update to use TCPIP - it won't be too long, but I have a few other bugs to tackle before posting.

EDIT: Just as a note to those thinking of using TCPIP:
Display frames per second received from the scope (optimum case):
Normal Mode:
Single Channel: USB = ~25FPS / TCPIP = ~13FPS
Dual Channel: USB = ~17FPS / TCPIP = ~7FPS
Delayed Sweep Mode:
Single Channel: USB = ~14FPS / TCPIP = ~7FPS
Dual Channel: USB = ~11FPS / TCPIP = ~5FPS
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 04:44:19 pm
I had time only for a short test. When saving display to old file name, the program tilts. It only beeps and it is impossible to close the file window or the program, but using task manager.

@EV: This is a bug already pointed out by Salas in a previous post. The confirm dialog box ("Are you sure?") is hidden behind the refreshing of RUU's display. It's already been fixed in the next bug update (coming soon), but in the meantime, if you just hit enter (or minimize/maximize RUU window) you should be able to get past the problem for now.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 04:56:18 pm
@dougg: The next bug-fix release eliminates all references to NI-VISA if the scope is unconnected - so no need to have the VISA .dlls at all. That means that anyone who can run a standard Windows program should be able to run RUU and play / plot the example frame arrays - and load frame arrays created and posted by others.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Salas on February 21, 2013, 06:42:19 pm
No.

Hmm... I'm wondering if it might be a memory problem - frame arrays are held in memory when created. I can't recreate the error here at all - no matter how many frames I capture from the Rigol. How much memory do you have on your PC?

Edit: Can you please post one of your frame array files that is created right before a crash? That would be very helpful for debugging.

I waited something like 50secs this time to see if something happens and then the blank screen started plotting. The DSO counts play frames at that time. Is it 508frames/11fps related maybe? If I wait that long to press FrArray I don't get the message. Its a PentiumD 3.4GHZ Dell Optiplex with 20195172(K) memory and 1367968 available at that time. CPU% never went more than 21% as the system was running at the time. EEVblog does not allow my .fra file type to upload 4U.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 06:56:24 pm
I waited something like 50secs this time to see if something happens and then the blank screen started plotting. The DSO counts play frames at that time. Is it 508frames/11fps related maybe? If I wait that long to press FrArray I don't get the message. Its a PentiumD 3.4GHZ Dell Optiplex with 20195172(K) memory and 1367968 available at that time. CPU% never went more than 21% as the system was running at the time. EEVblog does not allow my .fra file type to upload 4U.

You realize that it takes time to get the data from the scope, don't you? 500 frames would take at least ~30 seconds minimum. That is why the Save box title changes to 'Saving...' and the current frame box counts the frames as they are being retrieved from the Rigol. Are you trying to press 'FrArray' before you actually transfer the frame array data from the Rigol? Or are you saying that - after the 'Saving...' is finished (the current frame counter has stopped) - it's taking 50 seconds to start plotting?

Edit: I think I'm realizing that you were pressing the FrArray button before you finished getting the data from the scope - i.e. trying to plot data that wasn't there. Ok, got it.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on February 21, 2013, 07:03:23 pm
There is this old familiar error when I try to "Compile FrArray Save". It works if I change decimal comma to decimal point from control panel.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 07:12:30 pm
There is this old familiar error when I try to "Compile FrArray Save". It works if I change decimal comma to decimal point from control panel.

@EV: If you want me to track this down, you will have to copy and paste the 'Exception Text' part of the message.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on February 21, 2013, 08:17:35 pm
@EV: If you want me to track this down, you will have to copy and paste the 'Exception Text' part of the message.

Here it is:

Tämän sanoman lopussa on tietoja siitä, kuinka voit
ottaa käyttöön JIT-virheenkorjauksen tämän valintaikkunan sijasta.

************** Poikkeuksen teksti **************
System.InvalidCastException: Muunto merkkijonosta 0.000000 lajiksi Single ei ole kelvollinen. ---> System.FormatException: Syötemerkkijonon muoto ei ollut kelvollinen.
   kohteessa Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   kohteessa Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat)
   --- Sisäisen poikkeuksen pinon jäljityksen loppu ---
   kohteessa Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat)
   kohteessa Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value)
   kohteessa Rigol_UtraVision_Utilities.Utilities.save_Click(Object sender, EventArgs e)
   kohteessa System.Windows.Forms.Control.OnClick(EventArgs e)
   kohteessa System.Windows.Forms.Button.OnClick(EventArgs e)
   kohteessa System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   kohteessa System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   kohteessa System.Windows.Forms.Control.WndProc(Message& m)
   kohteessa System.Windows.Forms.ButtonBase.WndProc(Message& m)
   kohteessa System.Windows.Forms.Button.WndProc(Message& m)
   kohteessa System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   kohteessa System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   kohteessa System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ladatut kokoonpanot **************
mscorlib
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
RUU
    Kokoonpanon versio: 0.1.4798.42547
    Win32-versio: 0.1.4798.42547
    Koodikanta: file:///C:/Users/Eino/Desktop/RUU_2_0/RUU.exe
----------------------------------------
System.Windows.Forms
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Kokoonpanon versio: 8.0.0.0
    Win32-versio: 8.0.50727.5420 (Win7SP1.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
NationalInstruments.VisaNS
    Kokoonpanon versio: 8.9.20.108
    Win32-versio: 8.9.20.108
    Koodikanta: file:///C:/Users/Eino/Desktop/RUU_2_0/NationalInstruments.VisaNS.DLL
----------------------------------------
NationalInstruments.Common
    Kokoonpanon versio: 8.7.20.131
    Win32-versio: 8.7.20.131
    Koodikanta: file:///C:/Users/Eino/Desktop/RUU_2_0/NationalInstruments.Common.DLL
----------------------------------------
mscorlib.resources
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    Koodikanta: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Accessibility
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Gif.Components
    Kokoonpanon versio: 0.0.0.1
    Win32-versio: 0.0.0.1
    Koodikanta: file:///C:/Users/Eino/Desktop/RUU_2_0/Gif.Components.DLL
----------------------------------------
Microsoft.VisualBasic.resources
    Kokoonpanon versio: 8.0.0.0
    Win32-versio: 8.0.50727.4927 (NetFXspW7.050727-4900)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_fi_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.5420 (Win7SP1.050727-5400)
    Koodikanta: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fi_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** JIT-virheenkorjaus **************
JIT-virheenkorjauksen käyttöönotto edellyttää, että tämän
sovelluksen tai koneen kokoonpanon määritystiedostossa (Machine.config)
on jitDebugging-määritys system.windows.forms-osassa.
Virheenkorjaus on myös oltava käytössä sovellusta
käännettäessä.

Esimerkiksi:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Kun JIT-virheenkorjaus on käytössä, käsittelemättömät poikkeukset
lähetetään koneessa rekisteröityyn JIT-virheenkorjaustoimintoon
eikä niitä käsitellä tässä valintaikkunassa.


Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 08:59:16 pm
Here it is:

Thanks - I think I found it. Please check it again when I release the bug-fix update.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 10:17:52 pm
Uploaded v.2.01 (Bug fixes).
Change log:
1) Fixed a bug that hid the Confirm Overwrite File dialog box.
2) Fixed a bug which screwed-up VISA TCPIP connections.
3) Fixed Open / Record bug when trying to record frames at timebases >= 200ms (Rigol won't do it).
4) Altered the text size of groupbox names.
5) Fixed a system.globalization error when converting strings to floating point numbers.
6) Fixed a bug which caused the software to hang when trying to save individual files for frames.
7) Added code which lets RUU terminate the VISA connection gracefully if the DSO is turned off with an active connection.
E) Idiot-proofed the enabling/disabling of buttons to prevent usage during active file saves/plots.
9) Removed all references to VISA .dlls when running standalone - except to the 'Connect' button. If you want to run RUU without VISA, delete the NationalInstruments.dlls from the directory (or just don't press 'Connect' when running the software.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 21, 2013, 10:34:30 pm
Just playing,  square wave sweep
 Saved 7000 frames and then Plot 3_D 
 it takes some time,  Cool Colours
20MB Fra file
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 10:48:04 pm
Just playing,  square wave sweep
 Saved 7000 frames and then Plot 3_D 
 it takes some time,  Cool Colours

For 3D plotting, the optimum amount of frames is:
Scale x1:     350
Scale x1.5:  525
Scale x2:     700
Anything above that amount will mostly be lost. Try doing the same plot again, but this time set 'Step' to 20 frames (EDIT: Make sure 'FrA' playback is checked, so that RUU will know to use the 'Step' amount for plotting). Your plot will be much faster and likely look the same. For the best looking plot of all, set scale to x2 and set Step to 10 frames (or if your screen isn't big enough - set scale to x1.5 and set Step to 15 frames).

Also, once your plot is finished, click 'Fra' in Play box, 'Display' -> 'Bitmap' -> 'Save' to save the image.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 21, 2013, 11:21:00 pm
@Teneyes: I just received your 'present' - thanks very much - it's greatly appreciated  :)   :-+

BTW, I just timed saving a 10,000 frame array on my computer - it took 8.5 minutes - so I don't know if the difference between our computers is the CPU or OS related. But there isn't really much use in saving such large arrays - unless you have important detail in that many frames to preserve. Otherwise, you can use the 'Step' frame counter to save a 'sampling' of frames from a larger amount for plotting and playback.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 12:01:21 am
3D plot and intensity bitmaps of a pulse wave with fluctuations in it's Vpp - and the frame array used to create the plots:
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on February 22, 2013, 07:21:19 am
Thanks - I think I found it. Please check it again when I release the bug-fix update.

It works now without errors. Thanks!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 09:32:25 am
@Teneyes:: Did the amount that I reduced the groupbox font (i.e. 'Play FrA', etc) work for you? Or is it still being clipped? Space is just so tight in the design now because I'm trying to keep the whole thing within the 800x600 SVGA boundary.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 10:33:23 am
groupbox font (i.e. 'Play FrA', etc) work for you? Or is it still being clipped?

looks Good ; pics shown 800x600 in full screen window  on 1280x1024 res.
sry  dual display, second is the blue
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 10:49:08 am
Below are pics of 3-D Frames of Square wave sweep , faster pulse to slower pulse
with transparent None

1.   With frame order Decrease,
The plot  built from lower frame # to higher frame # ,
built from violet to Red colours

I wonder why
2.   With frame order Increasing,
The plot  built from higher frame # to lower frame # ,
built from violet to Red colours  Pics 2
and wonder why the back porch displays in front
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 10:59:22 am
Curious of the gaps on the back side on these frames
part of square wave sweep, 2000 frames
 I wondering if gaps are:
   Resolution steps in RUU
   Resolution steps in DSO
   Resolution steps in Sweep generator
single stepping with DSO Thur frames shows steps in frames (3-5 frames with same vertical trace
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 11:02:23 am
Using RUU 2.01

Waiting for Frames to Be save.
It would be nice if the Current Frame counter was more visable, Maybe have the background White and the digits Bold
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 11:10:44 am
Saving Frames when DSO is in HiRes Acquisition

Is the RUU programmed to leave a Gap on the leading edge of the squarewave when saving/plotting 3D and the DS2072 is in HighREs ,see Pics

Second Pics show less stepping in the sweep ,unlike the gaps show in past Post

I also need to understand why a linear sweep looks exponential in these 3D plots
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 12:19:54 pm
I wonder why
2.   With frame order Increasing,
The plot  built from higher frame # to lower frame # ,
built from violet to Red colours  Pics 2
and wonder why the back porch displays in front

When you change the frame order (increase or decrease) the order the plot is built is reversed, but the Z 'direction' remains the same (because time does not change) - the older frames (farther back in time) will still be lower numbers in any color gradient.

But the other effect - seeing through the wave is bizarre - and I haven't seen it before. Can you please ZIP the .fra file (it will get very small) and post it here? I need to investigate this effect further.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 12:33:29 pm
and wonder why the back porch displays in front

But the other effect - seeing through the wave is bizarre - and I haven't seen it before. Can you please ZIP the .fra file (it will get very small) and post it here? I need to investigate this effect further.
.fra zipped and here
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 12:36:56 pm
Saving Frames when DSO is in HiRes Acquisition

Is the RUU programmed to leave a Gap on the leading edge of the squarewave when saving/plotting 3D and the DS2072 is in HighREs ,see Pics

.Fra zipped and Att.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 12:47:44 pm
Curious of the gaps on the back side on these frames
part of square wave sweep, 2000 frames
 I wondering if gaps are:
   Resolution steps in RUU
   Resolution steps in DSO
   Resolution steps in Sweep generator

None of these things - the gaps are scaling errors introduced by trying to fit a 700x400 image onto a 350x200 cube - small vertical lines can be lost. As mentioned in the post introducing 2.0, these gaps can be avoided by plotting at a higher-res. Here are three 3D plots of the same 700 frame square wave - at x1, x1.5, and x2 scale. You can see the difference (ignore the glitch frame - that was an error created by reading data too fast from the Rigol).

Plotted at x1 scale
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39914)

Plotted at x1.5 scale
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39916)

Plotted at x2 scale
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39918)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 12:54:57 pm
So - the way I make my 3D plots:

1) Capture ~700 frames - or choose ~700 steps from a larger frame array (for example, if I captured 3000 frames - then I choose 'Step' 4 for plotting - and make sure Play-> FrA).

2) When ready to plot, click x2 Scale.

3) After plot, click 'Display' -> 'Bitmap' -> 'Save'

4) Click x1 scale.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 01:05:42 pm
Ha, ha... definitely a bug with frame order increasing - it's drawing in the reverse order that it should. But this was tested before, so I must have changed something which introduced the bug. Thanks for pointing it out, Teneyes! Will fix it shortly.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 01:11:04 pm
the gaps are scaling errors introduced by trying to fit a 700x400 image onto
 a 350x200 cube - small vertical lines can be lost. .. and x2 scale. You can see the difference

Thanks , now I understand and re plotted the Hires  At 2x, Nice
and the T-Z orientation is Cool
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 01:20:00 pm
Hmm... your sweep definitely seems exponential. Here it is 2D plotted with no transparency (z-axis gradient). I would think the gradient should be linear if the sweep is linear - but perhaps I need to think about it some more.

(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39924)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: bennybubble on February 22, 2013, 01:24:03 pm
Hi,

Nice software but it doesn't connect to a DS41014, a reports 'this is not a DS2072'.
Is this by design or should it work with a DS4000 or DS6000 scope ?

-ben
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 01:32:12 pm
@Teneyes: Your sweep is definitely exponential. Here is a plot of every 200th frame - with Z Scale set to 'Frame Time'. Notice how every 200th frame is getting farther apart - this shouldn't happen on a linear sweep.

(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39928)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 01:46:28 pm
Nice software but it doesn't connect to a DS41014, a reports 'this is not a DS2072'.
Is this by design or should it work with a DS4000 or DS6000 scope ?

Hi Ben,

Welcome to the forum! I'm glad to hear that my fishing expedition paid off  :D  Running the DS2000 check was added by design this version because I have been posting (and updating) this RUU software for almost 2 and a half months - and hadn't heard a peep back from any DS4000/DS6000 users about compatibility with their scopes. So I thought I'd see if any 4/6 owners had (or were going to) download the software. I would be more than happy to provide you with a DS4000-friendly version of the software if you would just promise me to report back on whether it works with your unit or not (or what sections of the software work and which don't) - so that I at least know whether the SCPI command sets are completely compatible - or if there needs major reworking. I'd also be curious to hear what your FPS readings are for single and dual channel operation. I'm afraid this version only support two channels for the moment - but if you report back good compatibility with the DS4000 - I'd be willing to add the code needed to support the other two channels.

Let me know - and again, welcome!

Mark
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 02:09:17 pm
Fixed the bug causing the wrong plotting order when using 'Frame' -> 'Increasing'. Thanks for pointing that out, Teneyes - it will be included in the next bug-fix update:

Decreasing:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39930)

Increasing:
(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39932)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 02:21:04 pm
BTW, the frame order bug only affects 'Increasing' frames when using 'Frame #'. If you need to see the frames in reversed order before the next bug-fix update - use 'Frame Time' - it works correctly.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 02:29:33 pm
@Teneyes: Your sweep - reverse plotted (increasing) by frame time:
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 02:29:45 pm
@Teneyes: - this shouldn't happen on a linear sweep.

 :) :) I Finally Got it
The plot is time of voltage pulse.  and Duty Cycle is  Fix % of one Cycle
One Cycle Time is the Period and the Period is = 1/frequency
So as the Frequency increases linearly , ,
then the Period is inverse, so increase as an Inverse function

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 03:59:15 pm
wont you consider to give option for "flat surface" plot instead of lines? lines plot will show some overlapping. Z-cue'd probably if performance becomes an issue. YMMV ;)

Later version  ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 22, 2013, 04:16:52 pm
Linear sine-wave sweep: (http://www.daysalive.com/share/linear_sine_sweep.gif) let it load completely for best effect.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 22, 2013, 08:51:51 pm
Linear sine-wave sweep: (http://www.daysalive.com/share/linear_sine_sweep.gif)

That kind of makes me want to go Surfing
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on February 23, 2013, 01:18:47 pm
Hi Mark,

I am another almost owner of a 4 channel DS4000 series, and I would be happy to report back in return for a version which will support 4 channels of DS4000 series!

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 23, 2013, 05:26:35 pm
Hi Mark,

I am another almost owner of a 4 channel DS4000 series, and I would be happy to report back in return for a version which will support 4 channels of DS4000 series!

Cheers

Alex

Hi Alex,

Ok, great! I will make the next bug-update (2.02) as DS4000 compatible as I can - it should be posted in the next couple of days. I've looked over the programming guide for the 4000 series, and the only difference I can find so far is the change from 'Keep' to 'Hold' - but the software already covers that eventuality because Rigol changed it in the latest version of the DS2000 software. Please let me know if everything works as it's supposed to - and if so, I'll try to add in the extra support for channels 3 and 4.

Best, Mark
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 23, 2013, 05:40:29 pm
@The Chump:

Alex, please do me a favor and run the small attached program with your scope turned on and connected via USB - and then copy and paste the identification message that is sent from the scope. It will help me in identifying and targeting DS4000 scopes (since I don't own one to test on).

Thanks!

Mark

Edit: Oops, just realized you wrote 'almost owner'. Perhaps someone who is currently in possession of a DS4000 can run the small attached program to test how to ID the scope from software.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 23, 2013, 08:09:18 pm
BTW, I realized there is a bug in 2.0(1) with changing the standard colors of the channels (ie. from yellow/cyan) - which is a feature I added at the last minute. It works fine when drawing the waveform in the display, but it doesn't do the gradient correctly (or 2-color gradient) when plotting.  This will be fixed in the next update - along with the added feature of choosing the other color for 2-color gradients.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: totofly on February 23, 2013, 09:08:13 pm
Hello,

I am also interested in a version DS4000 4 channels, I would test on Tuesday and the post Market Report.

thank you
Great software.
Thomas
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 23, 2013, 09:23:18 pm
I am also interested in a version DS4000 4 channels, I would test on Tuesday and the post Market Report.

thank you
Great software.
Thomas

Thanks, Thomas. Could you please run the small piece of software I posted above (RSID.zip - with your DS4000 connected via USB and switched on) and copy and paste here the ID message that you get. It will help me get the next update working correctly with the DS4000 series. Thanks!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on February 23, 2013, 09:23:36 pm
I am using RUU 2.01 with notebook which has 1366 x 768 resolution. Changing the size of the window (1x, 1.5x or 2x) has no problem.

I tried it also with computer with 1920 x 1200 resolution and text size 125%. Pictures are attached. If I change text size to 100% (this is too small), there are no problems.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on February 23, 2013, 09:29:17 pm
Hi Mark,

I currently have a demo unit on loan, so can give it a go on Monday (GMT).

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 24, 2013, 06:17:44 pm
I tried it also with computer with 1920 x 1200 resolution and text size 125%. Pictures are attached. If I change text size to 100% (this is too small), there are no problems.

@EV: Well, I write and test RUU on a 1920x1200 monitor with text size set to 100%. I personally think using the Display global text setting in Windows (to larger than 100%) is terrible because it scales EVERYTHING - including some things which I really don't need scaled - and so I lose precious screen real estate.

I think it's better to use: Control Panel\All Control Panel Items\Personalization\Window Color and Appearance\Advanced appearance settings...
and just change the font size of the particular text you want larger (message box text, title bar text, etc). Not only can you make more subtle changes to the size than you can from the Display settings applet, but changes you make happen instantly - without having to log off and on as you do with the global text settings. Anyway, just my two cents worth  ;)

But, in any case, I'll see if I can come up with a solution for this. It just means that the RUU display will have to be scaled when in the x1 setting - thus not matching precisely the Rigol's display.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on February 24, 2013, 09:15:54 pm
But, in any case, I'll see if I can come up with a solution for this. It just means that the RUU display will have to be scaled when in the x1 setting - thus not matching precisely the Rigol's display.

As I told, I do not use that big screen in my workspace, but compact laptop to save space. I only told what I noticed.   ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 24, 2013, 10:05:34 pm
As I told, I do not use that big screen in my workspace, but compact laptop to save space. I only told what I noticed.   ;)

No problem - I'm glad you did.  ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on February 25, 2013, 10:06:36 am
Here is the output from my loaned DS4054

Identification: DS4 - 00.04.00.01

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: bennybubble on February 25, 2013, 11:34:42 am
Output from a DS4014 : DS4 - 00.04.00.00
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 25, 2013, 12:53:12 pm
Thanks Alex and Ben! I'll try to have 2.02 posted later today - which will be set to work with the DS4000 series.

One last question - in your respective firmware versions, does Rigol use the word 'Keep' or 'Open' for recording continuously?

Thanks again - and I look forward to hearing about any compatibility problems, bugs, etc you might experience
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on February 25, 2013, 01:17:14 pm
Hi Mark,

On my Records menu I have:
OFF
Record
Playback
Open
Analyze

I think that's where you want me to look.

Looking forward to the new version

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dpenev on February 26, 2013, 12:55:15 pm
Hello All,

I am thinking to buy DSO.
Rigol 2072 70MHz and Rigol 2102 100MHz look as a suitable to me.
Are those having same hardware and differ only software wise?
Or do they have different hardware inside?

Thank you
Dimitar 

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 26, 2013, 12:59:06 pm
Are those having same hardware and differ only software wise?
Or do they have different hardware inside?

Same hardware across the whole line (2072/2102/2202) - only software differences which 'limit' the lower models to a lesser bandwidth.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dpenev on February 26, 2013, 01:05:20 pm
Hi Marmad,

Oh does it mean that I actually can buy DS2072 and by a software update get an 200 MHz (DS2202)?
Sounds like a great deal if could be done :)

Thank you
Dimitar
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 26, 2013, 03:58:24 pm
Oh does it mean that I actually can buy DS2072 and by a software update get an 200 MHz (DS2202)?

Sorry, Dimitar, no one has discovered (or at least made public) the method for doing that yet  :(
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dpenev on February 26, 2013, 04:17:01 pm
Thanks  Marmad :)

If the hardware of all DS2000 is the same does it mean
that the only difference on the time domain results would be that it will appear compressed in time (on the 70 MHz version DSO)?
Has someone confirmed that the analog bandwidth of all DS2000 members is the same?

I am asking if this is the case as I could go to 70 MHz version instead of the 100 MHz version to save some money.
Any thoughts in this respect are welcome!

And a question about trial license.  It involves the RS232, I2C decoding only , correct?
Was not able to find on the manual quickly.


Thank you
Dimitar



Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: slashguitar on February 26, 2013, 04:53:00 pm
Hello,

The decoder trial time on my DS4024 has just expired. Does anyone know if there is a simple hack to enable them?(like the bandwidth on the 1052e)
Has anyone purchased the decoder option?If so how does it look like? Is it a USB stick you plug into your scope?

Thanks
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on February 26, 2013, 05:04:15 pm
Hello,

Has anyone purchased the decoder option?If so how does it look like? Is it a USB stick you plug into your scope?


I don't know about DS4000 but in DS2000 it is a code not a dongle.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: totofly on February 26, 2013, 08:12:18 pm
Hello,

My ID DS4024: DS4-00.03.00.05
I get the following message when I try to connect my dso to ultravision utility. Anyone know how to get it update the software of the ds4024?

thank you
Thomas.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 26, 2013, 11:54:58 pm
Uploaded v.2.02 - Two bug fixes, two new features.
Change log:
1) Fixed the bug that caused reversed plotting when using Increasing and Frame #.
2) Fixed the gradient routine when plotting when different colors have been selected.
3) In the Frame Array window, you can now choose both the color for drawing waveforms (and the first color in gradients), denoted by the color box with the 'ChanX' text in it - and/or the second color in two-color gradients, which is the smaller colored box after the 'Chan' one.
4) Rigol UltraVision model number now visible in title bar when connected.
5) Added compatibility for DS4000 scopes. RUU is still only two channels - but if I get reports back that it works well with DS4000 scopes, I'll add the extra two channels in a later version.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: DrBob on February 27, 2013, 05:10:02 am
I have read, I believe on this Forum, that you will lose the free trial options if you do a calibration. Surely that does not mean activating the scope's self calibration routine, does it?

If you lose the free trial options before they expire, how do you get them back?

I am talking specifically about the DS2202 I hope to get soon.

Cheers...

DrBob
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 27, 2013, 06:17:03 am
Hi all here is sweep of 90% sawtooth signal with;
4 ways of 3-D viewing frames.

The DSO captured 8192 frames
with the Wavefinder( big Knob) in pause mode I was able to determine the cycle of frames I wanted
then
With RUU , I saved the Frames to a .frm file but from 801 to 2790 of the 8192 frames
once saved to a PC file I could plot in different ways

The plotting renumbers the Frames from 1 to 1990

@Mark,   it would be nice to reverse the CLUTable colour order red bottom and violet top for y-axis
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 27, 2013, 07:10:02 am
and 1 more pics not allowed in last post
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on February 27, 2013, 10:46:11 am
Hi Mark,

just giving V2.02 a whirl with my DS4054 and have 3 comments so far:

1. FSD on  the DS4000 series is +/-4divs, so your display needs to be rescaled, and 'full ADC' should be enabled and greyed out

2. When I save a waveform to .csv from channel 1, it seems to have scaled it using the Volts/div setting of channel 2

3. It said the unit was not responding, so I closed and restarted the program and tried to connect again and got the attached exception (I'm connected via USB atm)

Looks promising though,

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 27, 2013, 11:05:04 am
Hi Alex - thanks for your bug report. A couple of questions and comments:

1. FSD on  the DS4000 series is +/-4divs, so your display needs to be rescaled, and 'full ADC' should be enabled and greyed out

FSD on the DS2000 series is +/-4divs also - but only 200 bits of the ADC are mapped to the 400 screen pixels (8 divs x 50 pixels) - with 56 bits of headroom. But the entire range of the ADC is available in the display data - so clicking 'Full ADC' gives you 2 extra divisions and 50 extra bits of ADC resolution (and 6 bits of headroom). Is the waveform data not mapping correctly to RUU's display?

Quote
2. When I save a waveform to .csv from channel 1, it seems to have scaled it using the Volts/div setting of channel 2

Hmm.. I'll look into this - but the CSV data comes directly from the DSO in ASCII (I don't create it in RUU) - so unless I got the channels swapped around that I ask for, the error is coming from the DSO.

Quote
3. It said the unit was not responding, so I closed and restarted the program and tried to connect again and got the attached exception (I'm connected via USB atm)

When did RUU report the DSO was not responding? During an explicit command - or just when idling? I've never seen this happen unless I turned off the DSO - or disconnected it accidentally somehow.

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on February 27, 2013, 12:12:09 pm
Hi Mark,

The full 256 levels (8bits) are mapped to +/-4divs with no headroom on the DS4000, so it's not mapping correctly to RUU.

It reported not responding once when I tried to save a waveform to CSV.

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 27, 2013, 03:23:37 pm
Hi Alex,

The full 256 levels (8bits) are mapped to +/-4divs with no headroom on the DS4000, so it's not mapping correctly to RUU.

If I'm going to get the scaling correct for the DS4000, I need to be sure about the exact amount - so if you could please do the following:
1) Set a square wave on your DSO so that it's just barely touching the Rigol's screen limits at the top and bottom - using vertical position and fine scale adjustments.
2) Then click 'Open' on RUU and record a couple of frames on the DSO (it doesn't matter how many - as long as it's > 2).
3) Click 'Stop'
4) Set 'End Frame' to '2'
5) Click 'Frames' -> 'Compile' - > 'Array' ->  'Save'
6) ZIP the created .fra file and attach it to a post here. Then I will be able to see precisely what ADC values are mapped. Thanks.

Quote
It reported not responding once when I tried to save a waveform to CSV.

Ok, perhaps the timeout needs to be longer for ASCII transfers - I'll adjust that.

One other question on your connection problem - did you restart RUU or the DSO or both?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 27, 2013, 06:03:10 pm
@ Mark
  attached is a Frm File with a glitch at frame 22-25 , it shows up as a Plane in the 3-D plot
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on February 27, 2013, 06:04:56 pm
Hi Mark,

I think I've got what you want - a bit fuzzy on using the frame capturing stuff at the moment.
I just restarted RUU, not the scope.
Y scale was 375mV/div

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 27, 2013, 07:33:43 pm
  attached is a Frm File with a glitch at frame 22-25 , it shows up as a Plane in the 3-D plot

Thanks, Teneyes. This is something the Rigol does if you try to read display data from it too fast (instead of something more elegant). I was getting them often until I inserted pauses in the code - I hadn't seen one for awhile, but I guess I'll have to increase the pause time a bit.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 27, 2013, 07:42:53 pm
I think I've got what you want - a bit fuzzy on using the frame capturing stuff at the moment.

Thanks Alex - that's perfect. Sure enough, the DS4000 series maps the full 256 bits to the display; I've fixed it in the coming update.

I looked through the CSV saving code (which I hadn't checked since I added the compiled CSV option), and I found the bug that said the scope was not responding when saving the CSV (which wasn't actually true - it was a thrown exception from an array). So I fixed that and hopefully you'll have no more problems with using it.

But I checked saved CSV files from RUU against saved CSV files from the Rigol of the same data (both chan1 and chan2 individually - and together) - and they were identical. So I would suggest trying the same thing yourself - and see if the scaling problem you saw in the file is happening from the Rigol as well. RUU and Rigol saved CSV's (of displayed DataDepth) should be identical.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 27, 2013, 08:00:24 pm
Uploaded v.2.03 - bug fixes:
1) Fixed the scaling bug for DS4000 series.
2) Fixed a couple of bugs in the save CSV routine.
3) Slowed down frame array reads a slight bit to try to prevent glitch frames.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on February 28, 2013, 10:34:02 am
Hi Mark,

The scaling looks fine now.
On the saving of data, I have checked that saving CSV to a USB stick works fine. Here is some further info for you:
I have ch1,ch2 connected to the cal signal, and both ch1 and ch2 are AC coupled. Ch3 and 4 are off (but DC coupled).
ch2 is set to invert
I include a screen grab of what was displayed, the CSV obtained using a USB stick, and the CSVs for ch1 and ch2 obtained using RUU.
You will see that the RUU Ch1 csv has used Ch2 scaling, and that Ch2 has used Ch3 scaling and AC/DC coupling setting!

Intriguing!

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 28, 2013, 10:50:17 am
The scaling looks fine now.
On the saving of data, I have checked that saving CSV to a USB stick works fine. Here is some further info for you:
I have ch1,ch2 connected to the cal signal, and both ch1 and ch2 are AC coupled. Ch3 and 4 are off (but DC coupled).
ch2 is set to invert
I include a screen grab of what was displayed, the CSV obtained using a USB stick, and the CSVs for ch1 and ch2 obtained using RUU.
You will see that the RUU Ch1 csv has used Ch2 scaling, and that Ch2 has used Ch3 scaling and AC/DC coupling setting!

Glad to hear the scaling works - and thanks for all the extra digging, Alex. I appreciate it. Getting the CSV data from the scope is very straightforward and simply a matter of telling the scope the channel data you want - and that you want it in ASCII - and then writing it to a file. Since RUU does no processing of any kind on the data - and since at this time RUU never refers to a channel 3 -  you've certainly uncovered a bug in the DS4000 firmware - but don't worry - there are plenty of them in the DS2000's  ;)  I'm curious what will happen once I get around to adding channels 3 and 4 to RUU - I'm not sure when that will happen but I plan to start adding trigger levels, scale settings, etc, to RUU's display in the next version - and when I start to write that code I will also add the code needed to support all 4 channels.

Have you tested saving a frame array file with channel 1 and 2 both enabled - and then playing it back in RUU to make sure that the correct data is retrieved in BYTE (non-ASCII) mode? I assume it's probably fine - since it's closely linked to the waveform display itself.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on February 28, 2013, 12:18:39 pm
Hi Mark,

The frame array works fine as you suspected it would.

Do you have the commands you send, so I can put it through the UltraSigma control panel and see what comes out?

Cheers
Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 28, 2013, 12:37:47 pm
Do you have the commands you send, so I can put it through the UltraSigma control panel and see what comes out?

Sure. They are as follows:

:WAV:MODE NORM
:WAV:FORM ASC

(Then if channel 1 is enabled to save in RUU:)
:WAV:SOUR CHAN1; *OPC?
:WAV:DATA?

(And if channel 2 is enabled to save in RUU:)
:WAV:SOUR CHAN2; *OPC?
:WAV:DATA?

The *OPC? part of the command just causes the software to wait until the scope is ready for the next command.

Then I just split and format for CSV the string that is returned (but no alteration).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on March 01, 2013, 10:28:05 am
Thanks Mark,

now I can give Rigol steps to reproduce using their software - they can't argue that it might be your bug!

Keep up the good work,

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EEVblog on March 12, 2013, 01:14:22 pm
Holy crap, this looks awesome!
I haven't been following this thread, but I'll have to give this a go.
Have you put any thought into expanding the utility to control a Rigol sig gen and then be able to do automated bode plots?

Dave.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 12, 2013, 01:35:25 pm
Holy crap, this looks awesome!

Thanks Dave!

Quote
Have you put any thought into expanding the utility to control a Rigol sig gen and then be able to do automated bode plots?

I'd love to do that - and I'll have a real need for it in the near-future since I have to design and build some filters later this year. I'm hoping to buy one of the Rigol DG4000 wave gens sometime soon - and as soon as I do, an automated bode plotter will be the first thing I'll be working on  :)

Until then - the next release should bring all of the scope data (trigger, timebase, & voltage settings) to RUU - and I hope to add surface plots as an option for frame array plotting.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: zibadun on March 12, 2013, 03:36:39 pm
Holy crap, this looks awesome!

Thanks Dave!

Quote
Have you put any thought into expanding the utility to control a Rigol sig gen and then be able to do automated bode plots?

I'd love to do that - and I'll have a real need for it in the near-future since I have to design and build some filters later this year. I'm hoping to buy one of the Rigol DG4000 wave gens sometime soon - and as soon as I do, an automated bode plotter will be the first thing I'll be working on  :)

Until then - the next release should bring all of the scope data (trigger, timebase, & voltage settings) to RUU - and I hope to add surface plots as an option for frame array plotting.

Why not start with 3x25 if you still have it?  It's crap but I've been getting useful bode plots with it, especially with some curve fitting magic.  Not getting a sub dB resolution like on a real spectrum analyzer but good enough to see where the filters cut off.  kind of like this:
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 12, 2013, 04:52:03 pm
Why not start with 3x25 if you still have it?  It's crap but I've been getting useful bode plots with it, especially with some curve fitting magic.  Not getting a sub dB resolution like on a real spectrum analyzer but good enough to see where the filters cut off.  kind of like this:

I think I've done enough programming for the 3x25 - too many quirks and poor design choices - and a terrible command set for the firmware. It was a bargain for the money - and it served it's purpose - but I need to upgrade to a better wave gen. soon.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on March 12, 2013, 06:54:44 pm
More Fun with RUU
and DS2072 with DG4062 ,   I'm in on RdgUU  :)

A sawtooth Modulated Sawtooth
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 12, 2013, 07:39:46 pm
More Fun with RUU
and DS2072 with DG4062 ,   I'm in on RdgUU  :)

A sawtooth Modulated Sawtooth

Nice one Teneyes - a beautiful 3D plot!  :-+
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dougg on March 14, 2013, 02:21:27 pm
RUU 1.51 did work on W7 native but not particularly well, my DS2202 became unresponsive and remained that way for a while, even after the USB cable was removed.

Ha, ha...  so my software was able to influence your Rigol - even when unplugged? Wow, it's even more powerful than I imagined. ;D  It sounds like you're having VISA/connection problems that are unrelated to my software. Have you tested other SCPI-based software on it?

Revisiting this part of the thread, I think that the reason for the unresponsive nature of my DS2202 was setting Display|Menu_display to 1 second. Try it and like me you may find that many aspects of the user interface, especially the menu buttons become almost unusable.

If you wanted to convince a colleague or a superior that a DS2000 was not worth taking/borrowing from you, then that may be a useful setting. Otherwise you have been warned.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 14, 2013, 04:22:02 pm
Revisiting this part of the thread, I think that the reason for the unresponsive nature of my DS2202 was setting Display|Menu_display to 1 second. Try it and like me you may find that many aspects of the user interface, especially the menu buttons become almost unusable.

Yes, having the Display Menu set to 1 second is very bad. In fact, as mentioned in other posts, the Rigol firmware routine for hiding the menus is terribly written - hanging up the DSO (and communications with the DSO) while it tries to 'smoothly' scroll the menus away. And to what end? Why do the menus have to 'scroll' away? Why not just have them retract back immediately? I just want hem gone - I don't need animation as they go away. It's one of the worst routines in the firmware - and I don't even bother using it.

But as far as RUU goes: one of the two main reasons I started writing these utilities for the DS2000 series was because I wanted to have a method for dropping markers while in Delayed Sweep (Zoom) mode - and jumping between them. But once I had started writing the software, I discovered the 01.00.05 firmware has a bad bug which prevents full sample memory reading from the DSO - and so to emulate Zoom mode (to display the full waveform in RUU) - in earlier versions of RUU - I was grabbing a bitmap from the DSO and cropping out the picture of the full waveform. But getting a correct bitmap meant that I had to try to make sure that no menus were visible - and since there is no SCPI command to retract the menus - when entering Zoom mode in RUU, I was telling the Rigol to set the Display Menu to 1 second - then waiting a second - then grabbing the bitmap. When you exited Zoom mode, I would set the Display Menu back to whatever the previous setting had been. But of course, this didn't work very well because people would exit differently, etc, etc. Anyway, this is a moot point now since I no longer use a bitmap to display the full waveform and so RUU no longer touches the Display Menu settings.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on March 14, 2013, 05:41:16 pm
Revisiting this part of the thread, I think that the reason for the unresponsive nature of my DS2202 was setting Display|Menu_display to 1 second. Try it and like me you may find that many aspects of the user interface, especially the menu buttons become almost unusable.

Just checking that with RUU 2.03 this is Not a problem.  I had to time the RUU save during the 1 sec menu display
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dougg on March 17, 2013, 11:21:10 pm
Tried running RUU 2.03 on W8 as a VM on VBox 4.2.10 . Now that should not be a problem since recent versions don't try to connect to the 'scope until the Connect button is pressed. It could replay canned data (in the data folder) as expected.

The attached screenshot is low resolution but does show pixels being shaved off the top of some of the words in the smaller buttons. And as task manager shows, RUU was consuming almost 100% of the CPU, doing nothing. My laptop's fan and Linux (the host OS) confirmed that W8 was using 100% of the CPU. When I closed RUU CPU usage dropped below 10%.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 18, 2013, 01:28:42 am
And as task manager shows, RUU was consuming almost 100% of the CPU, doing nothing. My laptop's fan and Linux (the host OS) confirmed that W8 was using 100% of the CPU. When I closed RUU CPU usage dropped below 10%.

Thanks for the report. Unfortunately, as mentioned before, I don't have any machines around with W8 installed - and the behavior of >90% CPU usage is not happening under W7. When I get a chance to work on the software again, I'll see if I can figure out what might be causing the problem.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 24, 2013, 06:25:29 pm
Could a DS4000 owner please post a screensave (preferably .BMP so that it's uncompressed) with channels 3 and 4 turned on, so that I can extract the color values? I can't seem to locate any quickly online - and I hope to start working on the utilities again soon, and I need the original color values to integrate the other 2 channels of the DS4000 into the software (even though you can change it in RUU later if desired). Thanks!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dpenev on March 26, 2013, 09:25:55 am
Hi Marmad,

I have used RUU software to export the scope screen on a remote PC.
It probably not the main usage of the software but let me share my opinion.
My scope DS2102, firmware 00.00.01.00.05, Win 7 64 bit.

I have a Linux embedded hardware which due to some physical requirement is not sitting on my desktop.
I am connecting to the device remotely using ssh and your RUU software appears suitable to export the scope screen on my desktop PC.
I have used TCP/IP interface. I had to enter the VISA instrument name manually. (with USB the scope got detected right away)

I know that the main purpose of RUU is not just to export the scope screen but I am sure lot of people will use it for this as well.

In this respect I have two basic comments:
1. Can we somehow store the TCP visa resources name in the RUU settings so no need to enter each time.
    I think there is good reasoning for this as, the scope is getting its IP using DHCP so its VISA name is suppose to stay the same.
2. Is it possible we have the trace reference marks (those small '1' for ch 1 and '2' for ch 2 marks) on the RUU screen?
3 Of course having the main scope Y, T controls available in RUU would be huge advantage for me but I think I am getting to far :)

Thank you for the great work, it is really useful!
Dimitar   
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 26, 2013, 10:11:32 am
In this respect I have two basic comments:
1. Can we somehow store the TCP visa resources name in the RUU settings so no need to enter each time.
    I think there is good reasoning for this as, the scope is getting its IP using DHCP so its VISA name is suppose to stay the same.
2. Is it possible we have the trace reference marks (those small '1' for ch 1 and '2' for ch 2 marks) on the RUU screen?
3 Of course having the main scope Y, T controls available in RUU would be huge advantage for me but I think I am getting to far :)

Hi Dimitar - thanks for the kind words and support. In response to your questions:
1) Yes, the next version of RUU will have savable settings - which will include a possible IP address for the DSO.
2) Yes, I'm also hoping to have ALL of the settings normally visible on the DSO screen (voltage and timebase settings, trigger level, etc) updated real-time on RUU's screen in the next version.
3) This will likely be something I will add in the future, but I doubt it will be the next version. There are a few other features I'd like to get to first.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on March 28, 2013, 10:23:15 am
Screenshot of all 4 channels of DS4000 as requested!

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 28, 2013, 10:58:25 am
Screenshot of all 4 channels of DS4000 as requested!

Thanks, Alex! Just what I wanted.  :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dpenev on March 30, 2013, 12:15:10 am
Hello,

I did a quick check of the SPI decoding function of my DS2102.
It is probably useful but it seems to be not as convenience as a regular logic analyzer.
In addition I have observed misalignment between the code and the traces as you can
see on the attached picture. Next time I have tried the code was properly aligned.
It is strange that if you stop the triggering and if you move along the time domain
the decoded SPI code is moving/refreshing very slowly on screen. It behaves as if the code
is calculated real time during the movement but it does not make sense as we have the
signal data in memory and normal it should be decoded only once.
What do you guys think about the decoding of those scope? 

What is also strange is that I set the scope sampling to 100MSa/s, 28M pts, two channels enabled.
In this case the scope is triggering only about 140ms which means14M pts.
I would expect 28M pts. as written on the screen??

I've tried screen capturing into a image on the USB flash storage.
The scope didn't like my Kingston 32GB stick
(detected but said no room on the device (I have more then 17GB free on this stick))
With other smaller flash stick I have managed to write the picture.

Regards
Dimitar         
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 30, 2013, 12:27:59 am
Hi Dimitar,

You will get many more members looking at your post and replying if you remove it from here (which is normally used for software for the Rigol) and post it in the review thread here (https://www.eevblog.com/forum/testgear/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 30, 2013, 12:46:16 am
It behaves as if the code is calculated real time during the movement but it does not make sense as we have the
signal data in memory and normal it should be decoded only once.

All measurements are made on the displayed data, not the sample data - so it makes sense that the decode is also performed on the displayed data.

Quote
What is also strange is that I set the scope sampling to 100MSa/s, 28M pts, two channels enabled.
In this case the scope is triggering only about 140ms which means14M pts.
I would expect 28M pts. as written on the screen??

I set the DSO to 2 channels and 28Mpts then set the timebase to 20ms - which makes the sample rate 100MSa/s. I set Display to Dots, then stop the DSO. When I zoom in to 20ns, I see that the dots (samples) are spaced 10ns apart: 1/10ns = 100MHz. I zoom out and the data fills 280ms: 10ns * 28Mpts = 280ms.

Quote
I've tried screen capturing into a image on the USB flash storage.
The scope didn't like my Kingston 32GB stick
(detected but said no room on the device (I have more then 17GB free on this stick))

Probably cluster size - most DSOs want 4kB clusters.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: AndyC_772 on March 30, 2013, 09:05:29 am
I did a quick check of the SPI decoding function of my DS2102.
It is probably useful but it seems to be not as convenience as a regular logic analyzer.
In addition I have observed misalignment between the code and the traces as you can
see on the attached picture. Next time I have tried the code was properly aligned.

I've reported this bug in the DS4000 series. It's really bad if you capture a trace in normal trigger mode, then change the horizontal time base while the scope is still waiting for a trigger, then stop acquisition. The serial decode can be thrown right off the edge of the screen, or it can disappear entirely.

Does your scope correctly save and recall the polarity of the SPI signals and the MSB/LSB setting over a power cycle? That's broken too in the 4000 series, the UI gets inconsistent with the actual decoder.

Quote
What do you guys think about the decoding of those scope?

It'll be nice when it works, but right now it has stupid bugs that should never have escaped the developer's desk, much less any kind of beta testing programme. It's quite shameful for an extra cost option - and such an expensive one - not to mention surprising on a scope which otherwise seems to work so well.

Quote
I've tried screen capturing into a image on the USB flash storage.
The scope didn't like my Kingston 32GB stick
(detected but said no room on the device (I have more then 17GB free on this stick))
With other smaller flash stick I have managed to write the picture.

Rigol's USB driver is as fussy as they come. I've been recommended Integral brand sticks, preferably <4GB.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dpenev on March 30, 2013, 09:39:45 am
Hi Marmad,

Thak you for the tip about the right thread

Quote
What is also strange is that I set the scope sampling to 100MSa/s, 28M pts, two channels enabled.
In this case the scope is triggering only about 140ms which means14M pts.
I would expect 28M pts. as written on the screen??
Ooops. On my settings I forgot to account the pre-trigering data apparently :)
I had 50% pretrigered data. So data length acquired is OK

Quote
All measurements are made on the displayed data, not the sample data - so it makes sense that the decode is also performed on the displayed data.
OK probably i still haven't get the whole philosophy of the scope but I have to admit Rigol can easily optimize the decoded code showing on screen. Sometimes it is misaligned, it moves jumps by jumps and now it is difficult to follow if you think consequently in time.
Even if they don't keep the whole decoded code in memory but only for the displayed data they could pre calculate one screen ahead and behind which could make the movement smooth.     

I had in the past bad experience with the uClinux on blackfin with big SD cards.
Do you guys know if uClinux is running this scope?
 
AndyC_772,
Quote
Does your scope correctly save and recall the polarity of the SPI signals and the MSB/LSB setting over a power cycle?

Yes I got firmware version ...005 and the polarity and msb/lsb seems to be correctly preserved over power cycle

Regards
Dimitar

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 30, 2013, 10:25:50 am
OK probably i still haven't get the whole philosophy of the scope but I have to admit Rigol can easily optimize the decoded code showing on screen. Sometimes it is misaligned, it moves jumps by jumps and now it is difficult to follow if you think consequently in time.
Even if they don't keep the whole decoded code in memory but only for the displayed data they could pre calculate one screen ahead and behind which could make the movement smooth.     

Have you tried using the decoding table? The decoding table displays the decoded data and the corresponding line number and time in table format. It can be used to observe longer decoded data to solve the problem that some data could not be seen clearly on the screen.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 30, 2013, 10:52:46 am
What do you guys think about the decoding of those scope? 

I haven't used it all that much - just tested it here and there. To me, it seems like it's ok if in a pinch - but it doesn't replace a logic analyzer, which I would use for any serious decoding work. I do like using the advanced triggers and segmented memory to catch data bursts for deviation analysis.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: dpenev on March 31, 2013, 01:39:58 am
Hi Marmad

Quote
Quote from: dpenev on Yesterday at 08:39:45 PM

    OK probably i still haven't get the whole philosophy of the scope but I have to admit Rigol can easily optimize the decoded code showing on screen. Sometimes it is misaligned, it moves jumps by jumps and now it is difficult to follow if you think consequently in time.
    Even if they don't keep the whole decoded code in memory but only for the displayed data they could pre calculate one screen ahead and behind which could make the movement smooth.     


Have you tried using the decoding table? The decoding table displays the decoded data and the corresponding line number and time in table format. It can be used to observe longer decoded data to solve the problem that some data could not be seen clearly on the screen.

Yes I have seen the decoding table but I seems to trust the decoding more seeing the actual traces at the same time :)
Lets hope that the small glitches around the serial decoding will get improved with the next firmware revision

Regards
Dimitar
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on April 07, 2013, 11:04:51 pm
Nice acknowledgement to Marmad by Dave on
https://www.eevblog.com/forum/blog/eevblog-451-rigol-ds1052e-vs-ds2072-oscilloscope/msg213908/#msg213908 (https://www.eevblog.com/forum/blog/eevblog-451-rigol-ds1052e-vs-ds2072-oscilloscope/msg213908/#msg213908)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on April 08, 2013, 05:52:30 pm
@Marmad

I tried to save Display in Bitmap mode, when "Cursor Track" was on. Scope was in stop mode while saving. I got errors as in the pictures and picture was not saved. When using "Cursor Manual", picture was saved correctly.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on April 08, 2013, 06:05:35 pm
I tried to save Display in Bitmap mode, when "Cursor Track" was on. Scope was in stop mode while saving. I got errors as in the pictures and picture was not saved. When using "Cursor Manual", picture was saved correctly.

Thanks, EV - I'll look for the problem when I get a chance.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on April 08, 2013, 07:19:03 pm
Also saving with "Cursor Auto" works ok.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on April 09, 2013, 07:04:14 am
I saved two pictures. Pic-1 is saved by RUU and Pic-2 is saved with scope. Pic-2 can not be saved by RUU because it has cursor window at the left upper corner. You can get the cursor window off choosing cursor mode off and then rotating multi purpose knob to get mode to track and pressing the knob.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on April 09, 2013, 05:18:49 pm
@EV  ,  Hello  that pulse looks like your JW pulse generator, was that S/N 32 or 60,
The Pulse does show nice bandwith on your Rigol.
I still have to build my JW pulser.  my 1st SMD project.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on April 09, 2013, 06:17:18 pm
@EV  ,  Hello  that pulse looks like your JW pulse generator, was that S/N 32 or 60,
The Pulse does show nice bandwith on your Rigol.
I still have to build my JW pulser.  my 1st SMD project.

Hi Teneyes, it is S/N 60. It has a little bigger amplitude (11.4 V) than S/N 32 (10.8 V), as you can see from the calibration paperwork given by free_electron.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Evi on April 18, 2013, 05:21:45 am
Hello
my DS2072 saved screens on the flash as .trc files. Searching all inet I have no idea how to work with it.
Does anybody know what it is? Example in attachment.
Thanks in advance,
Vladimir
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on April 18, 2013, 05:59:31 pm
I tried to save Display in Bitmap mode, when "Cursor Track" was on. Scope was in stop mode while saving. I got errors as in the pictures and picture was not saved. When using "Cursor Manual", picture was saved correctly.

I tested this and discovered that this is a bug (or somehow feature-dependent) problem with the Rigol (nothing to do with RUU): the DSO won't send a bitmap image of the screen if the Tracking Cursor Window is open.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on April 18, 2013, 09:12:39 pm
I tested this and discovered that this is a bug (or somehow feature-dependent) problem with the Rigol (nothing to do with RUU): the DSO won't send a bitmap image of the screen if the Tracking Cursor Window is open.

Should you add this to the bug list? It is not a big problem. The picture can be saved to usb stick directly with storage button.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on April 18, 2013, 09:19:14 pm
Should you add this to the bug list? It is not a big problem. The picture can be saved to usb stick directly with storage button.

I think it's too tiny a problem to bother. I haven't noticed any other time that the Rigol wouldn't send the bitmap image, but if we start to find more - then we can put them together as a single item for the bug list.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on April 18, 2013, 11:11:30 pm
I tried to save Display in Bitmap mode, when "Cursor Track" was on. Scope was in stop mode while saving. I got errors as in the pictures and picture was not saved. When using "Cursor Manual", picture was saved correctly.
Is there a valid reason not to capture a bitmap, as the cursors can be moving. Or it will slow DSO?

Is there a RUU program work around by forcing DSO into  "Cursor Manual".
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on April 18, 2013, 11:22:35 pm
Is there a valid reason not to capture a bitmap, as the cursors can be moving. Or it will slow DSO?

I don't know; the Rigol just doesn't respond to a request for the screen image when the Tracking Window is displayed - and RUU stops waiting (times out).

Quote
Is there a RUU program work around?.

Save to USB stick  ;D
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: roli_bark on May 06, 2013, 08:14:12 pm
Hi MarMad,
I'm new here. Own a DS4014.
Your efforts are appreciated, and keeping the updates/additions alive is of great help.
One item on my wish-list, and a question for you, is whether the possibility of adding Serial Protocols decoders option to your package, is feasible ?
[e.g. - serial captured data off a SPI, I2C, UART, JTAG, etc,  is sent over automatically & decoded by the PC, rather than having the add-on option, had it on trial and it's gone after re-cal]

 
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on May 06, 2013, 09:29:22 pm
Hi MarMad,
I'm new here. Own a DS4014.
 Is whether the possibility of adding Serial Protocols decoders option to your package, is feasible ?
[e.g. - serial captured data off a SPI, I2C, UART, JTAG, etc,  is sent over automatically & decoded by the PC, rather than having the add-on option, had it on trial and it's gone after re-cal]

@Roli_bark
  From Monty Pyphon's Holy Grail "I don't think he will be very keeeen. Uh, he's already got one, you see."


 But I would support Marmad to add functions to transfer the decoded data to a PC   :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EV on May 07, 2013, 06:40:04 am
But I would support Marmad to add functions to transfer the decoded data to a PC   :)

Maybe FFT window and other maths also?  :) :-//
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: BravoV on May 07, 2013, 06:57:12 am
Anyone ever tried the WFM Viewer at DS2xxx series ? Although it was designed for DS1052E.

Linky here -> Using Rigol DS1052E for spectrum analysis (https://www.eevblog.com/forum/chat/using-rigol-ds1052e-for-spectrum-analysis/)

Example screen :

(https://www.eevblog.com/forum/chat/using-rigol-ds1052e-for-spectrum-analysis/?action=dlattach;attach=25155;image)

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: roli_bark on May 07, 2013, 10:40:03 am
But I would support Marmad to add functions to transfer the decoded data to a PC   :)

Thanks, but transferring the already [scope made] decoded data to the PC won't help those who haven't got this Scope option. It still would be nice to have a PC SW make this decoding on raw stored serial data.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 07, 2013, 10:51:57 am
Anyone ever tried the WFM Viewer at DS2xxx series ? Although it was designed for DS1052E.
Yes, as mentioned in this post (https://www.eevblog.com/forum/testgear/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/msg176602/#msg176602).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 07, 2013, 11:02:10 am
Hi MarMad,
I'm new here. Own a DS4014.
Your efforts are appreciated, and keeping the updates/additions alive is of great help.
One item on my wish-list, and a question for you, is whether the possibility of adding Serial Protocols decoders option to your package, is feasible ?
[e.g. - serial captured data off a SPI, I2C, UART, JTAG, etc,  is sent over automatically & decoded by the PC, rather than having the add-on option, had it on trial and it's gone after re-cal]

Thanks for your comments.

Obviously, the DS2000/4000 don't transfer data fast enough for external software to do real-time decoding. In terms of decoding data after it's been captured, there are two points:
1) The main thrust of RUU was to try to add features which are missing from the UltraVision series (saving of recorded frames, markers in Zoom mode, etc). That doesn't mean I wouldn't consider it, but it wouldn't be high on the list of priorities.
2) There might be other software available already (or a MATLAB/LabVIEW script) which does decoding - and then it would be simply a matter of translation. I would explore that avenue first.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: roli_bark on May 07, 2013, 12:33:13 pm
2) There might be other software available already (or a MATLAB/LabVIEW script) which does decoding - and then it would be simply a matter of translation. I would explore that avenue first.

Good idea. I know people who use Matlab to do highly complex (proprietary) protocol decoding. The I2C/SPI/UART (and maybe even JTAG) and the like, are relatively quite easy to decode.

Thanks anyways.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: eT0M on May 14, 2013, 07:29:18 pm
@roli_bark
You should have look to the sigrok.org project, they deal with exactly this topic. They support a whole bunch "data aquisition" tools (also the Rigol scopes) to do an offline signal decoding. I haven'd had the time yet to look deeper into their tools, but is seems quite useful. Maybe it helpful for you....

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: roli_bark on May 23, 2013, 09:18:26 pm
Thanks a lot, very interesting.

But for Rigol DSOs,  unfortunately the DS2000/DS4000 aren't supported (yet?)


Sent from my GT-I9300 using Tapatalk 2
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Hydrawerk on May 24, 2013, 03:35:03 pm
https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39800;image (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=39800;image)
Is there a similar PC software for Agilent DSOX2000 series?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 24, 2013, 04:16:28 pm
Is there a similar PC software for Agilent DSOX2000 series?

Why post this question in a topic visited by Rigol owners? Wouldn't it make more sense in an Agilent topic - or a new topic?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MrsR on May 24, 2013, 06:07:08 pm
Is there a similar PC software for Agilent DSOX2000 series?

Why post this question in a topic visited by Rigol owners? Wouldn't it make more sense in an Agilent topic - or a new topic?

AS AGILENT IS BEING MENTIONED, the software division at work Emailed me to tell me that an Agilent software will work with DS-2000 series scopes. He didn't know which version it is and will chase it down you need a plug&play USB driver. I did go and have a look at their Web Site but could not down load software I picked to try.

On another topic I set my 2072 on 56Mps but I could only record 15 frames is this a problem with my scope or me doing some thing wrong.
I have only had the Scope for a couple of days and it is different to my old scopes (setting up etc)
THANKS GUYS
Rachael :-+
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 24, 2013, 06:26:29 pm
On another topic I set my 2072 on 56Mps but I could only record 15 frames is this a problem with my scope or me doing some thing wrong.
I have only had the Scope for a couple of days and it is different to my old scopes (setting up etc)
THANKS GUYS
Rachael :-+

Hi Rachel - Are you sure about those numbers? Normally the Rigol uses in the neightborhood of ~114MB max (or 65000 frames max) for the recording. You don't set the memory depth for the amount of frames (or segments) that you want; instead, you set it for the size you want each frame to be - and the DSO figures out the maximum number you can have. Then you can set the amount of frames you want from 1 to the maximum.

So the memory depth / frames ratio is:
56MPts = 2 frames
28MPts =  2 frames
14MPts =  7 frames
7MPts =  7 frames
5.6MPts =  15 frames *
2.8MPts =  31 frames *
1.4MPts =  63 frames *
700kPts =  63 frames
560kPts = 127 frames
280kPts = 254 frames *
140kPts = 508 frames *
70kPts = 508 frames
56kPts = 2032 frames
28kPts = 4064 frames *
14kPts = 8128 frames *
7kPts = 8128 frames
5.6kPts = 16256 frames
2.8kPts = 32512 frames *
1.4kPts = 65000 frames *
< 1.4kPts = 65000 frames

bold = AUTO memory depth setting only
* = next lowest frame amount with 2 channels

Mark
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: jamesb on June 06, 2013, 04:49:42 pm
Holy crap this looks awesome!
Seriously impressive work here. I can't wait to get home and give this a shot!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on June 09, 2013, 01:11:18 pm
Hey everybody - just a quick update here:

I'm currently working on the next version of RUU - which, depending on time constraints, should be ready in the next couple of weeks. Rigol has fixed the DSO->PC memory transfer bug in the latest FW, so I'm revamping the file-saving routines so that all possible sample lengths or file formats can be saved more easily (and much faster) than by using a USB stick. Since Rigol has once again changed their new WFM format with this latest release, RUU will use the Rigol DS1000 format for WFM files (until documentation arrives for the newer format - then it will be selectable), which will allow us to use the files with software and scripts which have already been developed for the older version WFMs (such as dexter2048's great WFM Viewer (http://meteleskublesku.cz/wfm_view/) - as mentioned above by BravoV).

Also, the new FW includes new (as-yet undocumented) SCPI commands to control the DSO - so I hope to include a new skin for the software for simple, full-control of the DSO from the PC (for DS2000 owners - to start  ;)):

(http://www.daysalive.com/share/Rigol2.png)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Harvs on June 09, 2013, 01:17:06 pm
Nice one mate, look forward to it.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: jamesb on June 09, 2013, 04:02:49 pm
Man .. your work is impressive!
I can't wait to give this a whirl! Thanks a million for all of your effort - I'm not nearly talented enough to do what you've done so I sincerely appreciate your talents and effort.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on June 09, 2013, 04:09:02 pm
Man .. your work is impressive!
I can't wait to give this a whirl! Thanks a million for all of your effort - I'm not nearly talented enough to do what you've done so I sincerely appreciate your talents and effort.

Thanks for the kind words, James (and Harvs)  ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on June 26, 2013, 01:43:56 am
Also, the new FW includes new (as-yet undocumented) SCPI commands to control the DSO [...]
Hey Marmad, how did you find the undocumented SCPI commands - from a firmware dump, or something else?

Am writing some VB 2010 code for pinging local network subnet, fetching MACs & IPs from ARP table, then checking vendor ID to find possible scopes on local LAN, can construct SCPI connection string from IP and use in programmes like your.  Should be easy, will post code once complete.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on June 26, 2013, 12:27:49 pm
Hey Marmad, how did you find the undocumented SCPI commands - from a firmware dump, or something else?

Yes, exactly, FW dump.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on July 04, 2013, 08:08:48 pm
Hi Mark
  Here are some displays ofr a frequency sweep:
1st is the a 3D
and the next 3 are screen captures of the same sweep with different "Averaging" settings
All at 'Min' persistance
And the 5th display is an animated GIF of the sweep , frame by frame , but Not what gets displayed on th DSO ,(because of Average of frame over frame.

Now the DSO preforms the Averaging over many Frames so the results are different depending on the number of averages and speed of Frequency sweeping.

The question is:
  Is there any benefit to adding 'Frame over Frame' Post Functions to Your RUU software?
     Such as Averaging like the DSO is doing
     Persistance , RUU already does
     (Y)Max-Min boundary envelop on a Animated GiF (Y-T)
 

   
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on July 04, 2013, 08:17:53 pm
The question is:
  Is there any benefit to adding 'Frame over Frame' Post Functions to Your RUU software?

Not sure what you mean - you'll have to be more specific.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: linus on July 06, 2013, 01:23:28 pm
Hi

I just got for evaluation a DS4012 and found this software. After installing, I get an error if I try to connect, the RUU add the correct Name "DS4012" to the title bar but then shortly pops up with "DSO not responding to query and/or command - RUU closing connection" ... then a few times "DSO is not conected"

The Ultra Sigma Screencapture works fine though.

I connect using USB and LAN. If USB is not connected, it asks for the device, I enter "TCPIP::192.168.1.50::INSTR", then, same error.

Any idea what is wrong?


Cheers
Linus
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on July 06, 2013, 02:04:12 pm
Hi

I just got for evaluation a DS4012 and found this software. After installing, I get an error if I try to connect, the RUU add the correct Name "DS4012" to the title bar but then shortly pops up with "DSO not responding to query and/or command - RUU closing connection" ... then a few times "DSO is not conected"

The Ultra Sigma Screencapture works fine though.

I connect using USB and LAN. If USB is not connected, it asks for the device, I enter "TCPIP::192.168.1.50::INSTR", then, same error.

Any idea what is wrong?

If you're sure your connection is good, it might have to do with the fact that you're using a 2-channel DS4000 series (I don't think that's ever been tested). When I get a chance, I'll look at the code.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: linus on July 06, 2013, 04:19:20 pm
Hi

that would be very kind. Yes, the connection is 100% working. The demo VBA XLS from Rigol does get data as the Screencapture with Ultra Sigma does. Both work fine with USB and LAN.


Cheers
Linus
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: linus on July 11, 2013, 03:26:46 pm
Hi

just for you to know, I had to return the DS4012, so if ever you have a chance to fix this issue I will no longer be able to test it.

Cheers
Linus
Title: ScopeCommander - autodetect Rigol LAN/WIFI/USB scopes and install codes.
Post by: Chalky on July 13, 2013, 12:27:10 pm
Wrote this little app to allow auto-installation of licence codes (or any other SCPI commands) for your Rigol scope.

There are similar apps/scripts out there, but this one is different.  I wanted to connect my DS2072 into my home LAN, then have the app automatically detect it from my WIFI laptop, then have the codes auto installed.  Works.

You'll need the attached files, a Windows computer with .NET 4.0, NI Visa 5.3 runtime or full product.

Edit: Updated.  Tested on Windows 7 32-bit, works with either NI VISA 5.2 or NI VISA 5.3.
Edit: Updated to v1.2 - re-instate filtering, only TCPIP and USB devices are detected, others are ignored.
Title: Re: ScopeCommander - autodetect Rigol LAN/WIFI/USB scopes and install codes.
Post by: Evi on July 13, 2013, 01:17:29 pm
Wrote this little app to allow auto-installation of licence codes (or any other SCPI commands) for your Rigol scope.

There are similar apps/scripts out there, but this one is different.  I wanted to connect my DS2072 into my home LAN, then have the app automatically detect it from my WIFI laptop, then have the codes auto installed.  Works.

You'll need the attached files, a Windows computer with .NET 4.0, NI Visa 5.3 runtime or full product.
Hello, I got the following error:
Code: [Select]
An unhandled exception: System.IO.FileLoadException: Could not load file or assembly "NationalInstruments.VisaNS, Version = 13.0.40.167, Culture = neutral,
PublicKeyToken = dc6ad606294fc298 "or one of its dependencies. Naide
Goes assembly's manifest definition does not match the assembly reference. (Exception
  from HRESULT: 0x80131040)
    in NS.Scope.Module1.Main ()


I copied NationalInstruments.VisaNS.dll from RUU folder to your program folder, but no result.
Any ideas?
Title: Re: ScopeCommander - autodetect Rigol LAN/WIFI/USB scopes and install codes.
Post by: Evi on July 13, 2013, 01:19:49 pm

[/size]

Wrote this little app to allow auto-installation of licence codes (or any other SCPI commands) for your Rigol scope.

There are similar apps/scripts out there, but this one is different.  I wanted to connect my DS2072 into my home LAN, then have the app automatically detect it from my WIFI laptop, then have the codes auto installed.  Works.

You'll need the attached files, a Windows computer with .NET 4.0, NI Visa 5.3 runtime or full product.
Hello, I got the following error:
Code: [Select]
An unhandled exception: System.IO.FileLoadException: Could not load file or assembly
"NationalInstruments.VisaNS, Version = 13.0.40.167, Culture = neutral,
PublicKeyToken = dc6ad606294fc298 "or one of its dependencies. Naide
Goes assembly's manifest definition does not match the assembly reference. (Exception
  from HRESULT: 0x80131040)
    in NS.Scope.Module1.Main ()


I copied NationalInstruments.VisaNS.dll from RUU folder to your program folder, but no result.
Any ideas?
Title: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on July 13, 2013, 07:48:23 pm
Hello, I got the following error:
Code: [Select]
An unhandled exception: System.IO.FileLoadException: Could not load file or assembly
"NationalInstruments.VisaNS, Version = 13.0.40.167, Culture = neutral,
PublicKeyToken = dc6ad606294fc298 "or one of its dependencies. Naide
Goes assembly's manifest definition does not match the assembly reference. (Exception
  from HRESULT: 0x80131040)
    in NS.Scope.Module1.Main ()


I copied NationalInstruments.VisaNS.dll from RUU folder to your program folder, but no result.
Any ideas?
Hi there, yeah instead of copying any files, just install the NI VISA v5.3 runtime.  Should work ok, but pleas let me know if it doesn't.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Evi on July 14, 2013, 05:37:02 am
Hello, I got the following error:
Code: [Select]
An unhandled exception: System.IO.FileLoadException: Could not load file or assembly
"NationalInstruments.VisaNS, Version = 13.0.40.167, Culture = neutral,
PublicKeyToken = dc6ad606294fc298 "or one of its dependencies. Naide
Goes assembly's manifest definition does not match the assembly reference. (Exception
  from HRESULT: 0x80131040)
    in NS.Scope.Module1.Main ()


I copied NationalInstruments.VisaNS.dll from RUU folder to your program folder, but no result.
Any ideas?
Hi there, yeah instead of copying any files, just install the NI VISA v5.3 runtime.  Should work ok, but pleas let me know if it doesn't.
No success. I guess it's NetFw 4.0 and 4.5 conflict.
Title: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on July 14, 2013, 06:12:57 am
Evi, let me know your OS version, and whether 32-bit or 64-bit and I'll sort it out, test, and re-post.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Evi on July 14, 2013, 06:44:54 am
Evi, let me know your OS version, and whether 32-bit or 64-bit and I'll sort it out, test, and re-post.
Windows 7/32
Ultra Sigma and RUU works fine.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on July 16, 2013, 12:36:36 pm
Evi, let me know your OS version, and whether 32-bit or 64-bit and I'll sort it out, test, and re-post.
Windows 7/32
Ultra Sigma and RUU works fine.
Hi Evi, try the updated version, let me know how you get on?  Have tested this on Windows 7 x32.  No need to copy any files, as long as NI-VISA 5.2 or 5.3 is installed.  If it doesn't work, again, could you let me know which NI-VISA you have?
 :D /forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg261360/#msg261360 (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg261360/#msg261360)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Evi on July 17, 2013, 04:12:41 am
Evi, let me know your OS version, and whether 32-bit or 64-bit and I'll sort it out, test, and re-post.
Windows 7/32
Ultra Sigma and RUU works fine.
Hi Evi, try the updated version, let me know how you get on?  Have tested this on Windows 7 x32.  No need to copy any files, as long as NI-VISA 5.2 or 5.3 is installed.  If it doesn't work, again, could you let me know which NI-VISA you have?
 :D /forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg261360/#msg261360 (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg261360/#msg261360)


Hello, it's getting better... But why USB INSTR ?



c: \ Program Files \ RIGOL Technologies, Inc \ Scope Commander> scopecommander
Devices found: 2


Device: ASRL3 :: INSTR
* IDN?
An unhandled exception: System.ArgumentException: An invalid resource type wa
s passed into the resourceName parameter. The resource name is valid for your s
ystem, but it is not of type USB INSTR. Either provide a resource name with the
  correct resource type, or set the checkResourceType parameter to false.
Parameter name: resourceName
    in NationalInstruments.VisaNS.Session .. ctor (String resourceName, AccessModes a
ccessMode, Int32 openTimeout, String expectedResourceName)
    in NationalInstruments.VisaNS.MessageBasedSession .. ctor (String resourceName, A
ccessModes accessMode, Int32 openTimeout, String expectedResourceName)
    in NationalInstruments.VisaNS.UsbSession .. ctor (String resourceName)
    in NS.VisaNetDriver.query (String connString, ConnectionType connType, String t
ext) in C: \ Users \ nathan \ Desktop \ ScopeCommander Com \ VisaNetDriver \ VisaNetDriver.vb
: line 46
    in NS.Scope.Module1.Main () in C: \ Users \ nathan \ Desktop \ ScopeCommander Com \ ScopeC
ommander \ Module1.vb: line 31
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on July 17, 2013, 12:03:07 pm
Hello, it's getting better... But why USB INSTR ?
[...]
Device: ASRL3 :: INSTR
Fixed.  Reason is because I'm a dipstick  :P .  App is supposed to only include TCPIP and USB devices, I'd disabled the filtering, so my list of 'USB' devices was actually returning me ALL devices, so it tried to connect to your ASRL3 device address over USB which failed.  Filtering re-enabled to fix that.  Also handles connection errors more gracefully now.

Cheers.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Evi on July 17, 2013, 12:22:13 pm
Hello, it's getting better... But why USB INSTR ?
[...]
Device: ASRL3 :: INSTR
Fixed.  Reason is because I'm a dipstick  :P .  App is supposed to only include TCPIP and USB devices, I'd disabled the filtering, so my list of 'USB' devices was actually returning me ALL devices, so it tried to connect to your ASRL3 device address over USB which failed.  Filtering re-enabled to fix that.  Also handles connection errors more gracefully now.

Cheers.
So,...?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on July 17, 2013, 12:28:20 pm
Sorry, yes, I should have said, download v1.2 from my original post here: https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg261360/#msg261360 (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg261360/#msg261360)   :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Evi on July 17, 2013, 12:36:08 pm
Sorry, yes, I should have said, download v1.2 from my original post here: https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg261360/#msg261360 (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg261360/#msg261360)   :)


"Devices found: 0
Finished.  Press any key to exit..."


Could you provide source?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on July 17, 2013, 12:44:10 pm
"Devices found: 0
Finished.  Press any key to exit..."
Could you provide source?
Yeah sure, will dig that out and upload tomorrow.  What connection type is your scope using, USB or LAN?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Evi on July 17, 2013, 06:46:19 pm
"Devices found: 0
Finished.  Press any key to exit..."
Could you provide source?
Yeah sure, will dig that out and upload tomorrow.  What connection type is your scope using, USB or LAN?
Pardon, as you stated LAN
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on July 17, 2013, 09:03:00 pm
Pardon, as you stated LAN
Hmmm, if your computer and scope are on the same subnet, then it should be auto detected.  Can you try and USB and see if that works OK too?  Mine working on either USB or LAN.

Regardless, I'll add a GUI for manual IP address entry & upload new version. 
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Evi on July 18, 2013, 04:27:30 pm
Pardon, as you stated LAN
Hmmm, if your computer and scope are on the same subnet, then it should be auto detected.  Can you try and USB and see if that works OK too?  Mine working on either USB or LAN.

Regardless, I'll add a GUI for manual IP address entry & upload new version.


Well, with the USB:
But what for you write these EEEEEEEEEEEEEEEE?
I need correct lic.


Code: [Select]
[code]Devices found: 1


Device: USB0::0x1AB1::0x04B0::DS2A14530xxxx::INSTR
*IDN? = RIGOL TECHNOLOGIES,DS2202,DS2A145302589,00.01.00


:SYSTem:OPTion:INSTall EEEEEEEBEBEEBBBBN4EEEEEEEEEE
:SYSTem:OPTion:INSTall EEEEEEEBEBEEBBBBN5EEEEEEEEEE
:SYSTem:OPTion:INSTall EEEEEEEBEBEEBBBBN6EEEEEEEEEE
*IDN? = RIGOL TECHNOLOGIES,DS2202,DS2A14530xxxx,00.01.00


uninstall
*IDN? = RIGOL TECHNOLOGIES,DS2202,DS2A14530xxxx,00.01.00


Finished.  Press any key to exit...
[/code]
Title: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on July 18, 2013, 09:59:22 pm
But what for you write these EEEEEEEEEEEEEEEE?
I need correct lic.
Sorry mate, as stated, I don't know legality of any licence/trial keys out there, you'll need to get your own.  This is just a VISA command automation tool.
Title: Need Help with RUU (on WinXP for DS1000Z)
Post by: Electro Fan on November 09, 2013, 10:39:58 pm
Latest version: 2.03 (download link at the bottom of this post - change log in the second post)

This documentation is slightly out-of-date for the latest version. Make sure you read this for the latest news and info. (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg194234/#msg194234) and then read below if you haven't used RUU before.

This thread is for user-written software and tips for the Rigol DS2000 (4000/6000) UltraVision scopes. Impressions, reviews, bugs, etc, can be found at this thread. (https://www.eevblog.com/forum/reviews/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/) Please post hardware/firmware problems, questions, feelings, etc. at the other thread. (https://www.eevblog.com/forum/reviews/first-impressions-and-review-of-the-rigol-ds2072-ds2000-series-dso/)

In order to use this software, you will need:
1) Rigol UltraVision DSO
2) Computer  (the software was written with VS 2010 on a Windows7 x64 platform - and tested under Win7 x86 as well - but I would think it would work fine with WindowsXP as well)
3) NI VISA Runtime (this must be installed for the PC to communicate with the Rigol - you can download the latest version for free here (http://joule.ni.com/nidu/cds/view/p/id/3342) - btw, you can fill in any garbage to create an account)

If anyone has a problem installing - or getting it to work on their system - let me know and I'll see what I can do.


Marmad - I have the NI-VISA 5.2 Runtime installed, along with Ultra Sigma (which shows the IP address of the DS1104Z), and I have the RUU 2.03 app installed.  The scope also shows my IP address.  But when I hit connect in RUU it shows the outline of small dialogue box titled Visa <-> SCPI but the dialogue box doesn't render fully and there is no opportunity to manually insert the IP address.  An error message comes up saying DSO not responding to query and/or command - RUU clsoing connection.  Any ideas on how to fix this?  Thanks, EF

-----

Some progress:  I disconnected the USB cable and just focused on the TCP/IP network connection (rather than having both connected at the same time).  This enabled the RUU software to fully render the dialogue box. 

I entered TCPIP::xx.x.x.xxx::INSTR (with the x's being my IP address as shown by the scope and the Ultra Sigma app), but it continued to throw an error.

I noticed that on the scope the IP address is given as TCPIP0::xx.x.x.xxx::INSTR, so on a flyer I tried to enter the info in the RUU dialoge box as TCPIP1::xx.x.x.xxx::INSTR.  This time the RUU app seemed a little happer but it still gave an error message:  "The interface type is valid, but the specified interface number is not configured.  VISA error code – 1073807195 (0xBFFF0A5), ErrorInterfaceNumberNotConfigured"

Any suggestions?  Thanks!
Title: Need Help with RUU
Post by: Electro Fan on November 11, 2013, 03:34:29 am
Still trying to get RUU to run in case anyone has any suggestions.

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Harvs on November 11, 2013, 05:42:18 am
I could be wrong, but I don't remember Marmad ever posting that support had been added for the DS1000z series scopes.
Title: Question about Marmad's RUU - will it work with DS1000Z?
Post by: Electro Fan on November 11, 2013, 06:29:18 am
I could be wrong, but I don't remember Marmad ever posting that support had been added for the DS1000z series scopes.

Hi Harvs,

Thanks - I was just logging on to ask that exact question.  Any one else out there with a DS1000Z that has tried to get the Marmad's RUU app running?

Calling Marmad - what say the author?
Thanks! EF
Title: Re: Question about Marmad's RUU - will it work with DS1000Z?
Post by: marmad on November 11, 2013, 03:03:51 pm
Calling Marmad - what say the author?
Thanks! EF

Sorry, I haven't had any time to look into the SCPI command set and protocols for the DS1000Z series, but my guess at this moment is that RUU isn't compatible with it without some changes. I'm working on a newer version of RUU - and when I get some extra time, I'll try to add DS1000Z compatibility.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Electro Fan on November 11, 2013, 04:31:54 pm
Ok, Thanks.

Just curious, do you think it's just a matter of time or is it more a question of whether the new version will support the 1000Z?  I'm still right on the fence between the 1000Z and the 2000 - this might influence the choice.    Thanks, EF
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on November 11, 2013, 06:36:38 pm
Just curious, do you think it's just a matter of time or is it more a question of whether the new version will support the 1000Z?  I'm still right on the fence between the 1000Z and the 2000 - this might influence the choice.    Thanks, EF

Well, my long-term plan is for many of the commands in RUU to function across the entire UltraVision line - but since I currently only own a DS2000 to test on, some of the more esoteric features will only be available for that series.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rory on December 18, 2013, 03:27:51 pm
What is the default username and password for the DS2072 LXI-Web page for network settings?

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rory on December 18, 2013, 04:57:10 pm
What is the default username and password for the DS2072 LXI-Web page for network settings?
Hi Rory
  for DS2000 , used Utily  - IO setting  -   LAN Set  ,
but Marmad has found that USB is Faster to the DS2000

If updated to DS2302 , check the device list is enable in the software you are using

Thanks, still unable to find where to set the password/username. Utility-IO Setting-LAN Set doesn't have it, as far as I can see.  This password is when the scope is accessed via web browser, and the password can be changed but needs the default password to do so. 

Not sure I like having a piece of gear with a network-accessible feature that has a password I am not privy to. :(

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rory on December 18, 2013, 05:40:31 pm
What is the default username and password for the DS2072 LXI-Web page for network settings?
Hi Rory
  for DS2000 , used Utily  - IO setting  -   LAN Set  ,
but Marmad has found that USB is Faster to the DS2000

If updated to DS2302 , check the device list is enable in the software you are using

Thanks, still unable to find where to set the password/username. Utility-IO Setting-LAN Set doesn't have it, as far as I can see.  This password is when the scope is accessed via web browser, and the password can be changed but needs the default password to do so. 

Not sure I like having a piece of gear with a network-accessible feature that has a password I am not privy to. :(
Answering my own question, and it works for me:
http://www.rigol-uk.co.uk/kb_results.asp?ID=13 (http://www.rigol-uk.co.uk/kb_results.asp?ID=13)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: WVL_KsZeN on December 18, 2013, 06:33:43 pm
Probably I'm missing something, but couldnt find anything about it.

It seems that when i put my scope in Roll mode, then RUU loses connection. Is the rolling mode not supported or is this a bug?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 18, 2013, 06:45:00 pm
Probably I'm missing something, but couldnt find anything about it.

It seems that when i put my scope in Roll mode, then RUU loses connection. Is the rolling mode not supported or is this a bug?

Thanks for the feedback.

I'd say both. I don't remember ever testing RUU with Roll mode, but it's likely the DSO won't transfer display memory - either at all or in the same way (since it's gathering samples continuously - as opposed to a screen at a time) - but I'll make sure to test Roll mode for the upcoming version, and at minimum, add an elegant exit.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: WVL_KsZeN on December 18, 2013, 07:53:57 pm
Forgot to say : thanks for the software! i think it's really nice to capture waveforms and do manual analysis of the data. Would it be possible to transfer a full waveform (all 56Mpts) to the pc or are we limited to the data that's on the screen?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 18, 2013, 07:57:52 pm
Forgot to say : thanks for the software! i think it's really nice to capture waveforms and do manual analysis of the data. Would it be possible to transfer a full waveform (all 56Mpts) to the pc or are we limited to the data that's on the screen?

Yes, next version will allow for saving any/all sample memory. Early versions of the firmware had a bug which kept any software (including RUU) from reading sample memory (the PC could only read display memory), but that has been fixed - so it's coming!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: WVL_KsZeN on December 19, 2013, 11:00:48 am
Coolio! great work!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: van-c on December 22, 2013, 05:52:47 am
I've been using the LAN mode to connect a PC and my DS2000.  To set it up, the Utility menu on the scope is used to determine its IP address and then on the PC the Ultra Sigma LAN option is used to "Create LAN Instrument Resource" by manually entering the scope's IP address.  Next the "Test" button is clicked and if a successful message follows, the "Add" button is used to create a new resource.  Finally, with Ultra Sigma still running, I start up RUU and enter that resource name to connect to the DS2000.  Everything seems to work fine with RUU communicating with the scope this way.

However, I've noticed that sometimes when the scope sits idle while connected this way and enters the screen saver mode, the scope becomes non-responsive.  I haven't been able to determine exactly when the freeze occurs; I'll look over at the scope and notice that the "RIGOL" screen save has stopped moving, but cannot tell exactly when it stopped.  Once it enters that mode, the only way to get out of it is to cycle power.  This has happened several times, but I haven't been able to reproduce it in a predictable way.  I haven't had the problem using USB to connect, but I've only used USB a few times because my scope is across the room from the PC and the LAN connection is much more convenient.

I suppose this could be an issue with Ultra Sigma, RUU or my scope.  (But it doesn't lock up at other times.)  So I'm curious if anyone else has seen any quirky behavior with the DS2000 when the LAN mode is used with Ultra Sigma or RUU. 
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 22, 2013, 09:24:42 am
So I'm curious if anyone else has seen any quirky behavior with the DS2000 when the LAN mode is used with Ultra Sigma or RUU.
Well I have been having problems with RUU compling frame files.
The playing of recorded Frames appears OK
But!
I only get 1 frame, at one setup (FW 2.01.00.03)
and later
I only get a Blank 3-D gird.,
The saving of the FrArray steps through the Frames on the DSO , OK
but no frames get to the small RUU file

I have managed to clear the lock up by playing with I/O set and LAN settings
not sure witch, but  change a reboot, change and re boot DSO .
somehow something gets reset
and now RUU is OK at latest setup.
Displays below  show 1 stuck plot then 2 good Frame Compile 3-D plots

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 25, 2013, 07:26:24 pm
Well I have been having problems with RUU compling frame files.
The playing of recorded Frames appears OK
But!
I only get 1 frame, at one setup (FW 2.01.00.03)
and later
I only get a Blank 3-D gird.,
The saving of the FrArray steps through the Frames on the DSO , OK
but no frames get to the small RUU file

@Teneyes: After testing, I've found NO problems whatsoever compiling frame files with RUU and FW 2.01.00.03. I've only been using the USB connection, so it's possible that there are changes in the LAN connection FW routines - when I have a chance, I'll try it with LAN. But with USB: no problems.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on December 25, 2013, 09:35:47 pm

@Teneyes: After testing, I've found NO problems whatsoever compiling frame files with RUU and FW 2.01.00.03. I've only been using the USB connection, so it's possible that there are changes in the LAN connection FW routines - when I have a chance, I'll try it with LAN. But with USB: no problems.
@Marmad
I narrowed the conditions:
The Errors occurred when 5 measurements were on the display and/or the Util-Record menu was open.   
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Co6aka on December 26, 2013, 04:54:16 am
Either I've (temporarily) become too spiritual or there's no DL link at the bottom of the first post...?  :-//
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 27, 2013, 05:43:35 pm
Either I've (temporarily) become too spiritual or there's no DL link at the bottom of the first post...?  :-//

I was planning to upload a newer version - but there's still some work left to do with it - so I've replaced the download link for V.2.03 after the change log in the bottom of the second post (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg171692/#msg171692).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: van-c on December 27, 2013, 07:22:28 pm
In reply #344 I posted about a DSO lockup when using a LAN connection with RUU and Ultra Sigma.  I later connected the DSO to the PC using USB and ran RUU several times (without Ultra Sigma) and had no problem.  Then I ran Ultra Sigma by itself over both USB and LAN and had no problem.

So the symptoms suggest my DS2000 lockup issue happens only when the LAN-connected DSO is added as an Ultra Sigma resource that is used by RUU to communicate with the DSO.

--Van
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2013, 05:14:39 pm
Since I discovered the SCPI commands for manipulating REF waveforms, I've been experimenting with using them to create a kind of infinite-persistence effect during Frame playback - since that's one feature that's sorely missing on the DS2000.

Here is one result from those experiments:

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 30, 2013, 09:10:21 pm
Good find Marmad
Does it work for Zoom, and can it add a Delay(time) compare function to RUU

Well, REF waveforms are fixed to the screen size - and you can only scale them vertically - not horizontally. But they do work in Zoom - and I'm testing different ways they might be used for work.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 06, 2014, 06:21:16 pm
I'm trying to expand RUU to work fully with the UltraVision 4-channel DSOs - first with the DS4000, and then later with the DS1000Z.

Since I own neither of these, I'll need some help testing. Since the DS4000 is closer to the DS2000 in waveform display and REC/PLAYBACK features, I'm doing that one first - so for now, I'm looking for DS4000 owner(s) who are willing to test the following upcoming features:

1) Make sure all 4 waveforms (and parameters) are displayed correctly on the PC screen (CH1 and CH2 already work in the last version).This is almost ready to be tested - just a couple of days to go.

2) Make sure saving and plotting Frame Arrays works with all 4 channels. This will be done after step #1 is confirmed working and bug free. This should be fun, because, when working, it will allow anyone with an UltraVision DSO to play/plot frames from any other UltraVision DSO - regardless of how many channels your DSO has.

So could any prospective DS4000 testers please contact me here - or via PM?

(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=75137)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on January 07, 2014, 08:15:25 pm
I have the pleasure of being able to offer the services of my DS4054

Cheers
Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 07, 2014, 08:44:47 pm
I have the pleasure of being able to offer the services of my DS4054

Cheers
Alex

Great, Alex. The 4-channel version is almost ready for it's first test. All Rigol screen parameters are now being transferred - except I've re-designed the screen layout a bit to give more information - for example, the size of any BW filter is specified, and any two-level or two-source Trigger has much more information presented on the RUU screen than on the Rigol screen.

You had already tried the old RUU and seen it working with 2 channels on the DS4000, right?

Best,
Mark
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on January 07, 2014, 10:36:14 pm
Yes, although it has been a while ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: kurtm on January 10, 2014, 04:06:59 pm

Today I installed RUU on my Win 7 Machine just to see if I could
do more than on my DS5054 directly.
After installing NI-VISA Runtime 5.2 I simply started RUU.
But as it happens very often which such programs, nothing worked
as expected. After pressing the "Connect"-button a small window came up
saying "No VISA found on USB or TCPIP -Enter resource name or cancel".
But what is meant by resource name ? the IP-Address, the Ident string
of the Instrument, the type number, the serial numer or what else ?
Unfortunately I could not find any installation instructions.
On the same PC the Rigol Ultra Sigma Software recognizes my instrument
correctly.
Somebody has an idea of what is going wrong here ?

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on January 10, 2014, 05:20:25 pm
After pressing the "Connect"-button a small window came up saying "No VISA found on USB or TCPIP -Enter resource name or cancel".
But what is meant by resource name ? the IP-Address, the Ident string of the Instrument, the type number, the serial numer or what else ?
Unfortunately I could not find any installation instructions.
That seems odd, seeing as how your exact question is answered in the first post of the thread, ~15 sentences down from the top. (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg171575/#msg171575)

BTW, this software was originally developed for the DS2000 series - it currently has only 2-channel support for the DS4000s - although a newer version is underway which will provide all 4 channels for DS4000s and DS1000Zs.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: manu on January 23, 2014, 02:45:29 pm
Hello,
Thank you for the good work!
As I recently bought a DS1104Zs, I'm hoping that the support of this serie your software will be quickly available.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mrflibble on February 03, 2014, 05:32:42 am
My software will connect with the scope using either USB or TCPIP VISA resources. If you're planning to save many recorded frames, it's best to use USB (USB: ~2.5s = ~6s transfer time on TCPIP). The VISA resource locator is not coded with a sniffer for finding TCPIP connections - so it's default behavior is as follows:

...

Note: the new UltraVision scopes (unlike Rigol's earlier series) have a very handy SCPI command to perform a screen grab. But the data is always transmitted as an 800x480x24 bit file (~1.152MB), so it takes ~2.5 seconds to get it to the PC and save it (using USB).

That's about 450 kbyte/s, any ideas as to why it is so slow? I thought the point of gigabit ethernet and usb was that it would be faster than GPIB. ;D
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mrflibble on February 03, 2014, 05:49:10 am
;D Yes, there are many things I can't control from RUU - since the owner also has control over the DSO from it's buttons. Two things trying to control the same device! But one problem with Rigol SCPI implementation is that it's missing a way for the DSO to communicate 'at' the software (like an interrupt - or a button press). It's a simple one-way protocol - you send a command to the scope and it sends back data. You could do much more with it if the scope could notify you directly of events - than the PC could be more easily programmed to act like added 'features' of the DSO without requiring human intervention, Right now I have to 'poll' the scope for changes - not very efficient (that's why the 'READ' buttons).

Bummer. That was indeed one thing I was trying to find in the DS1000Z programming guide. It would be pretty darn handy if you could tell the scope a mask of events (front panel buton press, what have you) and then have it send you a notification over ethernet or usb. That way you could track the user actions on the scope, and change the display in your application accordingly.

And it would be equally handy if you could emulate a front panel button press. That way you could programmatically control it as if you were pressing buttons on the panel.

Incidentally, is everything done by sending SCPI commands over USB? Or is there some extra rigol secret sauce to whatever is being sent over usb? Any scpi commands that were not in the programming guide?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mrflibble on February 03, 2014, 06:21:29 am
EDIT: Just as a note to those thinking of using TCPIP:
Display frames per second received from the scope (optimum case):
Normal Mode:
Single Channel: USB = ~25FPS / TCPIP = ~13FPS
Dual Channel: USB = ~17FPS / TCPIP = ~7FPS
Delayed Sweep Mode:
Single Channel: USB = ~14FPS / TCPIP = ~7FPS
Dual Channel: USB = ~11FPS / TCPIP = ~5FPS

Is this the update rate you are currently getting? Because if so, that looks totally usable. :)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: cybermaus on February 03, 2014, 08:01:00 am
- but since I currently only own a DS2000 to test on, some of the more esoteric features will only be available for that series.
Is there any DS1000Z Owner out there that will help Marmad test the RUU Software?

Still looking for that?
Just hooked up my DS1000Z through Ethernet to explore that side also. Controlling all 4 channels would be nice.

Additionally (and I understand its a lot more work, as its a whole new thing) how about controlling the signal gen? Setting it on the device is a bit if a drag. Its pretty much the same -S signal gen as on the DS2000(A)-S (if I read the specs)

You probably already have it, but here is a link to the DS1000Z programming manual (http://www.rigol.com/download/Oversea/DS/Programming_guide/DS1000Z_Programming%20Guide_EN.pdf)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 03, 2014, 01:46:13 pm
Still looking for that?
Just hooked up my DS1000Z through Ethernet to explore that side also. Controlling all 4 channels would be nice.

I've got a 4-channel version in the works - I'll hopefully get out a beta for DS4000/DS1000Z users to test in the next couple of weeks - swamped with other work at the moment.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on February 03, 2014, 01:49:24 pm
I've got a 4-channel version in the works - I'll hopefully get out a beta for DS4000/DS1000Z users to test in the next couple of weeks - swamped with other work at the moment.

Excellent; looking forward to that.

Thank you for your hard work.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: manu on February 03, 2014, 04:13:39 pm
Still looking for that?
Just hooked up my DS1000Z through Ethernet to explore that side also. Controlling all 4 channels would be nice.

I've got a 4-channel version in the works - I'll hopefully get out a beta for DS4000/DS1000Z users to test in the next couple of weeks - swamped with other work at the moment.

Very good news!
If you want some feedback, I'm ready to try beta software when its ready (I own a DS1104ZS) .
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mauroh on February 10, 2014, 12:44:12 am
Hi, I have a DS1104Z, I'll be happy to perform some tests for this project.
Mauro
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: thm_w on February 13, 2014, 01:31:34 am
From this thread discussing access to hi-res data: https://www.eevblog.com/forum/testgear/rigol-ds2072-delivers-only-8bit-values-even-in-highres-mode/ (https://www.eevblog.com/forum/testgear/rigol-ds2072-delivers-only-8bit-values-even-in-highres-mode/)

Is it possible for RUU to save sample memory in a generic (.csv) format to be more easily processed by matlab/etc?

You've updated the .wfm file output format, which I found a matlab script for (http://www.mathworks.com/matlabcentral/fileexchange/18999-read-binary-rigol-waveforms). So I'll give that another shot later.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: npelov on February 15, 2014, 10:36:43 am
Hi marmad,
I just tried this tool and it's very nice. It didn't auto recognize the scope - I had to copy/paste address even though it's the only one connected.

I have a request about the delayed sweep (zoom) mode. It's very hard to move around. By just turning the horizontal knob it takes forever. I know you can use the big spring knob to navigate, but I realized you can'd do that in recorded data playback mode. So if you can make navigation by clicking with mouse on the waveform it would be nice.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Futterama on February 15, 2014, 10:58:06 am
Hi marmad,

I just downloaded your tool and I can't get it to connect to my Rigol DS1104Z over LAN. Is this scope not supported yet? I just want to save print screens directly on the PC instead of moving a USB flash drive back and forth between scope and PC.

The scope uses DCHP and I tried using the following address in RUU: TCPIP::192.168.1.103::INSTR
The address is copied from the Rigol Ultra Sigma software.
I get the following error: "DSO not responding to query and/or command - RUU closing connection". Then I press OK and a few seconds later I get "DSO is not connected" 3 times.
The weirdest thing is that right after I click OK to connect, the RUU title includes my scope model so it must have some connection to the scope.

I get the same behavior when the scope is connected with USB, but this time I don't need to enter any address for it.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on February 16, 2014, 04:59:19 pm
Is it possible for RUU to save sample memory in a generic (.csv) format to be more easily processed by matlab/etc?

Yep, coming next version: CSV and WFM saves of any sample or display memory.

I just tried this tool and it's very nice. It didn't auto recognize the scope - I had to copy/paste address even though it's the only one connected.

As mentioned in the first post of this thread, no sniffer for TCPIP. But next version will have an .ini file for saving of the IP address.

Quote
I have a request about the delayed sweep (zoom) mode. It's very hard to move around. By just turning the horizontal knob it takes forever. I know you can use the big spring knob to navigate, but I realized you can'd do that in recorded data playback mode. So if you can make navigation by clicking with mouse on the waveform it would be nice.

That's already been tested and added to the new version - plus you can drag a window to zoom into any area of the memory.

I just downloaded your tool and I can't get it to connect to my Rigol DS1104Z over LAN. Is this scope not supported yet?

Nope, next version.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: DD4DA on February 23, 2014, 08:57:51 pm
I have used the RRU 2.03 a couple of times and i find them out as very helpful. In Windows 8.x, the dialog boxex are displayed a litte bit to small, but this is just cosmetic. I am waiting to the next release and i am appreciate that you do all the work for us and spend so many time to get them finish - Thanks for all that.

Gerhard
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: appie on February 25, 2014, 10:14:50 am
Hello Marmad,
What is the status on the beta version of RUU?
If you need some more testers, I have a MSO4014 at my disposal.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: gwideman on February 27, 2014, 10:27:32 am
For debugging new versions, clearly Marmad needs to implement remote access to RUU so he can download it to volunteer's machines, operate it remotely, and watch the results via webcam. 

Hey wait... you COULD pretty much do that with remote desktop, gotomypc or whatever.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MatCat on February 28, 2014, 11:04:28 pm
Is there no support for DS1000Z scopes?  I tried it and it sees it but doesn't connect.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on February 28, 2014, 11:21:17 pm
Is there no support for DS1000Z scopes?  I tried it and it sees it but doesn't connect.

no support for the ds1000z yet.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: AndersAnd on March 01, 2014, 02:32:18 pm
Is there no support for DS1000Z scopes?
:palm: Marmad answered this question just 2 weeks ago: https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg388703/#msg388703 (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg388703/#msg388703)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MatCat on March 01, 2014, 05:47:35 pm
Is there no support for DS1000Z scopes?
:palm: Marmad answered this question just 2 weeks ago: https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg388703/#msg388703 (https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg388703/#msg388703)
And now it got answered again just yesterday :).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MatCat on March 02, 2014, 09:10:20 am
I was going to go ahead and work on adding DS1000Z support but then I noticed I can't find source anywhere, is this not open source?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mrflibble on March 02, 2014, 09:50:14 am
I was going to go ahead and work on adding DS1000Z support but then I noticed I can't find source anywhere, is this not open source?
I'm not 100% (can't find the post right now on this subject), but I recall Marmad saying he's not releasing the source. Or at least for now. Or something.  :-// Probably best to send him a PM.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MatCat on March 02, 2014, 09:54:29 am
I was going to go ahead and work on adding DS1000Z support but then I noticed I can't find source anywhere, is this not open source?
I'm not 100% (can't find the post right now on this subject), but I recall Marmad saying he's not releasing the source. Or at least for now. Or something.  :-// Probably best to send him a PM.
I may do that... was a bugger but I got it working so I can communicate with my DS1074Z-S just fine :D (Using Visual Studio 2013 and the newest 5.4 version of the VISA drivers). 
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: cybermaus on March 02, 2014, 10:04:30 am
I think Marmad mentioned he was already working on the DS1000Z, so much of what you would do is probably already in his alfa/beta code.

However, if you have a development environment setup: Could you make a (command line) utility that emulates sweep on the signal gen for the DS1000Z-S (and probably also the other Rigol -S ranges) by rapidly sending SCPI :SOUR:FREQ commands?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mrflibble on March 02, 2014, 12:14:50 pm
However, if you have a development environment setup: Could you make a (command line) utility that emulates sweep on the signal gen for the DS1000Z-S (and probably also the other Rigol -S ranges) by rapidly sending SCPI :SOUR:FREQ commands?
You might not need to emulate that, depending on the sweep range you're after. You can do an FM modulation with a ramp as the modulation source.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: cybermaus on March 02, 2014, 01:01:11 pm
I actually tried that a while ago.
Can't remember what it was, but I could not get it to work, I think the ramp frequency was out of range or something, or FM would not go low enough. Something like that.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on March 02, 2014, 03:06:57 pm
I got it working so I can communicate with my DS1074Z-S just fine :D (Using Visual Studio 2013 and the newest 5.4 version of the VISA drivers).

Source available?  Not to co-opt your efforts, I just want to tinker a bit.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MatCat on March 02, 2014, 05:42:02 pm
I got it working so I can communicate with my DS1074Z-S just fine :D (Using Visual Studio 2013 and the newest 5.4 version of the VISA drivers).

Source available?  Not to co-opt your efforts, I just want to tinker a bit.
I don't have much in the way of source yet, all I have is a basic concept that lets you send and receive data, and display a waveform on chart, the trick to getting a .net project to work properly with the current VISA drivers (The 5.4 version) is to set your app.config as follows:
Code: [Select]
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="NationalInstruments.Common" publicKeyToken="DC6AD606294FC298" culture="neutral"/>
        <bindingRedirect oldVersion="13.0.40.188" newVersion="13.0.40.190"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

From there all other source examples out there work just fine, I.E. Here is a snippet to read IDN:
Code: [Select]
try
            {
                mbSession = (MessageBasedSession)ResourceManager.GetLocalManager().Open("your visa address");
            }
            catch
            {
                MessageBox.Show("Problem Opening Device");
            }
            string strWrite = "*IDN?";
            mbSession.Write(strWrite);
            string strRead = null;
            strRead = mbSession.ReadString();
            MessageBox.Show(strRead);
            mbSession.Dispose();
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MatCat on March 02, 2014, 05:44:37 pm
Now one odd thing I discovered is that on-screen waveform data either does not come back correctly, or there is some odd signing thing with the data because anything above the center graticule gets screwed up on the return data, quite weird.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mrflibble on March 02, 2014, 05:56:32 pm
Now one odd thing I discovered is that on-screen waveform data either does not come back correctly, or there is some odd signing thing with the data because anything above the center graticule gets screwed up on the return data, quite weird.
2's complement? Subtract centerpoint value? Usually some silly combination of those two.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MatCat on March 02, 2014, 08:24:01 pm
Instead of byte data just using scientific notation data works a treat.

(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=83793)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on March 06, 2014, 01:57:02 pm
I was able to get the byte data this way:

Code: [Select]
using Ivi.Visa.Interop;

...

namespace ConsoleApplication1 {
    class Program {
        static void Main(string[] args) {

            String dutAddr = "TCPIP::192.168.0.75::INSTR";
           
            ResourceManager rm = new ResourceManager();
            FormattedIO488 device = new FormattedIO488();

            device.IO = (IMessage)rm.Open(dutAddr, AccessMode.NO_LOCK, 2000, "");
            device.IO.Timeout = 3000;

            device.WriteString(":WAV:SOUR CHAN1");
            device.WriteString(":WAVeform:MODE MAX");
            device.WriteString(":WAVeform:FORMat BYTE");
            device.WriteString(":WAV:DATA?");

            System.Threading.Thread.Sleep(100);

            byte[] header = device.IO.Read(11);
            Int32 dataCount = Int32.Parse(System.Text.Encoding.ASCII.GetString(header).Substring(2));

            byte[] values = device.IO.Read(dataCount);

            foreach (byte val in values) {
                Console.WriteLine(val);
            }
               
            device.IO.Close();
        }
    }
}
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on March 06, 2014, 02:35:01 pm
I think Marmad mentioned he was already working on the DS1000Z, so much of what you would do is probably already in his alfa/beta code.

However, if you have a development environment setup: Could you make a (command line) utility that emulates sweep on the signal gen for the DS1000Z-S (and probably also the other Rigol -S ranges) by rapidly sending SCPI :SOUR:FREQ commands?

Yes.  I worked on something like this last night.  I have never used a proper digital signal generator so I don't know how well emulating the sweep compares, but I was able to sweep in both frequency and amplitude full scale.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: cybermaus on March 06, 2014, 03:38:21 pm
Nice!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on March 06, 2014, 05:36:16 pm
the responsiveness of the scope depends on how fast you can feed it commands and how fast it can interpret them and change configuration to suit.  I don't know how many steps a proper signal generator would use to go from one frequency to another in one second, but I'm betting that the way I did it last night uses fewer coarser steps to make it happen.

I did my work last night over TCP/IP, today I'll try over USB to see if the performance is better.  Last night I was easily able to load the command queue in the scope and watch it continue to process commands well after my app had finished sending all those commands.  Several seconds between the time my app finished sending and the time my scope finally worked through the command queue. 

Maybe USB will be better.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 06, 2014, 05:43:44 pm
Maybe USB will be better.

As mentioned in the very first post in this thread, USB communication is approx. 2.5x faster (or ~40%) - unless the DS1000Z is much different than the DS2000 (which I doubt).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on March 06, 2014, 06:01:23 pm
Yeah faster is one thing, but the scope still has to process all the commands and act on them.

In this regard it performs the same as it does over TCP/IP.  This means it takes longer for the scope to act on a command than it takes to receive it, for the commands I'm sending.  That in and of itself isn't good or bad, but it limits the number of steps the function gen can make in a single second, which puts a hard limit on the granularity of the sweep.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: cybermaus on March 06, 2014, 06:10:24 pm
Soooo..getting to several sweeps a second is out, more like several seconds to a sweep, and a fairly "blocky" sweep too.
Ok, Guess i need to make due with what I have, and if I really need it for some future project, I should buy a real signal gen.

Thanks for testing anyway.


Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on March 06, 2014, 06:21:22 pm
Soooo..getting to several sweeps a second is out, more like several seconds to a sweep, and a fairly "blocky" sweep too.
Ok, Guess i need to make due with what I have, and if I really need it for some future project, I should buy a real signal gen.

Thanks for testing anyway.

Several sweeps per second is definitely possible, but they'll be very, very granular.  I can make about 30-40 changes to the waveform per second.  This is due to the ~25-30ms time it takes for the scope to process the command and actually make the change to the waveform.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: cybermaus on March 06, 2014, 07:44:38 pm
Well, I'll take anything you can make, whatever specs it has. :-+

I could have used it a few weeks ago, right now not so much, but hey, if you can make a nice little utility I'll just put it in the tool drawer. You can never have enough tools  ;D
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MatCat on March 06, 2014, 08:09:30 pm
I built a little program to sweep from 1Hz to 25MHz, takes about 5 minutes, program just sets frequency, reads max voltage to calculate bode plot for an LC Filter project of mine.  I found that you can get an average of about 10 calls a second, not fantastic but good enough.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on March 07, 2014, 12:18:43 am
Well, I'll take anything you can make, whatever specs it has. :-+

Ok, I'll put something together and let you know when it is ready.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: bennybubble on March 21, 2014, 02:59:29 pm
Hi Marmad,

Since you are not planning to release the source (yet), are you willing to incorporate a DSA815 into the software?
It would be nice to store waterfall diagrams of a frequency domain unit.
I think you would make a lot of people happy with that! :)

-ben
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Pinkus on March 22, 2014, 01:32:20 pm
Yes indeed. Dsa815 would be great.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: han on March 22, 2014, 01:54:18 pm
+1 for DSA  :-+
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on March 22, 2014, 05:46:08 pm
I really like using RUU for my DS2072+ :)

I just got a Rigol DSA815-TG and would be willing to fund an upgrade to RUU for DSA connectivity.
Who else is willing to put their money where their mouth is?  :) I did contributed for the DS2000

Can members on  EEVBLOG help to Kick-start this project?
Maybe Marmad can be encouraged to look into it.
But Marmad does NOT have a DSA815 to test with!!!
Who would be willing to lend Marmad their DSA?? (in Europe)
I'm sure many DSA owner's here would be willing to beta test any new RUU features that Marmad can code just from the DSA User's Guide SCPI commands.


What specifications would DSA owners like to incorporate in RUU?
   1. Just DSA display captures?
   2. Multiple Display captures into a animated .GIF ?
   3. Sweep starts and end limits (slow scans)?
   4. Save Setup parameters/then restore for later Testing.?
   5. 3D plots for a "Filter" at various input levels (or whatever)?

Marmad does have a PayPal account to receive your support.

A Pic to show the elegance of RUU
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: vortexnl on March 29, 2014, 08:03:40 pm
Hey guys, I just got this an hour ago and have been messing around a bit. I'm having some trouble plotting frame arrays... I'm recording like 100 waveforms and saving those as a frame array, but when I try to plot the data, it just shows the first waveform over and over on the plotter.... I tried literally everything, what am I doing wrong here?   :-BROKE
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on March 30, 2014, 02:17:04 am
I'm recording like 100 waveforms and saving those as a frame array, but when I try to plot the data, it just shows the first waveform over and over on the plotter...  :-BROKE
Please check my post here
https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg351735/#msg351735
Is this the same problem as you have?
I have not had any confirmation on this problem.

I have narrowed it  down , to the fact that when the 'UTIL' - Record Menu was open on the right side on the DS2000
this occiurs.
Also if there are measurements being displayed on the DSO ,  RUU also may have errors (stalls) like in pic.

LAN or USB connection could have an affect in this problem also
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 30, 2014, 07:17:41 am
Hey guys, I just got this an hour ago and have been messing around a bit. I'm having some trouble plotting frame arrays... I'm recording like 100 waveforms and saving those as a frame array, but when I try to plot the data, it just shows the first waveform over and over on the plotter.... I tried literally everything, what am I doing wrong here?   :-BROKE

I would need some more detail (specific settings for plotting, etc) in order to try to diagnose the problem.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: vortexnl on March 30, 2014, 01:22:09 pm
I'm recording like 100 waveforms and saving those as a frame array, but when I try to plot the data, it just shows the first waveform over and over on the plotter...  :-BROKE
Please check my post here
https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/msg351735/#msg351735
Is this the same problem as you have?
I have not had any confirmation on this problem.

I have narrowed it  down , to the fact that whne the 'UTIL' - Record Menu was open on the right side on the DS2000
this occiurs.
Also if there are measurements being displayed on the DSO ,  RUU also may have errors (stalls) like in pic.

LAN or USB connection could have an affect in this problem also

Thanks for the tip, I was using LAN and I just switched to USB and everything works!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on April 01, 2014, 07:55:14 am
I would need some more detail (specific settings for plotting, etc) in order to try to diagnose the problem.
@Marmad , and anyone else , who is willing to varify this RUU connection problem.
These are the conditions:
   DS2072,
   FW=00.02.01.00.03
   HW 1
   No options
   PC w/Windows XP running RUU 2.03
   Connected via USB

Now I recorded frames using the record button on the DS2072
I then like to select the start and end frame numbers by playing the frames using the Big Navigation knob. Once I know start and end frames, I use RUU to play  my select frames
(connected via USB)
Edit: The error also occurs if the record was initiated by RUU

I then save the frames to a Frame array File ( see 1st Pix)
RUU running through the frames and the DSO shows each frame on the DSO display as the RUU program is saving the data.

After the saving of data is completed, RUU displays the 3D array ( see 1st Pix)
All the data in the Array is only the first Frame , repeated for all frames
Note. As RUU was requesting the data, the DSO was displaying the different frames
Note each frame in this test were displays of a  frequency sweep.

Note that during the data transfer from the DSO to RUU , the UTIL -Record - Play menu was open on the right side of the DSO Display (See 2nd Pix )

Now if the 'UTIL' Menu is closed the RUU will save the correct frames (See 3rd Pix)

The Correct data is saved when just the 'UTIL' menu is open (see 4th Pix)
There is no error if the 'UTIL - PLAYBACK' Menu second Page is Open (See 5th Pix)
The same bug exists on FW 00.01.01.00.02
I hope this helps.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: ats3788 on May 05, 2014, 04:26:10 am
Hello
Friends of Electronics

I their a way to use this Program RUU for the DS1074 Z Series
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: ats3788 on May 06, 2014, 01:42:28 pm
Thx Teneyes
that sucks  :palm:
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on May 06, 2014, 02:23:21 pm
Thx Teneyes
that sucks  :palm:

just wait, it'll be available eventually.  Loan marmad your DS1074Z for a couple weeks and I'm sure it'll get done more quickly. ;)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MatCat on May 06, 2014, 04:45:22 pm
I haven't seen it before mentioned, but why isn't this project open source?  I would of put DS1xxxZ support in already myself if it was, heck I already wrote nearly the same app completely myself, but I don't have the time to polish it up to the same level of quality this one is at now, but I certainly have the time to get it working on an existing base.  It's not even that far off, the command structure is near identical and the 2xxx series only has a few extra commands above that of the 1xxx. 
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: thm_w on May 10, 2014, 12:09:51 am
I have had a chat with Mark and he says he is looking for funding,
How much are you willing to Pay??   30$?,  20Eur?  10$?

I would recommend he add something like this: https://personal.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=marketing_us/fundraise_social_media_app to the first post.

Goal can be $1 million for following:
- open source
- support for oculus rift 3D waveform view
- one click unlocking of rigol ds2xxx to 2GHz bandwidth
:-+
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: echen1024 on May 10, 2014, 03:58:36 am
If I could get 1000Z support, I would be willing to donate tot his project.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 11, 2014, 04:56:52 pm
If I could get 1000Z support, I would be willing to donate tot his project.
No need for donations at this point: the problem is mainly one of time (with many many other projects going on).

Anyway, here is the first alpha of RUU 3.0 (http://turbidmedia.com/RUU/RUU_3_alpha.zip) - rewritten to (hopefully) handle 4 channels on the DS1000Z and DS4000 series - as well as the smaller screen size (12 divs) of the DS1000Z (BTW, you need to have installed the VISA runtime, as mentioned in the first post of this thread).

This is ONLY a testing version - all functionality/features apart from the 2D graphics engine have been disabled. I would appreciate if DS1000Z and DS4000 series owners could test it and make sure that the software is correctly displaying 3 and 4 waveforms. The Displayed Sweep mode is not working right yet, but should be in the next alpha version to test. I'm currently tightening up the code for the engine to see if I can squeeze faster waveform per second rates out of the DSO - so I would appreciate if testers could note the WPS rates they get with 1, 2, 3, and 4 channels enabled.

A few things to explain (which should be clearer if you examine the attached image):

X.Pntr checkbox = Extra pointer info - including voltage offset(s) of the channel(s) - and the channel any trigger is assigned to (color bar at end of each trigger pointer).
Trig.L checkbox = Trigger lines (I think that's obvious).
10div checkbox = (only applicable to  DS1000Z & DS2000) 250 steps / 10 vertical divisions from the ADC - as opposed to the 200 / 8 you normally see.
There are also 2 boxes of trigger info - top and bottom - which give either extended trigger info when using a single trigger - or info for both triggers when using one of the dual trigger modes - as well as extended sample and acquisition info at the top.

(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=93384)


I should point out that if you select CAN trigger with RUU running, it might hang the software (at least it does on a DS2000) - which might result in needing to use Task Manager to shut down RUU. This is a bad bug in the Rigol which doesn't respond correctly to SCPI Trigger commands when CAN is selected; I'm currently looking for a workaround.

So, feel free to test - but please, if you do, let me know if it's working (and with WPS rates). Thanks!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 11, 2014, 05:59:47 pm
Hallo Mark,

Tested your version on a DS1000, via TCP/IP

I get no picture, when i started your RUU, after some time, it says no DSO found...
Cant get out of this message, has to kill it with taksbar.

BUT, i opened Ethereal, to check, it makes connection.., it sends out a *IDN?, get respsonse form the DS1000.
Then it starts with a Func:wrep:fend?
and keeping requesting this for a few times and then it stops...

EDIT: even i killed it in the task manger, the proces was still running, i had to kill it also in the proces manager
using windows 7, 32 bit.

Tested on the DS2000, thats works oke.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 11, 2014, 06:04:10 pm
Hallo Mark,

Tested your version on a DS1000, via TCP/IP

I get no picture, when i started your RUU, after some time, it says no DSO found...
Cant get out of this message, has to kill it with taksbar.

Did you enter the correct IP address? As mentioned in post 1 of this thread, RUU does not (at this time) have a TCP/IP sniffer - if you don't enter the correct resource name (e.g. TCPIP::192.168.1.200::INSTR) it's not going to find it.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 11, 2014, 06:10:56 pm
I checked , with the network sniffer, and it makes connection with the DS1000,

With the DS2000 works oke.

With the sniffer i saw.., the *IDN?, that was exchanged correct,  wih the DS1000
after that the next command they stopped.

So the connection is oke....
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 11, 2014, 06:15:55 pm
With the sniffer i saw.., the *IDN?, that was exchanged correct,  wih the DS1000
after that the next command they stopped.

So the connection is oke....

Got it - I realized after I posted that you had, in fact, made a connection with the DSO. So it seems as if the DS1000Z is not responding to the exact same REC Commands as the DS2000/4000 - causing RUU to hang.

EDIT: Now I remember that Mark_O pointed out that the DS1000Z is missing the FUNC commands (for manipulation of recording and playing back segments).  I'll have to make some more changes to make it work correctly on the DS1000Z --- another Alpha soon to follow...
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 11, 2014, 06:49:52 pm


I have checked the command manual of the DS1000,
and it is correct, the DS1000 has no :func command.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 11, 2014, 06:51:47 pm
I checked , with the network sniffer, and it makes connection with the DS1000,

With the DS2000 works oke.

With the sniffer i saw.., the *IDN?, that was exchanged correct,  wih the DS1000
after that the next command they stopped.

So the connection is oke....
Ok, I think I might have sorted out the problem - for now  ;D   Can you please give this a try (http://turbidmedia.com/RUU/RUU_3_alpha.zip), Wim?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 11, 2014, 07:07:50 pm

Looked at same time with the network sniffer,

No , same problem, not responding to :func:wrep after a saw some other commands:

First got: several  :WAV:mode and then again a :func, so there are more Funkies....
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 11, 2014, 07:09:38 pm

Looked at same time with the network sniffer,

No , same problem, not responding to :func:wrep after a saw some other commands:

First got: several  :WAV:mode and then again a :func, so there are more Funkies....

Weird - I thought I squelched all :FUNC commands. I will have to check it again - but first I will eat (late) dinner and then tackle it again.

BTW, I should point out the following:

Although I'm happy, of course, that the Rigol DSOs use SCPI commands - their implementation of SCPI is extremely CRUDE (just compare their manual with an Agilent, Tek, etc, manual). They don't follow simple protocols to let the communicating software know when the device is busy (even though they 'imply' that they do in the manual) - they just don't respond to commands. So it's up to the software to decide if the DSO is busy, incapable of responding to a particular command, or disconnected.

It's a complete mess when you're trying to write software to do something as fast as possible (like updating a screen). This is why RUU has troubles exiting gracefully - or knowing when to exit gracefully - when there's a problem.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 11, 2014, 07:14:37 pm
Oke, but i am clossing down the station.

But, your software can not be closed, after the error report, i have to kill the process as well the application by hand.

back to morrow evening..
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 11, 2014, 10:10:37 pm
But, your software can not be closed, after the error report, i have to kill the process as well the application by hand.
Well, it IS in the alpha state  ;D

Anyway, I'm pretty sure I now got rid of all the occurrences of the offending FUNC commands for the DS1000Z. It was a pain in the ass - and only due to Rigol's incompetence of not instituting the same relevant SCPI command set found in the other UltraVision DSOs. Unfortunately, it means that one of the big features of RUU - downloading recorded frames and then displaying thermal and waterfall plots of those frames - will not be possible with the DS1000Z until Rigol corrects the problem.

All of the download links have been updated - but here it is again: RUU 3.00.a02 (http://turbidmedia.com/RUU/RUU_3_alpha.zip)

Still no DS4000 owners have checked to see if it displays all 4 channels correctly?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chrisalat on May 11, 2014, 10:15:56 pm
Not working on the 1074z, I use USB and get "DSO not responding to query... closing connection."

Why don't you write some kind of log file?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 11, 2014, 10:19:10 pm
Not working on the 1074z, I use USB and get "DSO not responding to query... closing connection."

You're talking about the version (a02) I just uploaded 5 minutes before you posted your message?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chrisalat on May 11, 2014, 10:24:04 pm
Not working on the 1074z, I use USB and get "DSO not responding to query... closing connection."

You're talking about the version (a02) I just uploaded 5 minutes before you posted your message?
Exactly  3.00(a02)
It seems to connect at first, at least it doesn't find the scope when usb is not plugged in.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 11, 2014, 10:26:17 pm
Exactly  3.00(a02)
It seems to connect at first, at least it doesn't find the scope when usb is not plugged in.

Does the 'Connect' button turn yellow? Do you see any DSO info appear on the screen before it loses connection (e.g. time base, sample rate, sample size, waveforms)?

EDIT: Ok, it appears it won't be quite so simple to have the DS1000Z work with the same commands as the DS2000/4000/6000 do. I'll add a log file writer to the next alpha to track down offending commands.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chrisalat on May 11, 2014, 10:34:01 pm
Exactly  3.00(a02)
It seems to connect at first, at least it doesn't find the scope when usb is not plugged in.
Does the 'Connect' button turn yellow?
It gets brighter
Quote
Do you see any DSO info appear on the screen before it loses connection (e.g. time base, sample rate, sample size, waveforms)?
After I close the window telling me the scope is disconnected I get some Info
timebase is correct
number of point is 0 (should be 300)
delays is correct
trigger level is correct
gain settings are there for all four channels
but no waveforms

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 11, 2014, 11:37:43 pm
After I close the window telling me the scope is disconnected I get some Info
timebase is correct
number of point is 0 (should be 300)
delays is correct
trigger level is correct
gain settings are there for all four channels
but no waveforms

Thanks, this is helpful. It seems now the problem might be the actual waveform data reading - which, as I'm starting to remember, uses a slightly different protocol on the DS1000Z from the DS2000/4000/6000. I will have to check the DS1000Z prog. manual again to refresh.

I'm still hoping to hear some news from a DS4000 owner that it's working for them - since, unlike the DS1000Z, the commands are identical between that and the DS2000.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 02:02:11 am
timebase is correct
number of point is 0 (should be 300)
delays is correct
trigger level is correct
gain settings are there for all four channels
but no waveforms

I just noticed another missing/wrong parameter from your screen cap - the acquisition type is not displayed. All of the screen parameters (except for the vertical trigger markers and the waveforms) are retrieved and drawn as a single group. All of those are correct except for the memory depth (which I think I've sorted out) and acquisition type. Do you remember what type you had set? Normal, Average, Peak, or Hi-Res?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: skrap on May 12, 2014, 02:09:21 am
I'm unfortunately not DS4000 user, just yet another DS1000z :/

However I can confirm previous posts and that the acq. type is missing. I tried cycle through (normal, peak, average and high res), no change.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: echen1024 on May 12, 2014, 02:18:12 am
I can confirm Chrisalats reports. I am getting some info, as well as the error messages, but no waveform.
I am getting sample rate, timebase, v/div, trigger info, as well as vertical/horizontal position. Memory depth is always 0 for me. No information about delayed timebase is displayed either.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 02:22:09 am
I'm unfortunately not DS4000 user, just yet another DS1000z :/

However I can confirm previous posts and that the acq. type is missing. I tried cycle through (normal, peak, average and high res), no change.

Hmm... I wonder if the DS1000Z is responding to the :ACQ:TYPE? command as it is supposed to (based on info from the Prog. Manual). There are many mistakes in Rigol's implementations and documentations.

Some DS1Z owner with Ultra Sigma installed should start it, then try entering :ACQ:TYPE? and see how the DSO responds. The query should return NORM, AVER, PEAK or HRES.

Also, someone needs to test what the DS1Z returns when you have memory depth set to AUTO and you send it the command :ACQ:MDEP?  According to the DS1000Z & DS2000 Prog. Manuals, they will return the word 'AUTO'. But the DS2000 actually returns the real memory size - so does the DS1000Z do that too or does it actually return 'AUTO'?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: skrap on May 12, 2014, 02:25:24 am
This is the response I get:
-> :ACQ:TYPE?
<- (Return Count:5)
NORM

The other modes give: PEAK, AVER, HRES


-> :ACQ:MDEP?
<- (Return Count:5)
AUTO
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 02:26:56 am
This is the response I get:
-> :ACQ:TYPE?
<- (Return Count:5)
NORM

The other modes give: PEAK, AVER, HRES

Thanks! Can you also please test the return value for AUTO memory depth (as mentioned in my post above)?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: skrap on May 12, 2014, 02:27:52 am
Sorry I forgot to paste it in, modified the previous post to correct it.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: echen1024 on May 12, 2014, 02:32:31 am
I gave it a try as well

Code: [Select]
-> :ACQ:TYPE?
<- (Return Count:5)
HRES

-> :ACQ:MDEP?
<- (Return Count:6)
12000
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 02:34:17 am
Sorry I forgot to paste it in, modified the previous post to correct it.

Great! Thanks a bunch... now I can make the changes to fix the zero memory depth - although the missing acquisition type is still perplexing since the commands/returns are the same as the DS2000.

Well, in any case, the next alpha release will include a log file so that problems can be traced more quickly. I'll have it up in the next day or so.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: skrap on May 12, 2014, 02:37:51 am
No no, I'm the one to thank you!

I love RUU and appreciate your work a lot :-+
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: manu on May 12, 2014, 07:18:15 am
Hello, as a proud owner of a DS1104Zs, I get similar results as Chrisalat in USB mode:
1. After clicking "Connect", the button turns yellow while a messagebox "DSO not responding" appears (cf. attached picture)
2. Then, no waveforms are displayed, but some infos are correct:
Quote
Do you see any DSO info appear on the screen before it loses connection (e.g. time base, sample rate, sample size, waveforms)?
After I close the window telling me the scope is disconnected I get some Info
timebase is correct
number of point is 0 (should be 300)
delays is correct
trigger level is correct
gain settings are there for all four channels
but no waveforms

Thank you Marmad for the good work!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 03:24:29 pm
Ok, new interim version of RUU alpha for DS1000Z owners (RUU 3.00.a03) (http://turbidmedia.com/RUU/RUU_3_alpha.zip)

I fixed the AUTO memory response, tweaked a couple waveform reading routines - and I've added a log file to try to discover where the communication breakdown between RUU and the DS1000Z is happening. Will a DS1Z owner please run this version, try to connect - and then post the resultant log file (created in the \data sub-directory) here? Thanks!

BTW, this version creates a continuous log file which grows ever larger while you remain connected with the DSO - so if my tweaks have managed to fix the connection problem with DS1000Zs, it would be better not to continue testing for too long with this version - but wait for the next alpha for more in-depth trials.

I'm still waiting to hear from a DS4000 owner as to whether the software displays all 4 channels correctly for them.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Suffer1981de on May 12, 2014, 03:43:59 pm
Works for me now. Rise time seems to be off.

Greetings

If I should test something marmad, just tell me via pm.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 03:55:47 pm
Works for me now. Rise time seems to be off.

Great to hear! But that's not the rise time you see at the bottom right: the top right and bottom right combined give you extended trigger info (more info than the Rigol shows on it's screen). In this case, it's displaying that you have an Edge trigger set to CH1 input at 1.5V; triggering on the Rise(ing) edge with DC coupling and a holdoff of 16ns.

But what's odd is the speed of the WPS you're getting - which is 5 (quite slow for a single channel). Are you using USB or TCP/IP?

BTW, if you're going to make a screen cap at 1920 x 1080, better to click the 2x checkbox button before you do (to increase the DSO screen size).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Suffer1981de on May 12, 2014, 04:05:01 pm

Great to hear! But that's not the rise time you see at the bottom right: the top right and bottom right combined give you extended trigger info (more info than the Rigol shows on it's screen). In this case, it's displaying that you have an Edge trigger set to CH1 input at 1.5V; triggering on the Rise(ing) edge with DC coupling and a holdoff of 16ns.

But what's odd is the speed of the WPS you're getting - which is 5 (quite slow for a single channel). Are you using USB or TCP/IP?

BTW, if you're going to make a screen cap at 1920 x 1080, better to click the 2x checkbox button before you do (to increase the DSO screen size).

Cool feature!

The Rigol is connected vip TCP/IP and USB. Where can I see which mode RUU uses? Added 2 new logs, one for ethernet, the other for usb. usb is 5 wps, ethernet 1 wps.

Added screenshot + logfile, etc for 4 channels
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 06:58:47 pm
Added screenshot + logfile, etc for 4 channels

Thanks. What Windows version are you currently running - and what is your processor type and speed?

It appears that the DS1000Z's communication speeds are considerably slower than the DS2000 or DS4000 (which could make sense, given the speed of the UI). RUU tries to get as many waveforms per second as the DSO will deliver - but it's limited by both the communication link and whether the DSO is too busy doing other things to send data.

Perhaps another DS1000Z owner could post their speeds to see if those are typical for the DSO?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Suffer1981de on May 12, 2014, 07:06:01 pm
Win 8.1 64bit professional
I5 4670 @ 3.40
16GB RAM
256 GB SSD
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 12, 2014, 07:23:46 pm
Well this beta version is working, here a screen shot, of RUU and the real screen,
running windows 7, 32 bit on a 1.6 Ghz dual core

This is via ethernet.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Suffer1981de on May 12, 2014, 07:26:47 pm
Hi Wim13,

please post your Logfile for Marmad (RUU Folder -> Data -> Logfile.txt). I can see that you have 1 wps. Is this ethernet oder usb connection?

Greetings
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chrisalat on May 12, 2014, 07:58:51 pm
Me too only 1-2WFPS via USB.
CPU load is only 2 or 3 %, that does not seem to be the problem.
But the connect takes very long the traces have no intensity grading.
The scope stays responsive and adding more channels or the FFT do not further deteriorate the WFPS.
I don't really see where the bottleneck is here.

Maybe adding timestamps to the logfile could help understand which command takes the time?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 08:17:55 pm
Me too only 1-2WFPS via USB.
CPU load is only 2 or 3 %, that does not seem to be the problem.
But the connect takes very long the traces have no intensity grading.

The traces can't have intensity grading - the Rigol never exports that information. There is an intensity buffer and there is display and sample memory - and what you get from the DSO is display memory (or sample memory). RUU is no substitute for the amount of data present on the DSO screen - you can't process and move that amount of data fast enough to the PC (which is why there are no intensity-grading USB scopes). The RUU screen functions just as a simple information extension of the DSO screen (early versions didn't even have a real-time display).

Quote
The scope stays responsive and adding more channels or the FFT do not further deteriorate the WFPS.
I don't really see where the bottleneck is here.

The bottleneck appears to be the DS1000Z, which seems to be slow at sending data. I get 30WPS with a single channel on my DS2000.

Quote
Maybe adding timestamps to the logfile could help understand which command takes the time?

I'll see what I can do - but I suspect that the DSO is just slower on every command than the DS2000/4000 (same as the UI).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 09:57:47 pm
Ok, new interim version of RUU alpha for DS1000Z owners (RUU 3.00.a04) (http://turbidmedia.com/RUU/RUU_3_alpha.zip)

There is now a checkbox to turn on and off writing the logfile - although I'm not sure this will make any difference (in WPS) on the DS1000Z with this version.

But more importantly, the logfile now has timestamps (in milliseconds) on the SCPI commands to see where there are speed bottlenecks.

So could a DS1000Z owner please post a new log file again with this timestamp data? I am rewriting the engine to tighten up the code, get rid of redundancies, and improve the speed - so all the gathered information will be helpful.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Suffer1981de on May 12, 2014, 10:14:11 pm
Logfile incoming ;-)

FFT is not functioning, RUU doesn't show the math functions. Tried FFT + RUU + Screenshot and RUU couldn't query the oscilloscope. Taking the screenshot took ages so i guess the oscilloscope is too slow for that combination.

Again. If you need something tested (functions whatever) give me a hint what to do ;-)

Btw. going to sleep now. Me tired, me look at clock and sees me up far to late (after midnight here in Germany).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 10:25:32 pm
FFT is not functioning, RUU doesn't show the math functions. Tried FFT + RUU + Screenshot and RUU couldn't query the oscilloscope. Taking the screenshot took ages so i guess the oscilloscope is too slow for that combination.

Thanks. There are many things that RUU can't get from the DSO, due to the limitations of Rigol's SCPI implementations. Math waveforms, FFT, etc, etc.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 10:45:46 pm
Well, for those wondering why the DS1000Z was getting such low WPS with RUU, it's now clear thanks to Suffer1981de's log file.

Here are the timings from three different groups of two channel display memory transfers on the DS2000 - which average about 8.5ms each. Note that the number of milliseconds between the WAV:DATA? command and the 1400 bytes (or 1200 on the DS1Z) is virtually all on the DSO side;  RUU just waits for the data to arrive from the Rigol:

00000011  :WAV:SOUR CHAN1
00000013  :WAV:DATA?
00000021  :1400         8ms
00000024  :WAV:SOUR CHAN2
00000026  :WAV:DATA?
00000035  :1400         9ms

00000051  :WAV:SOUR CHAN1
00000053  :WAV:DATA?
00000062  :1400         9ms
00000064  :WAV:SOUR CHAN2
00000066  :WAV:DATA?
00000075  :1400         9ms

00000091  :WAV:SOUR CHAN1
00000093  :WAV:DATA?
00000101  :1400         8ms
00000104  :WAV:SOUR CHAN2
00000106  :WAV:DATA?
00000114  :1400         8ms


Now compare that 8.5ms average with the timings from the DS1000Z - which averages (in these groups) to ~91ms: ~10x slower than the DS2000:

00000080  :WAV:SOUR CHAN1
00000081  :WAV:DATA?
00000197  :1200         116ms
00000201  :WAV:SOUR CHAN3
00000202  :WAV:DATA?
00000230  :1200         28ms

00000280  :WAV:SOUR CHAN1
00000280  :WAV:DATA?
00000398  :1200         118ms
00000402  :WAV:SOUR CHAN3
00000403  :WAV:DATA?
00000430  :1200         27ms

00000481  :WAV:SOUR CHAN1
00000481  :WAV:DATA?
00000631  :1200         150ms
00000634  :WAV:SOUR CHAN3
00000635  :WAV:DATA?
00000730  :1200         105ms


Unfortunately, this means that the maximum WPS retrievable from the DS1000Z could likely never be greater than ~10 - and that's assuming you didn't spend time retrieving any other information.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 12, 2014, 10:58:17 pm
Anyway, I have enough info to continue to the next alpha phase, which will be the finishing of the 2D engine with the Delayed Sweep features included.

One cool new feature which I've already written and debugged is the ability to drag a mouse window over the area of the waveform in RUU which you want to zoom in on.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: echen1024 on May 13, 2014, 01:24:44 am
I was just about to write about the long (~90mS) delay time, but see you know already. I have gotten it to work, and I think you might know this, but no measurements are displayed as of yet.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Suffer1981de on May 13, 2014, 09:07:04 am
Thanks Marmad for your great work. I'm anxious to see the new features. Keep up the good work.

Greetings
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on May 13, 2014, 09:35:43 am
Hi y'all

Breifly tested with my DS4054 on both USB and TCP. Looks good so far, logs and screenshot attatched.
Windows XP SP3 all up-to-date on a Dell Latitude E5000.

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mrflibble on May 13, 2014, 12:06:21 pm
Now compare that 8.5ms average with the timings from the DS1000Z - which averages (in these groups) to ~91ms: ~10x slower than the DS2000:

00000080  :WAV:SOUR CHAN1
00000081  :WAV:DATA?
00000197  :1200         116ms
00000201  :WAV:SOUR CHAN3
00000202  :WAV:DATA?
00000230  :1200         28ms

...


Unfortunately, this means that the maximum WPS retrievable from the DS1000Z could likely never be greater than ~10 - and that's assuming you didn't spend time retrieving any other information.
Is that 100+ ms the time elapsed before you start getting any result packets from the DS1000Z? Or is that time elapsed before you received the final packet? Not that it should really matter all that much for 1200 words. But yes, that does look to be ridiculously slow on the DS1000Z. :o Looks to be either intentional or a firmware booboo, since it's rather unlikely the underlying hardware is that slow in retrieving the data.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 12:33:21 pm
Is that 100+ ms the time elapsed before you start getting any result packets from the DS1000Z? Or is that time elapsed before you received the final packet? Not that it should really matter all that much for 1200 words. But yes, that does look to be ridiculously slow on the DS1000Z. :o Looks to be either intentional or a firmware booboo, since it's rather unlikely the underlying hardware is that slow in retrieving the data.

It's the time from right after issuing the :WAV:DATA? command until right after receiving the last packet of waveform data  - plus the few microseconds needed to extract the effective bytes from the TMC data description header.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 04:35:00 pm
Marmad, I know this is just a DS1000 & DS4000 test.
but something to watch for is the Pts for a DS2000 when in Auto Memorydepth mode.
The DS2000 was in Auto mode with 700pts , and RUU showed  280pts,

But, Teneyes, 280pts is actually the correct number of points at your settings: 2G * 10ns * 14 = 280. It can't be larger than that.

The Rigol doesn't actually show the correct sample size when < 700 - it just shows * before the number to indicate that it's less than that.  But RUU always shows the correct value  ;)  Play around with the memory settings and you'll see that it's true.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 05:20:46 pm
Slightly improved alpha version of RUU (RUU 3.00.a05) (http://turbidmedia.com/RUU/RUU_3_alpha.zip)

1) Removed some redundancies to speed up waveform display when just a single channel is on. I now get ~40WPS with my DS2000 (single channel).

2) Added channel input impedance display for DS2000 / DS4000 (see image)

(https://www.eevblog.com/forum/projects/software-tips-and-tricks-for-rigol-ds200040006000-ultravision-dsos/?action=dlattach;attach=93673)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 05:24:19 pm
Breifly tested with my DS4054 on both USB and TCP. Looks good so far, logs and screenshot attatched.
Windows XP SP3 all up-to-date on a Dell Latitude E5000.

Alex

Thanks, Alex. I'm impressed with the speed of the DS4000 display memory transfers. Can you please tell me how many waveforms per second (WPS counter - top right) with just a single channel on? Maybe attach a log file for just a single channel? Thanks again!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 13, 2014, 05:48:13 pm

small bug, when starting RUU 05, the traces are off 1 block, see picture,
when switching between 1 and 1.5 and back to 1 is it oke.

The screen updates increases when going to 1 trace, to 4 updates per sec.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 05:58:15 pm

small bug, when starting RUU 05, the traces are off 1 block, see picture,
when switching between 1 and 1.5 and back to 1 is it oke.

The screen updates increases when going to 1 trace, to 4 updates per sec.

Thanks, Wim. Is this the first alpha version you saw this bug?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 13, 2014, 06:02:45 pm

it was in earlier beta also, but forgot to mention everytime...
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 06:11:33 pm

it was in earlier beta also, but forgot to mention everytime...

Hmm.... odd that no one else has mentioned it. But I'll look for the problem.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 06:28:28 pm
small bug, when starting RUU 05, the traces are off 1 block, see picture,
when switching between 1 and 1.5 and back to 1 is it oke.
Found the problem and fixed it: RUU 3.00.a06 (http://turbidmedia.com/RUU/RUU_3_alpha.zip)

In fact, the software is just writing over the normal DS2000/4000 14div screen with 2 blank divs and shifting everything 1div left for the DS1000Z.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 13, 2014, 06:33:06 pm
indeed, it starts correct now....
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Wim13 on May 13, 2014, 06:53:53 pm
Connected to the DS2000, i got 8 screen updates per sec., see picture.

I lookd into my network sniffer, and checked the time between the ethernet frames,
it was on the DS2000 much faster exchange rate then on the 1000.

The ds1000 is slow in the tcp/ip. Also Visa uses such small packets in ethernet,
max packet size i saw was about 70 to 80 bytes per frame.

In my case on the DS1000 , 2 channels about 2 screens per sec, on the DS2000, 8 Scr/s

Happy, the DS1000 also has a command for transferring a complete screen, maybe that will be fast.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 07:16:59 pm
In my case on the DS1000 , 2 channels about 2 screens per sec, on the DS2000, 8 Scr/s

On my DS2000 (FW 02.01.00.03) w/RUU 3.00.a06 @ 2ns/div, I get (best case):

       1CH / 2CH
USB   43 / 24   WPS
TCP   22 / 11   WPS
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: skrap on May 13, 2014, 08:50:13 pm
I just tested RUU_3_a06 now on my DS1000z.

I can confirm that logging do affect the performance a lot.

Running 1 channel, 1Gsps, 6Mpts on the cal. waveform gives me:
Logging off: ~25 wps
Logging on: ~1-3 wps

I just did a quick check of the performance of the process in ProcessExplorer (sysinternals) and found that the number of I/O drop alot when logging is enabled. I took a screenshot that makes it more clear I hope.

This is awesome by the way!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 09:01:04 pm
I can confirm that logging do affect the performance a lot.

It can definitely affect the total WPS. I stuck the logging in (very simply and quickly) just to figure out any possible bottlenecks caused by particular SCPI commands on the DS1000Z. But that information has already been gathered, so it's not really necessary anymore.

Quote
Running 1 channel, 1Gsps, 6Mpts on the cal. waveform gives me:
Logging off: ~25 wps
Logging on: ~1-3 wps

Wow, that's a great figure! I assume you must be using USB. Can you please also post your figures for 2, 3, and 4 channels on (no logging required)? The best case figures will always be at the smallest time base (2 or 5ns/div) since that's when the DSO has the most blind time - and so has the most free time to respond to data requests.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Suffer1981de on May 13, 2014, 10:26:29 pm
Hi Marmad,

4 channels = 1-3 WPS
3 channels = 2-4 WPS
2 channels = 3-4 WPS
1 channel   = 10-25 WPS

The timebase doesn't matter, at least i can't see a differenz.

Greetings
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 10:35:56 pm
Hi Marmad,

4 channels = 1-3 WPS
3 channels = 2-4 WPS
2 channels = 3-4 WPS
1 channel   = 10-25 WPS

The timebase doesn't matter, at least i can't see a differenz.

Interesting... thanks! The DSO seems to respond fastest when you don't change the waveform source channel. Do the figures change at all with different combinations? For example, do you get the same approx. WPS with Ch1 & Ch2 ON as you do with Ch1 & Ch3 ON?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Suffer1981de on May 13, 2014, 10:39:47 pm
Interesting... thanks! The DSO seems to respond fastest when you don't change the waveform source channel. Do the figures change at all with different combinations? For example, do you get the same approx. WPS with Ch1 & Ch2 ON as you do with Ch1 & Ch3 ON?

No differenz. Goes down to 1 WPS as soon as i turn the knobs tho ;-)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 13, 2014, 11:39:03 pm
No differenz. Goes down to 1 WPS as soon as i turn the knobs tho ;-)

Yes, I've seen in videos that the GUI of the DS1000Z can become quite slow in certain circumstances - and I'm sure data communications is near the bottom of the stack when it comes to servicing requests. I'm afraid it's never going to be possible to get very many waveforms per second out of the DS1Z under many circumstances.

The other problem for DS1Z owners is, as mentioned before, the missing SCPI :FUNC commands. The main reason I originally started writing RUU was to be able to export, save, and plot recorded frames - which is one of it's main strengths. Unfortunately, until Rigol corrects the FW, that won't be possible for DS1Z owners - so you should start complaining to your dealers (and Rigol) to try to get them to fix it asap.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: skrap on May 13, 2014, 11:47:09 pm
Yes it's on USB.

I have nothing new to report really, I get same figures as Suffer1981de.
The figures are quite stable after ~10s, +-1 wps or so.

1 channel = 24 wps
2 channels = 5 wps
3 channels = 3 wps
4 channels = 3 wps

With a 10ms timebase and 50Msps I can get 35wps on a single channel, but it fluctuates a lot (+-5 wps). This is the highest wps figure I've seen so far with the DS1000z. Curiously lowering the sps to 25Msps or even 10 only decreases the wps figure so it's not a straightforward relation between wps and sps or any other parameter I have tried so far (memory depth..etc).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: manu on May 14, 2014, 06:58:32 am
Hello,
RUU 3.00.a06 :
On my DS1104Zs, USB, 1 channel activated, the max wps I had is 14 wps (log disabled).
By the way, I can get waveforms, which is great!
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on May 14, 2014, 09:58:42 am
Breifly tested with my DS4054 on both USB and TCP. Looks good so far, logs and screenshot attatched.
Windows XP SP3 all up-to-date on a Dell Latitude E5000.

Alex

Thanks, Alex. I'm impressed with the speed of the DS4000 display memory transfers. Can you please tell me how many waveforms per second (WPS counter - top right) with just a single channel on? Maybe attach a log file for just a single channel? Thanks again!

USB:
1 channel   33 WPS
2 channels 23 WPS
3 channels 18 WPS
4 channels 15 WPS

TCP:
1 channel   3 or 4 WPS
2 channels 1 or 2 WPS
3 channels 1 WPS
4 channels 1 WPS
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: The Chump on May 14, 2014, 10:05:33 am
I have now found a bug: when I pull the plug out, RUU dedects that the unit has gone and shows a dialog:
DSO not responding to query and/or command - RUU closing connection
I click ok and then see the attatched screenshot. :-[
RUU needs to be re-started after this to remove the big red X
attatched also is the debugging info for both USB and TCP.

Cheers

Alex
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 14, 2014, 11:17:07 am
I only get 21wps , 1 Chan.   on my DS2000,
I may only have USB 1 ports. Would that make a difference ?

Possibly - although it might also have to do with the speed of your computer (I assume it's not too fast if it has USB 1.0 ports). You can create a log file and then examine the gaps between these two entries (look at entries from the middle of the file):

........
00000285  :WAV:DATA?   
00000291  :1400        +6ms  'The gap from the :WAV:DATA? number to the :1400 number is the ~DSO response and transmission time for display memory (1400 bytes)
00000308  :WAV:DATA?  +17ms  'The gap from :1400 number to the :WAV:DATA? number is mainly the ~display draw time (plus all other operations)
00000315  :1400        +7ms
00000331  :WAV:DATA?  +16ms
00000339  :1400        +8ms
........
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 14, 2014, 11:18:41 am
I have now found a bug: when I pull the plug out, RUU dedects that the unit has gone and shows a dialog:
DSO not responding to query and/or command - RUU closing connection
I click ok and then see the attatched screenshot. :-[

Thanks, Alex. I'm aware of this problem (as well as some others) - it will (hopefully) be sorted out when I'm finished rewriting the display routines.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 14, 2014, 11:43:44 am
I should just mention that these WPS numbers are rather irrelevant (other than the aesthetic fact that it's nicer when things are faster and more responsive) - so no need to get too wrapped up in them. Benchtop DSOs are not really designed to transfer copious amounts of real-time data to external devices - that's why they have built-in screens. You can't even retrieve the sample memory from the Rigols unless they're STOPped.

As mentioned before, the real-time display of RUU is just there to provide some visual feedback while performing the main functions, which are (or will be) transferring, saving, plotting, and searching of sample and/or segmented memory, remote control of DSO operations, and more precise control and operations for Delayed Sweep (Zoom) mode.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 14, 2014, 12:27:07 pm
Ok, just for comparison purposes I ran RUU on my tiny (old) netbook computer to see how the numbers changed. Here are the (approx. best case) numbers from my desktop machine compared to the netbook:

Desktop
i7 950 @ 3.06GHz
Win 7 x64

USB comm w/DS2000 (@2ns/div - FW v.3)
One channel:  ~43wps
Two channels: ~25wps

Average times with two channels:
To retrieve 2x display memory from DSO: ~20ms
To redraw display (and other ops.):         ~20ms


Netbook
Atom N270 @ 1.60GHz
Win 7 x86

USB comm w/DS2000 (@2ns/div - FW v.3)
One channel:  ~14wps
Two channels: ~11wps

Average times with two channels:
To retrieve 2x display memory from DSO: ~20ms
To redraw display (and other ops.):         ~70ms


So the speed of the computer (and number of cores) can also have a large impact on the WPS rates - although it's good to note that the number of channels turned on affects the DSO response and display memory retrieval times much more than the PC redraw times (since the display is only redrawn once per cycle, regardless of number of channels on).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on May 14, 2014, 12:52:33 pm
One more comparison test:

Netbook
Atom N270 @ 1.60GHz
Win 7 x86

Wi-Fi comm w/DS2000 (@2ns/div - FW v.3)
One channel:  ~9wps
Two channels: ~5wps
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: DD4DA on May 18, 2014, 09:27:02 pm
To Compare:

Rigol DS2202 (@2ns/div - Fw. is Actual)

1CH 28 WPS
2CH 14 WPS

AMD FX8350 (8-Core) @ Windows 8.1RU1 x64
via 1GBIT LAN-Link

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on May 29, 2014, 05:18:14 pm
Well, I'll take anything you can make, whatever specs it has. :-+

Ok, I'll put something together and let you know when it is ready.

I haven't had any time to work on this since that day, but here's what I used, then.  This won't be of much use to anyone that isn't somewhat capable in C# development.  This is pretty much a blank slate, but it is something to start from.

https://gist.github.com/naikrovek/c3e6d593eef39e71b84e
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mauroh on June 19, 2014, 12:37:27 pm
Have I missed something on this project or it is stopped?

Is there a Rigol official software to control the DS1074Z from a PC?

Thanks
Mauro
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: manu on June 19, 2014, 02:01:30 pm
Hello Mauro,
There is a beta-version that you can use on a DS1074Z.
I tested it a little, but I didn't find any bug in it, yet I haven't intensive usage of it (mainly screenshots).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: mauroh on June 19, 2014, 08:45:38 pm
Thank you manu, I thought the alfa was just for preliminary testing and it was not usable. I'll test it on the weekend. Thank you
Mauro
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Ken on July 28, 2014, 07:06:12 pm
I just made a purchase of a Rigol DS2072A and wanted to express my gratitude to the posters here, especially Marmad.  The RUU is part of what I needed as I plan on using it for 'real time' displays in the classes I give for Amateur Radio.
The wealth of information here is overwhelming but I do appreciate the forum as a way to help my understand things.  Oh, how things have changed since my Eico 460.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: viki2000 on September 30, 2014, 07:13:06 am
Hello,

I have a Rigol DS4034 UltraVision and the remote control from PC would be a very useful tool.
I have tried both version of RUU: the 2_03 and 3_alpha.
I cannot connect to the instrument.
I tried both: the USB and LAN connections. For LAN I connected only the PC and the Rigol without any additional network.
Both connections USB and LAN work when I test them with the Excel file provided by Rigol.

Why I cannot connect with RUU?
What are the steps in debugging the connection?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on September 30, 2014, 12:56:17 pm
Both connections USB and LAN work when I test them with the Excel file provided by Rigol.

I'm not sure what the Excel file provided by Rigol is, but to use RUU you should first be able to connect with Rigol's Ultra Sigma and send SCPI commands to the DSO.

Quote
Why I cannot connect with RUU?
What are the steps in debugging the connection?

I'm guessing you don't have the NI VISA Runtime installed. Get Rigol's Ultra Sigma and follow instructions to install VISA and get that running.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: viki2000 on October 01, 2014, 06:40:03 am
Of course I have installed NI VISA and UltraSigma software, otherwise the communication from Excel spreadsheet would not work.

Actually I installed all the software, from here, under section Software:
http://www.rigolna.com/products/digital-oscilloscopes/ds4000/ds4034/ (http://www.rigolna.com/products/digital-oscilloscopes/ds4000/ds4034/)

There is an Excel example which works for me.
The C#.NET and LabView I did not try yet.
Still RUU does not connect.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on October 01, 2014, 03:29:03 pm
Of course I have installed NI VISA and UltraSigma software, otherwise the communication from Excel spreadsheet would not work.

Actually I installed all the software, from here, under section Software:
http://www.rigolna.com/products/digital-oscilloscopes/ds4000/ds4034/ (http://www.rigolna.com/products/digital-oscilloscopes/ds4000/ds4034/)

There is an Excel example which works for me.
The C#.NET and LabView I did not try yet.
Still RUU does not connect.
Have you connected to the DSO with UltraSigma and tried sending the *IDN? command
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: viki2000 on October 06, 2014, 01:28:48 pm
@Teneyes
No, I do not get that communication window. Something appears a fast and then dis spears, i cannot see what window is. Then I got a error message that cannot communicate.
@maramd
NO and YES.
I guess that the start point of debugging.
YES in my Excel sheet.
And NO from UltraSigma.
UltraSigma can see my instrument, USB or TCPIP. but it has an error and it closes. I cannot activate SCPI command panel.
The error is related with ntdll.dll.
I have no idea how to solve it for the moment.
I only suppose that if UltraSigma will work without error, then maybe also RUU will work.
It cross to my mind several things: I have an antivirus, even anti-spywere. I disabled both and still no success. Then I was thinking at Regional settings. The original Windows DVD was in German, but it asked me if I want English and I have English installed. The Regional settings are for Germany. I changed for USA, restart the PC every time, after each change. STill the same error, the UltraSigam closes. It starts, I can see the Rigol as USB instrument, then sometimes it closes itself after few seconds and sometimes when I click right on the USB VISA, where the instrument was detected willing to invoke the SCPI command panel. Then it closes with ntdll.dll error.
I use Win7 64 bits Home Preminum.
I never had problems with other programs.
One more thing: the Rigol programs have a shield on their icon related with UAC (User Account Control). I turned that off and still I got the ntdll.dll error.
Have no idea what to do for the moment.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: viki2000 on October 06, 2014, 02:25:45 pm
Here are some updates to the problem mentioned above:
- I downloaded and updated NI-VISA to version 14.00. It is a big package over 600MB. Inside was also the NI-VISA 14.00.
- Then the RUU worked, but the UltraSigam still gives me the same ntdll.dll error and the program SCPI command panel still starts and remained blocked with error.

Here is the error that I get:
http://vid926.photobucket.com/albums/ad102/viki2000/vIdeo/UltraSigmantdllerror_zps3de528c9.mp4 (http://vid926.photobucket.com/albums/ad102/viki2000/vIdeo/UltraSigmantdllerror_zps3de528c9.mp4)

the error text is here:
"
Problem signature:
  Problem Event Name:      APPCRASH
  Application Name:      Ultra Sigma.exe
  Application Version:      0.1.6.0
  Application Timestamp:      4d2fa0d5
  Fault Module Name:      ntdll.dll
  Fault Module Version:      6.1.7601.18229
  Fault Module Timestamp:      51fb1072
  Exception Code:      c0000005
  Exception Offset:      00033ac5
  OS Version:      6.1.7601.2.1.0.768.3
  Locale ID:      1031
  Additional Information 1:      0a9e
  Additional Information 2:      0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:      0a9e
  Additional Information 4:      0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 (http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409)

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
"
Here is the screenshot with RUU.
http://vid926.photobucket.com/albums/ad102/viki2000/vIdeo/RUU-RIGOLDS4034_zps02753647.mp4 (http://vid926.photobucket.com/albums/ad102/viki2000/vIdeo/RUU-RIGOLDS4034_zps02753647.mp4)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: viki2000 on October 07, 2014, 08:08:21 am
OK, the problem is solved.
I used the DLL File Fixer (http://www.dll-files.com/fixer (http://www.dll-files.com/fixer)), which more or less is a Registry Optimizer, but did a good job this time.
Then has a section with Register DLL, letting you search the dll file that you need on their website and then install it on your machine.
Did that, restart the PC and no more problems.
RUU works fine, as well as UltraSigma.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: viki2000 on October 08, 2014, 10:54:21 am
One more thing.
I requested the firmware update to RIGOL.
They sent me the.GEL file.
For who is interested I can provide that file. It has around 8.8MB.
It updated the DS4034 to the software version 00.02.01
The .GEL file has the last modified date seen in windows explorer as 30.11.2013
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on October 08, 2014, 12:25:41 pm
It updated the DS4034 to the software version 00.02.01
The .GEL file has the last modified date seen in windows explorer as 30.11.2013
@viki2000: If you're interested in hacks for the DS4000 (500MHz BW, free options, etc), I suggest you check out this post (https://www.eevblog.com/forum/testgear/sniffing-the-rigol's-internal-i2c-bus/msg523679/#msg523679).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: viki2000 on October 08, 2014, 02:39:50 pm
Thank you for information.
In the pdf file with codes and options I see reference to "The Key codes can be generated using the Key Generating Software that has been published by others. eg. RiGen, riglol etc. Using these option codes."

Where do I find these " RiGen, riglol etc."?
On the forum I could not find them.

Searching the net I came to next link with similar info:
http://gotroot.ca/rigol/ (http://gotroot.ca/rigol/)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on October 08, 2014, 02:47:15 pm
Thank you for information.
In the pdf file with codes and options I see reference to "The Key codes can be generated using the Key Generating Software that has been published by others. eg. RiGen, riglol etc. Using these option codes."

Where do I find these " RiGen, riglol etc."?
On the forum I could not find them.

Searching the net I came to next link with similar info:
http://gotroot.ca/rigol/ (http://gotroot.ca/rigol/)
Yes, that's one of the sources. They aren't hosted on the forum.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: fefer on October 10, 2014, 03:55:41 pm
Hi guys,

I would be interesting to know if anyone already could read the entire waveform data in raw mode (in tis case 12Msamples in each of Ch1 and Ch2) just by one request?
I already tested, and the maximum I could get is 589794 samples by each request. So to read all I have to change the START and the STOP points of the waveform until the maximum.

By the way, the software development RUU is stoped?
Thank you!

Edit: I'm talking about model DS1000Z...
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: viki2000 on October 15, 2014, 06:44:02 am
Hi,
I have succeeded to make RUU running.
But my main problem was the ntdll.dll error, which came back, and UtraSigma crashes.
I have tried few days everything that crossed to my mind with no luck.
By chance I think I found the problem.
I am curios to know if somebody else experienced similar errors.
The oscilloscope Rigol is connected to PC with USB cable.
I have other devices connected to the same PC with USB cables.
One of them is PICKit 3 programmer from Microchip.
When I plug in the PiCKit 3 from Microchip and I start and try to use UtraSigma, then I get that ntdll.dll error.
It is a conflict in allocation the USB resources between these devices, somehow reflected in ntdll.dll
The solution seems to avoid usage and connection in the same time of the Rigol oscilloscope+UtraSigma and PICKit 3 to be connected to the PC.

And I unlocked all the functions using "riglol-20140717.zip".
RUU works fine, but I did not try all its functions. For me, for the moment, it is enough screen capture, which can be done also from UtraSigma. I have to play more with record frames, but I did/do not use the record functions up to know on oscilloscope as it was not needed.
Maybe later the transfer of the waveforms will be good tool and help.
Analyzing the waveform in PC with a more complex software is better. I think DaDiSP is one of them.
I think, even decoding can be done like that.
The Power Analyzer software worked in trail mode. I guess there is no full free, eventually equivalent, version.
Again, additional offline software may be used to analyze the waveform from harmonics point of view, but a real time one would be better.
 
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: msraya on November 09, 2014, 09:25:59 pm
Hi!

I wish to ask to the author of this great utility if He plans to make it work with the MSO1000Z versions of RIGOL oscilloscopes.

I got a MSO1074-S and I want to use this software in the two channels portion of the Scope at best. To use generator and LA will need a total redesign of the software I think..

I it possible to make minor modifications in the software to enable a compatible mode?  :-//

Thank You and Regards
Manuel
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on November 09, 2014, 10:03:16 pm
I it possible to make minor modifications in the software to enable a compatible mode?  :-//

Hi Manuel - Yeah, I currently have a borrowed MSO1074Z, and will try to get RUU working with it before I return the scope.

Mark
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: msraya on November 10, 2014, 09:19:45 am
Mark:

Thank You for your quick answer.
I will keep tune the forum to await new version.  :-+

Manuel
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: pa3bca on November 12, 2014, 09:55:45 pm
I am curios to know if somebody else experienced similar errors.
<snip>
When I plug in the PiCKit 3 from Microchip and I start and try to use UtraSigma, then I get that ntdll.dll error.
It is a conflict in allocation the USB resources between these devices, somehow reflected in ntdll.dll
The solution seems to avoid usage and connection in the same time of the Rigol oscilloscope+UtraSigma and PICKit 3 to be connected to the PC.
Bingo! I have (had!) the same issues with ultrasigma. Often - but not always I had to start it several times before I could use it (same ntdll.dll error). Sometimes starting it in some compatibility mode helped (it seemed). I have a Pickit 3, but not always connected.. but never noticed the relation. I just tried it several times with and without the pickit attached. failed and worked every time.
Starting Ultrasigma and then (re)connect the pickit 3 works ok. This stuff runs on a server that is on 24 hours so now I just keep Ultrasigma running continuously...
Thanks, this helps.

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EEVblog on November 13, 2014, 10:22:08 am
Just tried to get this working on my DS1054Z for the review, but unfortunately no joy. It did work briefly but then locked up.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: pa3bca on November 13, 2014, 04:49:54 pm
Just tried to get this working on my DS1054Z for the review, but unfortunately no joy. It did work briefly but then locked up.
Well you're not missing out on anything important. The only time(s) I use the software was (once) as an easy way to send some "magic" commands to my Rigol devices (ehm, get private keys and send unlock codes..) and every now and then when I want to take a screenshot from my DSA815 TG when I am too lazy to insert a USB stick.
For screenshots (and more) from my DS2072A I of course use Marmad's excellent RUU utility.

The NI-VISA drivers are all that's important, and they work ok (for RUU and Matlab etc)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: pa3bca on November 13, 2014, 06:09:15 pm
As Marmad has stated on the previous page , He has an MSO1074Z and is updating RUU for the MSO which will probably also connect to the DS1000z.   
Dave's Comment was likely a push to Mark to complete the upDate  ;D
Yes i'd like that too! Also for some reason Ultrasigma cannot create a screenshot of my 1074, so I have to use a memorystick..
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: MarkF on November 26, 2014, 03:49:27 am
I have a DS1074Z running firmware version 4.1.SP2 and I've been trying to determine the LAN port for sending raw SCPI commands.  Rigol documentation doesn't disclose the ports that they use.  I finally determined that my scope accepts SCPI commands on ports 5555 and 5566.  Does anyone know the intended use for these ports?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: SimonD on December 05, 2014, 11:34:58 am
Hello Mark,

Any progress with V3 and DS1000Z ? Lot of people waiting ....  :-+

Thank you very much !
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on December 09, 2014, 10:14:39 am
Hello Mark,

Any progress with V3 and DS1000Z ? Lot of people waiting ....  :-+

Thank you very much !

I'm working on it now (finally have a DS1000Z series to test with) and I'm making progress. I'll post here when there's a new version.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: SimonD on December 10, 2014, 09:06:49 am
Great News !!!!    :clap:
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: leppie on December 10, 2014, 09:29:17 am
Hello Mark,

Any progress with V3 and DS1000Z ? Lot of people waiting ....  :-+

Thank you very much !

I'm working on it now (finally have a DS1000Z series to test with) and I'm making progress. I'll post here when there's a new version.

Any plans to open the source? I see it is .NET based, and would like to contribute if possible.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: poundy on January 02, 2015, 09:34:37 am
Santa came with a DS1074z under his arm; does the current v3 alpha work against the 1000z series ?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Andycap on January 17, 2015, 01:49:46 pm
Has progress with this stopped for the 1000z ?  Looks like it could be a great tool.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Rigby on January 18, 2015, 03:16:46 am
It is progressing, surely.  Marmad is a known-good quantity in this.  Real life comes around and slows us all down all the time.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: drewkeller on April 10, 2015, 09:57:58 pm
For anyone following this thread... it's a bit ambiguous whether the beta is working for the DS1000Z series (the top post modified in May indicates it supports it, but more recent posts here say it's not working). To summarize, the 'live' view of the scope appears to be working, but not controlling the scope from the PC.

I recently purchased a DS1054Z and tried out the beta posted here. After extracting, I noticed the file is RUU_3_a06.exe (modified May 13, 2014) instead of a05 as the first post indicates.

I'm able to connect to my scope and get a 'real-time' view of it on my computer. I don't seem to have a way to control the scope from the PC, though. But that is definitely an improvement of my old method of USB video camera shakily pointed at a scope and try to avoid glare :/

I started by downloading and installing the NI IVI (280MB) as Rigol's website states should be done. I'm not sure that's really necessary, because it appears that Ultra Sigma also contains the IVI driver (plus lots of other stuff... 500MB+, youch). So it took me maybe an hour and a half to download and install these pieces and figure out what I was supposed to do.

I also ran across RigolBildschirmkopie (google it and translate the website from German--you will definitely need to read how to install the WinUSB driver), which is much lighter resource wise, but it only displays a screenshot when you press the screenshot button (not live).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Trev4G on May 24, 2015, 08:38:59 pm
Having just pensioned off my old DS1022CD in favour of a MSO4014 I was looking forward to see what improvements Rigol had made over the old UltraScope. I am still in shock >:( . However, having found RUU I now see hope.

Looking at the two downloads I found I have tried them both over LAN.

RUU 2.03 seems to work but of course only 2 channels display. There is no display of vertical or timebase settings and the channels display 0.5div lower than they should.

RUU 3.00.a06 reports that the DSO is not supported in this version.

RUU looks like it should offer me what I need but clearly not there yet. What is the state of development?

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: cubitus on June 19, 2015, 02:08:48 pm
+1
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Karel on June 30, 2015, 08:44:42 am
I use this software to control the scope, view live waveforms and download screenshots or memory waveform data.
No need to install 1GB of bloatware (visa, rigol). Works fine for me.

http://www.teuniz.net/DSRemote/ (http://www.teuniz.net/DSRemote/)

Latest version supports LAN & USB.


Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Gandalf_Sr on September 30, 2015, 05:56:37 pm
I sorta kinda figured that my MSO2072A 'upgraded' would work with this utility but when I try to connect, it tells me...
This Ultravision DSO is not supported in this version.  Contact....
Am I flogging a dead horse?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: gojimmypi on October 18, 2015, 05:12:01 pm
Hello Mark,

Any progress with V3 and DS1000Z ? Lot of people waiting ....  :-+

Thank you very much !

I'm working on it now (finally have a DS1000Z series to test with) and I'm making progress. I'll post here when there's a new version.

Any plans to open the source? I see it is .NET based, and would like to contribute if possible.

I'm a .Net developer as well! I would enjoy contributing to this project, too! That would be fantastic to see the source on github.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: gojimmypi on October 18, 2015, 05:22:15 pm
I use this software to control the scope, view live waveforms and download screenshots or memory waveform data.
No need to install 1GB of bloatware (visa, rigol). Works fine for me.

http://www.teuniz.net/DSRemote/ (http://www.teuniz.net/DSRemote/)

Latest version supports LAN & USB.

Thanks for posting this link! I plan to order a DS1054Z soon, do you know if this software would work with this model? That's awesome it is open source, as well!

https://github.com/Teuniz/DSRemote (https://github.com/Teuniz/DSRemote)

Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Karel on October 18, 2015, 06:19:49 pm
Thanks for posting this link! I plan to order a DS1054Z soon, do you know if this software would work with this model? That's awesome it is open source, as well!

https://github.com/Teuniz/DSRemote (https://github.com/Teuniz/DSRemote)

Yes. Just make sure your scope is running the latest firmware.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Juhizo on January 17, 2016, 12:56:41 pm
Is there any progress on RUU for DS1054Z. Can capture wafeform without intensity gradient, and there isn't any adjustment knobs on UI.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: paulfromsf on February 26, 2016, 08:45:46 pm
I am using the 2.03 release on a Rigol DS2102A. It is a fantastic utility and is doing 90% of what I need it to (Thank you Marmad for writing and posting to share). I am not sure if it is a bug or if I am missing a setting but when I try to save multiple frames (created by the "Record" function on the scope) in a csv format, frame #1 data is being replicated in the csv file for all subsequent frames despite the frame number incrementing (as well as the time stamp) in the file. I have gone through all of the different settings available on the 2.03 UI but nothing seems to work / address the issue. Does anyone know if this is a known issue, if there is a work around, or am I missing something simple? Any help would be greatly appreciated but at a minimum I wanted to post in case this is a bug so it can perhaps be addressed in any future releases.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Teneyes on February 27, 2016, 04:36:06 pm
I am not sure if it is a bug or if I am missing a setting but when I try to save multiple frames (created by the "Record" function on the scope) in a csv format, frame #1 data is being replicated in the csv file for all subsequent frames despite the frame number incrementing (as well as the time stamp) in the file.
Hello ,  I have a DS2000 non A, and I will test the .csv function to verify when I get back home, 5 days.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 10, 2016, 10:46:47 pm
I am using the 2.03 release on a Rigol DS2102A. It is a fantastic utility and is doing 90% of what I need it to (Thank you Marmad for writing and posting to share). I am not sure if it is a bug or if I am missing a setting but when I try to save multiple frames (created by the "Record" function on the scope) in a csv format, frame #1 data is being replicated in the csv file for all subsequent frames despite the frame number incrementing (as well as the time stamp) in the file. I have gone through all of the different settings available on the 2.03 UI but nothing seems to work / address the issue. Does anyone know if this is a known issue, if there is a work around, or am I missing something simple? Any help would be greatly appreciated but at a minimum I wanted to post in case this is a bug so it can perhaps be addressed in any future releases.

Paul - Check your PMs. I fixed the CSV write bug and compiled a working 3.0 version for you. As I mentioned, it's been over a year since I worked on RUU, but I hope to get back working in earnest on it in another month or so, since there are many new features which I already wrote the code for but haven't had the time to enable in the public releases.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: ionutmarisca on March 27, 2016, 03:34:45 pm
Looking for an updated version of 3.0 as this is an extremely helpful tool. All I want is the possibility to export to csv in this new version (need all the 4 channels)(there are no buttons available).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 30, 2016, 08:26:12 pm
Looking for an updated version of 3.0 as this is an extremely helpful tool. All I want is the possibility to export to csv in this new version (need all the 4 channels)(there are no buttons available).

There is no 3.0 version yet that can capture all 4 channels on the DS4000 and export to CSV, although perhaps there will be in the not-too-distant future. But why can't you export the captured waveforms to CSV using the DSO itself?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Mechatrommer on March 31, 2016, 03:58:27 am
All I want is the possibility to export to csv in this new version (need all the 4 channels)(there are no buttons available).
you may try VisaDSO. it can download 4 channels DS1000Z full memory and export to CSV. theoritically, it should work with DS2000 as well, but not physically tested. if you are interested, you may forward your report to the "MAKER".
https://www.eevblog.com/forum/projects/rigol-feat-higher-bitfloat-accuracy-general-purpose-deep-mem-fft-sw/msg900741/#msg900741 (https://www.eevblog.com/forum/projects/rigol-feat-higher-bitfloat-accuracy-general-purpose-deep-mem-fft-sw/msg900741/#msg900741)
http://www.soasystem.com/download/visadso/ (http://www.soasystem.com/download/visadso/)

But why can't you export the captured waveforms to CSV using the DSO itself?
with DS1000Z and E at least, saving CSV using built in rigol function takes forever, esp full memory data. downloading raw byte data to PC through USB (visa) and then save to CSV in the PC only cost in minutes..
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Karel on March 31, 2016, 06:19:13 am
All I want is the possibility to export to csv ...

Is there a prticular reason it must be in csv format? csv format is a pain in the *** to deal with and the files are huge.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 31, 2016, 09:35:00 am
theoritically, it should work with DS2000 as well, but not physically tested.

DS2000/4000 need a different memory-reading routine; it's not automatically compatible.

Quote
if you are interested, you may forward your report to the "MAKER".

Is there some reason you're referring to yourself in the third person?

Quote
with DS1000Z and E at least, saving CSV using built in rigol function takes forever...

Uh...yeah, Shafri, I know about the speed difference - I've been writing software for the Ultravision DSOs for 3.5 years now. But I wanted to know his reason for requesting the external CSV-saving capability and whether it was frame-related or not.

And BTW, the DS1000Z firmware/MCU is MUCH slower than DS2000/4000 in most respects, although I never tested the file-writing speeds against my DS2000 when I had a DS1000Z.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Trev4G on March 31, 2016, 10:25:44 am
There is no 3.0 version yet that can capture all 4 channels on the DS4000 and export to CSV, although perhaps there will be in the not-too-distant future.

I would be very interested in a version 3.0+ that runs on my MSO4014. I would be happy to test when this is needed.

Trevor
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Mechatrommer on March 31, 2016, 10:33:24 am
theoritically, it should work with DS2000 as well, but not physically tested.
DS2000/4000 need a different memory-reading routine; it's not automatically compatible.
i run through DS2000 programming guide. it seems DS1000Z is following (or seems to be compatible with) the DS2000 routine/API, except DS1000Z has some portions updated or explained in more detailed. i have a feeling rigol internal dev.team continue to repolish their API along with the lines of their product, except the boundary is unclear between sw api revision and product models/generations.

Quote
if you are interested, you may forward your report to the "MAKER".
Is there some reason you're referring to yourself in the third person?
who is making it is not important. and i've got negative replies about many aspects from "ee specialists". so separating between a personality who frequently involved in a ee forum discussion and a personality who enthusiastic about developing SW is a better idea for now. i dont want to hear... hey, Mechatrommer! you should do this you shouldnt do that etc, in this public ee forum. the only clear path to give advice on SW aspect is in the given link (the MAKER's email ;)) this is ee forum after all.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Mechatrommer on March 31, 2016, 10:43:06 am
All I want is the possibility to export to csv ...
Is there a prticular reason it must be in csv format? csv format is a pain in the *** to deal with and the files are huge.
thats why saving to wfm in dso unit, is much more sensible action, still it takes longer if not forever to save wfm internally. but then keep working with either csv or wfm on both DSO or PC is less stellar compared to defining a file standard in binary format excelled in speed and space saving for the purpose. i've opened a thread to ask about industry standard, the replies are "quite" plausible, other than a complicated API toolkit HDF5 (iirc) format, there only a few "application specific" format |O (time to invent a DSO specific or 2-dimensional time series file format)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 31, 2016, 11:00:42 am
i run through DS2000 programming guide. it seems DS1000Z is following (or seems to be compatible with) the DS2000 routine/API, except DS1000Z has some portions updated or explained in more detailed. i have a feeling rigol internal dev.team continue to repolish their API along with the lines of their product, except the boundary is unclear between sw api revision and product models/generations.

Well, perhaps it's been changed since I had a DS1000Z and DS2000 sitting on my desk simultaneously, but the last time I checked there was no WAVEFORM:STATUS command on the DS1000Z (as there is on the DS2000/4000).

Quote
i dont want to hear... hey, Mechatrommer! you should do this you shouldnt do that etc, in this public ee forum. the only clear path to give advice on SW aspect is in the given link (the MAKER's email ;)) this is ee forum after all.

Good luck with that!  ;)


EDIT: Just checked the DS1000Z programming guide (Dec. 2015 version): still no WAVEFORM:STATUS command. So, no, DS1000Z is not exactly following the DS2000/4000 routine/API - at least in terms of continuous reading. Block reading seems to be more or less compatible, but it's a less efficient method to use on the DS2000/4000.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 31, 2016, 11:06:05 am
thats why saving to wfm in dso unit, is much more sensible action, still it takes longer if not forever to save wfm internally.

Which is another reason why it it's so damn stupid that Rigol changed the WFM format in the Ultravision DSOs from the previous format in the "E" (and older) DSOs. And they still have not (as far as I know) published specs for the format - although I know that Drieg was trying to get the specs from them quite some time ago.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Mechatrommer on March 31, 2016, 11:24:11 am
Well, perhaps it's been changed since I had a DS1000Z and DS2000 sitting on my desk simultaneously, but the last time I checked there was no WAVEFORM:STATUS command on the DS1000Z (as there is on the DS2000/4000).
you are right!. but the "theoritical" above means based on the assumption that the current DS2000 hardware or api model is not necessitating "WAVEFORM:STATUS" anymore, i mean less capable DS1000Z doesnt have to confirm its wav/data transfer status, you can read a fixed size of chunks continuously, asking the next chunk will either send the next chunk immediately or hold the caller until the next chunk is ready for the transfer. i'd be surprised if DS2000 is too slow at transferring say 1000 bytes sized of chunks continuously.

thats why saving to wfm in dso unit, is much more sensible action, still it takes longer if not forever to save wfm internally.
Which is another reason why it it's so damn stupid that Rigol changed the WFM format in the Ultravision DSOs from the previous format in the "E" (and older) DSOs. And they still have not (as far as I know) published specs for the format - although I know that Drieg was trying to get the specs from them quite some time ago.
lets put wfm format aside alone, even the simple text based csv format, the rigol sw developers cant get it right after so many years. i bought my DS1000Z with original FW and with different CSV format, and now upgraded to the latest FW only few months apart, has different CSV format :palm: i'm imagining rigol sw engineer is a 25 years old lad by now (18 when first assigned) who is so busy with other tasks that he cant get a proper course on file format standard. it always freaked me out when i think that the same lad is assigned to formalize the wfm formats across dso/fw generations. another possibility is that for each dso/fw generations, there will be a sw.eng. undergraduate assigned for the task during his/her practical training, which is equally freaking situation. file format standard in rigol is next to a total failure.

ps: i've made visadso to read the latest ds1000z wfm format. but its a retarded hack.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 31, 2016, 11:43:46 am
you are right!. but the "theoritical" above means based on the assumption that the current DS2000 hardware or api model is not necessitating "WAVEFORM:STATUS" anymore

Nope, you still need it for continuous reading. But as I mentioned in my EDIT above, you can use block reading for compatibility with DS1000Z.

Quote
i mean less capable DS1000Z doesnt have to confirm its wav/data transfer status, you can read a fixed size of chunks continuously, asking the next chunk will either send the next chunk immediately or hold the caller until the next chunk is ready for the transfer.

Sure, but if I remember correctly, transferring a huge waveform from the DS1000Z essentially "locks" up the DSO for the length of the transfer, right? Or have they fixed that? On the DS2000, transferring a maximum-memory-sized waveform does not inhibit the user from, for example, zooming and scrolling through the waveform on the DSO during the transfer - it doesn't affect the responsiveness of the DSO in any way (although, of course, you can't RUN the DSO and overwrite memory during the transfer).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Mechatrommer on March 31, 2016, 02:08:50 pm
Sure, but if I remember correctly, transferring a huge waveform from the DS1000Z essentially "locks" up the DSO for the length of the transfer, right?
i've not tested the respond of it while downloading data, but (see below) the dso returned none (zero length data) at least on my unit if requesting large data. requesting larger than 1Mpts data is doomed to this kind of zero byte returned failure. so my method is read many smaller chunks, somewhere 100Kpts per call (rigol advice in programming guide is using 120Kpts) is safer bet from testing, if latency (or incompatibility) is an issue, we may further reduce the chunk size, its slower but it will put less burden to the DSO FW from transferring out large block of data at once, hence "theoritically" it should be more compatible. this is the way i did in VisaDSO. requesting data with many calls also enable us to device our own callback or update function so user wont wait a flat 65 seconds downloading 24Mpts data while screen showing nothing, or cancelling the download process before its completed.

edit: i just tested it, with multiple block read, the ds1000z isnt locked, we still can operate the dso knobs. i guess the dso will pool and process the gui between block read. but as said, request large block of data at once is a failure, so this way is a no go. and looking back at the ds2000 programming example, ":wav:status?", ":wav:data?", "viRead" sequence just look like another variant of "multiple block read", not "read at once" method. and the ds2000 support for ":wav:start" and ":wav:stop" (the MBR method i used in DS1000Z) makes me believe that, ds1000z method of MBR which used these commands is also applicaple to ds2000. no?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marmad on March 31, 2016, 02:45:55 pm
and the ds2000 support for ":wav:start" and ":wav:stop" (the MBR method i used in DS1000Z) makes me believe that, ds1000z method of MBR which used these commands is also applicaple to ds2000. no?

Yes, I think that should work fine - I'll give your app a test tomorrow and let you know how it works on the DS2000.

How have you been able to do with real-time reading of the display waveform? I was never able to get above single-digit wfms per second while testing on the DS1000Z (while I can get 40-50 on the DS2000).
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: ionutmarisca on April 13, 2016, 04:09:55 pm
Looking for an updated version of 3.0 as this is an extremely helpful tool. All I want is the possibility to export to csv in this new version (need all the 4 channels)(there are no buttons available).

There is no 3.0 version yet that can capture all 4 channels on the DS4000 and export to CSV, although perhaps there will be in the not-too-distant future. But why can't you export the captured waveforms to CSV using the DSO itself?
Thanks for your response. To be honest, I'm trying to help someone who needs to export to a CSV file all the 4 channels (don't know the actual reason). From what I understand, he can only export one channel at a time or something like this and he needs all the 4 channels. He gave me a .wfm file but I found no viewer, parser, converter that works with this format. I found this thread after searching for other methods. Is there a possibility to export all the 4 channels to a CSV file without using any software?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: tpailevanian on May 12, 2016, 06:16:29 pm
Can someone verify that the ultravision utility works on the DS2072A-S model?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: EEngo on May 26, 2016, 06:41:31 pm
Thank you so much for sharing the software! :-+
Is there any chance to get it working with the MSO2000-series?
(I don't know if the LA function is of main interest but nevertheless it would be so nice to use the software for the analog channel data ...)

I would be glad to help and test with my scope  8)
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: marchelh on November 17, 2016, 06:04:03 pm
Hi Marmad

Version 3 pre-release looks promising! Its response over USB is very good 20 to 30 wave-forms per second update feels like almost realtime.
Any progress on the version 3 code?

Regards,
Marchel.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: chillax on February 26, 2017, 01:04:28 am
I would love to be able to use DSRemote with my DS2072 (not A), but when I pulled the latest and ran (v0.34_1702162027) and try to connect via LAN, I get the following error:

Received an unknown identification string from device:

RIGOL TECHNOLOGIES,DS2302,DS2A0000000001,00.03.05

I specifically got the latest firmware from Rigol.  Anything I'm doing wrong?

Thanks, chillax
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Karel on February 26, 2017, 08:34:20 am
I would love to be able to use DSRemote with my DS2072 (not A), but when I pulled the latest and ran (v0.34_1702162027) and try to connect via LAN, I get the following error:

Received an unknown identification string from device:

RIGOL TECHNOLOGIES,DS2302,DS2A0000000001,00.03.05

I specifically got the latest firmware from Rigol.  Anything I'm doing wrong?

Thanks, chillax

No offence, but have you read the first two lines of the DSRemote website?
I quote from http://www.teuniz.net/DSRemote/ (http://www.teuniz.net/DSRemote/):
Quote
DSRemote is a program to control and visualize your Rigol® DS6000 or DS1000Z series oscilloscope from
your Linux desktop via USB or LAN. It will probably work as well with the other series like DS2000A and DS4000 series but
I have no access to all those oscilloscopes so I can not test it.

Edit:
Appearantly your scope is not supported. If you have a look here: https://github.com/Teuniz/DSRemote/blob/master/mainwindow.cpp (https://github.com/Teuniz/DSRemote/blob/master/mainwindow.cpp)
at line 851 you'll find a function get_device_model(). When you scroll down you'll see the check for
the supported models.

You could try to change the line 1032:

Code: [Select]
if(!strcmp(str, "DS2302A"))
into

Code: [Select]
if(!strcmp(str, "DS2302"))
and see what happens.




Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: chillax on February 26, 2017, 10:02:21 am
Hi Karel,

Thank you.  Yes, I had read the disclaimer and I was just wondering if anyone had gotten it to work with my series -- and if so, what steps I would have to complete until I could also use this seemingly great utility.

I made a new block as you suggested and I got further, but then new errors arose. 

Is there a programming guide (I see mentioned in various posts)?  The errors are related to reading the settings and it failing.

Thanks for any help,
-chillax
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Karel on February 26, 2017, 10:51:51 am
http://int.rigol.com/Support/Manual/5 (http://int.rigol.com/Support/Manual/5)

Apparently, your scope is out of production and isn't supported anymore.
You could write an email to Rigol support and ask if they can send you the Programming Guide for your model.

Anyway, it's a pain in the **s to support different models because almost every model has different operations.
Sometimes the commands for the same operation are different and sometimes the commands are equal but
uses different parameters, ranges or dimensions... And firmware updates usually breaks things again.
It's a big mess.
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: KedasProbe on March 16, 2017, 05:26:43 pm
Looking for an updated version of 3.0 as this is an extremely helpful tool. All I want is the possibility to export to csv in this new version (need all the 4 channels)(there are no buttons available).

There is no 3.0 version yet that can capture all 4 channels on the DS4000 and export to CSV, although perhaps there will be in the not-too-distant future. But why can't you export the captured waveforms to CSV using the DSO itself?

Hi marmad,
At work we tried to use the application but also missing the 4 channels and the speed of writing it to USB is, well, I could probably write it down on paper faster. (makes you feel like you are busy wasting your time)
In the previous version we saw 4 channels but couldn't log, in version 3 we see only 2 channels and log 2 channel. (we want 4 channel log)
Do you want to sell the source code or make it a public project so we can make some modifications for 4 channels?
If not how long before you are able to add channel 3 and 4?

Thanks
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: xenonart on February 22, 2018, 03:02:36 pm
Hello!

I apologize for bringing up this old topic again, but I couldn't find anything more recent that fits my question properly.

Quote
Paul - Check your PMs. I fixed the CSV write bug and compiled a working 3.0 version for you. As I mentioned, it's been over a year since I worked on RUU, but I hope to get back working in earnest on it in another month or so, since there are many new features which I already wrote the code for but haven't had the time to enable in the public releases.

Is this version still around somewhere? I did record thousands of recorded waveforms using a DS4024 and exported all of them as combined CSV yesterday (at least I thought I had). Unfortunately, exactly the same as mentioned here happened to me:

Quote
I am using the 2.03 release on a Rigol DS2102A [...] but when I try to save multiple frames (created by the "Record" function on the scope) in a csv format, frame #1 data is being replicated in the csv file for all subsequent frames despite the frame number incrementing (as well as the time stamp) in the file. I have gone through all of the different settings available on the 2.03 UI but nothing seems to work / address the issue.

Since exporting single waveforms to CSV on the scope takes forever, and the function is not even available in the Recording / Frames mode, this would be really helpful to have. To be more precise, I really need this function (desperately   ::)). Or, is there any other tool out that might fulfill this task?

Ingo
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Chalky on August 12, 2018, 05:08:49 am
Hey Marmad and others, FTI - I’ve been playing with LXI on the Rigol DS2000, faster and easier than going through the NI drivers, nothing to install l, just direct TCP.  All commands work the same.  Can post code/details if need it, but realise you may be doing this already!  Cheers.


Sent from my iPhone using Tapatalk
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Fabi on June 06, 2019, 05:39:38 pm
Hey everyone,

I used the  RUU 2.03 with my Rigol DS4014, but it always only saved 1400 points per channel (it did not depend on the pts setting on the scope). I need many more points since my pulses have roughly a FWHM of ~250 microseconds and the window has to be at least 1 ms.

I thought the software is not working properly with my DS4014, but when I extract the deep memory via ultra sigma and the SCIP panel control (analog to this example: https://rigol.desk.com/customer/en/portal/articles/2285685-ds1000z-deep-memory-data-collection-example (https://rigol.desk.com/customer/en/portal/articles/2285685-ds1000z-deep-memory-data-collection-example)), the data is again only 1400 points long.

Any suggestions what the problem could be?
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Behemot on June 14, 2020, 11:27:37 am
Anybody knows which folder and which MSI does actually contain the driver only of the humongous IVI pack of stuff I will never use? Tried installing like a dozen driver packages manually but no joy, only installing the whole damn thing installed the driver at about 10 %.

Seems like something else is needed anyways for the RUU to run properly. Is there a known list of dependencies for it to run?  :-DMM
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: SteveDC2 on July 29, 2020, 02:58:12 am
OK, I KNOW this is a really old posting but yes... I would be interested in your work.

I have just started down this path and after a false start (due to old FW not behaving correctly on the Telnet port) I can talk to the scope reliably now, but before I embark on creating my own rendition I though I would check if others have any DS2000 series code that doesn't rely on the absolutely terrible NI drivers.

Regards,
Steve
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: SteveDC2 on July 29, 2020, 02:59:38 am
"Hey Marmad and others, FTI - I’ve been playing with LXI on the Rigol DS2000, faster and easier than going through the NI drivers, nothing to install l, just direct TCP.  All commands work the same.  Can post code/details if need it, but realise you may be doing this already!  Cheers."

OK, I KNOW this is a really old posting but yes... I would be interested in your work.

I have just started down this path and after a false start (due to old FW not behaving correctly on the Telnet port) I can talk to the scope reliably now, but before I embark on creating my own rendition I though I would check if others have any DS2000 series code that doesn't rely on the absolutely terrible NI drivers.

Regards,
Steve
[/quote]
Title: Re: Software & tips for Rigol DS2072 ( DS2000 / DS4000 / DS6000 UltraVision DSOs )
Post by: Microdoser on October 18, 2020, 10:35:34 pm
Marmad hasn't logged in since September 16, 2018, 10:51:16 am.

I think they might be gone for good.