EEVblog Electronics Community Forum

Products => Test Equipment => Topic started by: littleboot on November 17, 2020, 11:02:00 am

Title: Rigol DS1054Z Waveform record mode export PC
Post by: littleboot on November 17, 2020, 11:02:00 am
Hello.

I'm currently trying and failing to capture a BPSK waveform so I can decode it manually.
I'm using the DS1054Z (Software upgraded all options ect)

I used the record mode and captured the waveform. I would like to export this waveform to the PC so I can view the entire waveform and scroll through it.
I'm unable to do this, it's really frustrating |O |O can someone tell me how to do this? many thanks in advance.

I attached the a screenshot of the waveform (208 parts) I would like to export.

(I'm also unable to set the horizontal time scale to a custom value so I can view 1 symbol on every screen, but I believe this is not possible. else decoding on the scope itself would be possible)


Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: littleboot on November 17, 2020, 11:38:38 am
If I remember correctly, DSRemote for Linux can save the recordings:

https://www.teuniz.net/DSRemote/ (https://www.teuniz.net/DSRemote/)

For Windows I wrote a program for USB connection that can save the recordings as CSV files. It only works with the WinUSB driver:

https://peter.dreisiebner.at/messinstrumente-v01/ (https://peter.dreisiebner.at/messinstrumente-v01/)
https://peter.dreisiebner.at/messinstrumente-v01/help.htm (https://peter.dreisiebner.at/messinstrumente-v01/help.htm)

Peter

Hi Peter,

Thank you very much for the fast reply and your answer. I'm a windows user so I will try that option first. Let you know if I got it to work.
Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: Warhawk on November 17, 2020, 11:39:49 am
And I wrote a little tool that imports the waveform to LTspice (and WFM viewer)
Haven't used it last couple years though.
The link is below in my signature.
Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: littleboot on November 17, 2020, 01:19:03 pm
Hi Peter,

I downloaded the program and changed the USB driver. The program works perfectly. I like it much better than the rigol software (ultrascope).
still I can only export a single wave from the recoring each time, is it also posible to export the whole recording to a single file?

Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: littleboot on November 17, 2020, 01:47:00 pm
Change the entry in the combination list from 'Records' to 'Automatically'. One file is saved per record.

Peter

Thank you so much, I'm almost there, I just have to find a way to combine the files to a single one now.
(do you have a paypal account? I would like to buy you a coffee. I absolutely love the program you wrote)
Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: littleboot on November 17, 2020, 01:49:46 pm
And I wrote a little tool that imports the waveform to LTspice (and WFM viewer)
Haven't used it last couple years though.
The link is below in my signature.

Hi Warhawk,
Thanks for your reply. Not exactly what I'm looking for currently but I'm glad you mentioned it, this could be very usefull for other projects.
Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: littleboot on November 17, 2020, 02:29:13 pm
Haven't decided yet, I will try the following things.
using gnu octave to plot the whole signal (combined csv files).
Or maybe I will use the program in combination with Auto Hot Key to create a single image of the waveform and scroll trough it easilly.

Maybe gnu radio for automatic BPSK decoding (but I haven't used it before) and I'm not sure if the signal is properly modulated and can be decoded this way, I found some inconsistencies in the signal.
The decoder is working fine with the old hardware and won't be modified, so I have to recreate the signal to make it work.

The signal is captured from a legacy product, no documentation so reverse engineering the thing. I've created new hardware and firmware for this product, but the PSK signal I generate does not match with the legacy product and thus the receiver can't decode it. So I needed a way of comparing the waveforms easily. Now with the waveforms on my PC I can continue ;D



Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: Mechatrommer on November 17, 2020, 10:01:16 pm
http://www.soasystem.com/download/visadso/ (http://www.soasystem.com/download/visadso/)
you can tell me if its not working...
Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: littleboot on November 18, 2020, 11:09:35 am
http://www.soasystem.com/download/visadso/ (http://www.soasystem.com/download/visadso/)
you can tell me if its not working...

Hi Mechatrommer,
Thank you for your reply, I installed the program and tried it, could be very useful but sadly I'm unable to import the wfm from my scope and display it correctly.
I hope you could help me out with this.
(Maybe it has something to do with the wfm format, I read somewere it has been changed between different scope firmware revisions. or probably I'm doing something wrong)

I exported the wfm file from the scope to a USB (attached the filte to this post)
But when importing it into visaDSO I'm unable to show the waveform.


Update 1:
The visaDSO program is displaying the WFM file correctly. I used python "RigolWFM" to plat the wfm file. same result;
I also loaded the wfm on the scope itself. same result.

Does anybody know how to export the complete recording to a wfm file? or is it not possible?

On my DS1054Z scope I create a recording (61 of the 5000 slots filled with the data), next I go to the storage menu and store the wfm file to the USB.
but this wfm file does not contain the recorded data.
Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: Mechatrommer on November 18, 2020, 05:10:16 pm
Update 1:
The visaDSO program is displaying the WFM file correctly. I used python "RigolWFM" to plat the wfm file. same result;
I also loaded the wfm on the scope itself. same result.

Does anybody know how to export the complete recording to a wfm file? or is it not possible?
your wfm contains exactly what is shown in your screenshot and on my screen as well, only some noises but no sine signal (i also checked the file in hex editor) iirc we dont have problem saving wfm of all captured data. not sure why your DSO only saved partial data. maybe because its the "recording" function? (i never tried that feature) the black horizontal bar with green text just above the signal display. can you disable that and do normal triggering and save to wfm again?
Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: littleboot on November 19, 2020, 10:55:59 am
Can't you record with 2 s/DIV and 24 MB memory? That is 19 seconds with 1 MSa/s. The trigger can only be moved to the left up to 7 s. You can then zoom in and save all at once.

Peter

Yes, this works I figured it out before reading your post. Thanks anyway I appreciate the help. (I misinterpreted the recording mode functionality. I'm glad I did else I had never known about the Messinstrumente tool ;D)


Title: Re: Rigol DS1054Z Waveform record mode export PC
Post by: littleboot on November 19, 2020, 11:01:33 am
Update 1:
The visaDSO program is displaying the WFM file correctly. I used python "RigolWFM" to plat the wfm file. same result;
I also loaded the wfm on the scope itself. same result.

Does anybody know how to export the complete recording to a wfm file? or is it not possible?
your wfm contains exactly what is shown in your screenshot and on my screen as well, only some noises but no sine signal (i also checked the file in hex editor) iirc we dont have problem saving wfm of all captured data. not sure why your DSO only saved partial data. maybe because its the "recording" function? (i never tried that feature) the black horizontal bar with green text just above the signal display. can you disable that and do normal triggering and save to wfm again?

visaDSO works as expected. The recording mode was causing the issue, when using this mode and exporting the wfm file. The waveform frame on the screen is actually not saved to the file.