Author Topic: Rigol DS1102E data transfer demo program  (Read 2919 times)

0 Members and 1 Guest are viewing this topic.

Offline poida_pieTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: au
Rigol DS1102E data transfer demo program
« on: October 12, 2012, 12:21:30 pm »
Hi all

I spent a happy day playing around with my Rigol DSO and PC.
I now have a demo program that gets 16K byte data from the Rigol and does a FFT then shows the results.
This was mainly to prove that data could be sent to a PC and also to have a think about uses
could be made of this.

So, see the below link for a download. The zip archive contains the demo program I made, plus VB6 source project files,
the NI VISA runtime driver and some excellent reading. Two pdfs are included, the programming guide from Rigol for DS1000 series beasties as well as the programming guide for NI VISA.

The demo proggie works fine with me. I tested it on an HP Core 2 Duo desktop running XP-Pro and a Vmware VM running XP-Pro, hosted on an iMac

It seems worth sharing and hopefully I can become more educated about signal processing. I know nothing as it stands but maybe this could show how you get data from the DSO.

I found that the dynamic range of the data is from 0x0f to 0xe0 inclusive. I expected 0 to 0xff but maybe some bits
of each byte are used internally by the scope....

The demo can process the 16K capture in about 0.1 second, but the slowness comes from transferring from scope to PC. I use blocking I/O and so I wonder if there is a better way that is possible.

Read the readme in the archive and have at it.

find it at http://www.bqdesign.com.au/rigolfftdemo.zip
I don't know if I can send 5 Mb attachments here, so I host it remotely.

check out a sceencap.

time for beer.
Peter



 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf