Author Topic: Saving files on the Rigol scopes  (Read 21612 times)

0 Members and 1 Guest are viewing this topic.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Saving files on the Rigol scopes
« on: May 12, 2010, 07:14:48 pm »
Well to be honest I have read the manual and I'm still a bit clueless. How do I store data on a USB stick with my rigol scope ? the scenario being I'm capturing some back EMF spikes (well turns out more like oscillations but anyway) and I want to save the image or the data the scope has collected for review on a computer and to possibly compile into a report. How do I do this ?
 

Offline tecman

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: us
Re: Saving files on the Rigol scopes
« Reply #1 on: May 12, 2010, 07:32:20 pm »
I am not in front of the scope right now, but first you must plug in a usb memory stick.  Go to Storage, then External.  I believe that you can then create a new file and it will give you the opportunity to name it at that point.  You can save as a jpeg or a csv if you want to import into excel or similar.

Paul
 
 

Offline rossmoffett

  • Regular Contributor
  • *
  • Posts: 234
  • Country: us
Re: Saving files on the Rigol scopes
« Reply #2 on: May 14, 2010, 07:17:58 am »
Those CSV files sure can take a long time to save and be up to 20 Mb, just fair warning.
ArcAttack - A group of musical Tesla coil performers with semi-regular blog updates.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Saving files on the Rigol scopes
« Reply #3 on: May 14, 2010, 12:22:06 pm »
yea so I discovered, 21.something MB for the full 1MSample readout. luckily for my current purposes at work they just want screen shots I think.

My next question was going to be: what can I do with a CVS file ? in excel it makes a horrible graph, is there a program that can interpret the info and display it interactively so that I can "zoom" into it and move it around ?

oh and after not being able to get a USB stick I discovered how cool it is to use my phone as a USB memory and then I can review the screenshot on the phone with people.
« Last Edit: May 14, 2010, 12:36:04 pm by Simon »
 

alm

  • Guest
Re: Saving files on the Rigol scopes
« Reply #4 on: May 14, 2010, 12:59:00 pm »
You can edit the Excel graph to make it slightly less awful.

CSV files are especially useful if you want to process the data in some way. For simple graphs, a screenshot is easier and faster, and has the advantage that it conveniently shows range settings and measurements. A CSV file can be imported in any competent piece of data processing/calculation software (which doesn't include Excel), for example Matlab (or free clones like Octave). Matlab does allow you to zoom in on graphs. These do have a fairly steep learning curve. More dedicated would be something like SignalExpress, but that's probably quite expensive. These programs allow you to filter and analyze the data in various ways. If you just want a picture for documentation purposes, I'd stick to screenshots.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Saving files on the Rigol scopes
« Reply #5 on: May 14, 2010, 01:22:34 pm »
a screen shot will show hardly 480 samples but the CVS file can hold up to 1'000'000 samples. what I'm doing is recording the spikes that occur when switching fans, but these occur as continuous oscillations in bursts, so I can either view a crunched up version of the whole sequence or zoom in on one burst. if I could handle the CVS data easily I could expand the time axis and run the graph left and right.

Is the Rigol software any use for handling and capturing CVS data ? what i mean is will the pc software store a CVS file faster than the scope will on a usb stick ?
 

Offline rossmoffett

  • Regular Contributor
  • *
  • Posts: 234
  • Country: us
Re: Saving files on the Rigol scopes
« Reply #6 on: May 14, 2010, 09:40:28 pm »
My next question was going to be: what can I do with a CVS file ? in excel it makes a horrible graph, is there a program that can interpret the info and display it interactively so that I can "zoom" into it and move it around ?

I took a CSV (comma separated variable) file in to see if I could get a very good frequency estimate.  I noticed that it takes a sample every 2 ns, however, the time stamp does not reflect that.  It only records to the microsecond.  You need to re-label the data to reflect this, else a bunch of points get unnecessarily crowded into one spot on the x axis.

With the many sample points you can't graph them all at once, it'll crash your computer probably.
ArcAttack - A group of musical Tesla coil performers with semi-regular blog updates.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Saving files on the Rigol scopes
« Reply #7 on: May 15, 2010, 06:05:57 am »
My next question was going to be: what can I do with a CVS file ? in excel it makes a horrible graph, is there a program that can interpret the info and display it interactively so that I can "zoom" into it and move it around ?

I took a CSV (comma separated variable) file in to see if I could get a very good frequency estimate.  I noticed that it takes a sample every 2 ns, however, the time stamp does not reflect that.  It only records to the microsecond.  You need to re-label the data to reflect this, else a bunch of points get unnecessarily crowded into one spot on the x axis.

With the many sample points you can't graph them all at once, it'll crash your computer probably.

I'm sure a quad core 2.4 GHz and 8 GB or Ram will manage it fine, the scope does
 

Offline rossmoffett

  • Regular Contributor
  • *
  • Posts: 234
  • Country: us
Re: Saving files on the Rigol scopes
« Reply #8 on: May 15, 2010, 07:17:14 am »
I meant in Excel or OpenOffice.  In Excel you actually can't import all of the points to manipulate them in the first place, in OpenOffice you can only almost get all of them.  I don't know why they are so prone to crashing on me, maybe my little netbook or maybe the charting systems weren't meant to handle that much data.
ArcAttack - A group of musical Tesla coil performers with semi-regular blog updates.
 

alm

  • Guest
Re: Saving files on the Rigol scopes
« Reply #9 on: May 15, 2010, 08:35:31 am »
Generating a 1M points vector, calculating the sine of this, and plotting this took maybe three seconds in Octave (was too lazy to pop in the CD for the real Matlab, but I don't expect it to be slower). Which is why I suggested a competent piece of data processing/math software ;). I'm sure there are other good ones out there. A spreadsheet is a toy that lets people unfamiliar with programming or math do these things, with predictable results.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Saving files on the Rigol scopes
« Reply #10 on: May 15, 2010, 04:33:45 pm »
is Matlab or octave free ? where can I get them ?
 

Offline Matt

  • Contributor
  • Posts: 19
Re: Saving files on the Rigol scopes
« Reply #11 on: May 15, 2010, 04:50:19 pm »
 

Offline dengorius

  • Regular Contributor
  • *
  • Posts: 96
Re: Saving files on the Rigol scopes
« Reply #12 on: May 15, 2010, 05:34:23 pm »
you can also take a look at Scilab - http://www.scilab.org it's another open source matlab clone
 

Offline joelby

  • Frequent Contributor
  • **
  • Posts: 634
Re: Saving files on the Rigol scopes
« Reply #13 on: May 16, 2010, 01:28:42 pm »
If you use the Rigol binary .dat format, the data files are only 1MB and save quickly. There's a Matlab thing that opens them here http://www.mathworks.com/matlabcentral/fileexchange/18999-read-binary-rigol-waveforms, and I think there was a Python program that did the same.
 

Offline wd5gnr

  • Regular Contributor
  • *
  • Posts: 179
Re: Saving files on the Rigol scopes
« Reply #14 on: May 16, 2010, 08:22:54 pm »
Octave: http://www.gnu.org/software/octave/index.html

Matlab isn't free, info here: http://www.mathworks.com/products/matlab/

-Matt

What about Freemat -- I'm not a Matlab maven but they say it is nearly compatible. http://freemat.sourceforge.net/

I've used SciLab which I like but I don't think it is very compatible. But I like it.

Al W.
http://www.hotsolder.com
 

Offline webrider99

  • Newbie
  • Posts: 2
Re: Saving files on the Rigol scopes
« Reply #15 on: January 07, 2011, 09:22:21 pm »
Well to be honest I have read the manual and I'm still a bit clueless. How do I store data on a USB stick with my rigol scope ? the scenario being I'm capturing some back EMF spikes (well turns out more like oscillations but anyway) and I want to save the image or the data the scope has collected for review on a computer and to possibly compile into a report. How do I do this ?
Hi Simon,  I am sure you have found this by now, but this is for the benefit of other newbies.

1. First you select the storage menu while a usb drive is present.
2. Then you press the storage grey button and use the pop-up to select the type of file to store.
3. Then you set the Data Depth to "displayed" or "maximum".
4. Then you set Para Save to ON/OFF as desired.
5. Then you select External.
6. Then you select New File.
7. Then you enter the new filename using the select knob.
8. Then you select Save and the file will be written to the USB device.

This procedure is not in the book, I found it via experimentation. I am currently working on a file save lesson to go with the others at
 https://www.youtube.com/user/lwgraves?feature=mhum#p/p



 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Saving files on the Rigol scopes
« Reply #16 on: January 07, 2011, 10:01:05 pm »
yea I got it figured
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf