Author Topic: Planning to purchase a Rigol DS1052E, seeking guidance  (Read 12812 times)

0 Members and 1 Guest are viewing this topic.

alm

  • Guest
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #25 on: December 06, 2011, 11:58:50 pm »
Thanks for the link, that was some stuff to digest. Guess what ? I also  decided to buy a Hantek DDS3x25 after I read the thread  ;) You have written a code to get over 7.69~7.5MHz sync issue then this means I can port your code to work under Linux  :)
Did Hantek release the drivers and SDK for Linux?
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11713
  • Country: my
  • reassessing directives...
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #26 on: December 07, 2011, 02:25:38 am »
i've posted the teardown picture in the thread. if its missing, msg me i've forgotten which page is it. yes not sure if you can make it run under linux, unless you make your own driver. feel free to PM me for the goltek code if you want. cheers.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline y33tTopic starter

  • Contributor
  • Posts: 25
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #27 on: December 09, 2011, 05:02:21 am »
i've posted the teardown picture in the thread. if its missing, msg me i've forgotten which page is it. yes not sure if you can make it run under linux, unless you make your own driver. feel free to PM me for the goltek code if you want. cheers.

Got it, looks nice. I didn't get the device yet once I do, I'll be knocking your door  :)

On the other hand, DS1052E arrived, feels nice for now. Came with HW:58 2.05. Downgraded, upgraded, showed some love  and it got into 100mhz club. Run madmar's flickering test it updates data at 50ms polling speed flawlessly. Couldn't find your implementation (Toyscope) anywhere though ?

There is one issue, when probes are free I measure a peak of fluctuating 80mV with 10-20mV average. I thought this might be originating from EMI but it is the same when probes are not even connected to osc.  WTF ?  :D Also device is USB 1.1 meaning maximum of  12mbps is allowed. How many bits does it take to represent one sample with this device ? I know its 1gs per second thus for one channel 1024xbits. I am trying to make (almost) real time acquisition, only the voltage.

I am still looking into enhancement ideas,  there might rise a possibility to drive Hantek 3x25 over DS1052E for complete sync.

Sun is rising now, time to zzzz. cheers   ;)


edit; it's 8bit thus >> 1024x8 = 8kbit/s which is pretty low I think. There seems to be no hardware limitation to view data real time. I will look into the other stuff but this is my priority now (plot channel 1 vs time over VISA/USBTMC in Matlab).

:STOP   //stop acquisition
:WAV:POIN:MODE NOR //grab data frm channel 1
:WAV:DATA? CHAN1
:CHAN1:SCAL? //voltage scale
:CHAN1:OFFS? //voltage offset
:TIM:SCAL? // get time scale
:TIM:OFFS? // get time offset
:RUN // run acquisition
:KEY:FORC // put the scope back in local mode

Now, I had read that the scope crashes if one wants to read out of range. I want to hear more about this! You coded these stuff in VB, I assume you know the details.






« Last Edit: December 09, 2011, 10:38:53 am by y33t »
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11713
  • Country: my
  • reassessing directives...
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #28 on: December 09, 2011, 03:04:47 pm »
here's the toyscope and the class i made (not sure if its completed, updated or what) maybe it will be helpful for you.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline y33tTopic starter

  • Contributor
  • Posts: 25
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #29 on: December 09, 2011, 07:07:40 pm »
here's the toyscope and the class i made (not sure if its completed, updated or what) maybe it will be helpful for you.

Thanks for the link mate!

When I do ":WAVeform:DATA? CHAN1" I get the following output ;

23 38 30 30 30 30 30 36 30 30 CE 35 36 35 36 34
35 36 36 35 35 35 36 34 35 36 35 36 35 36 36 35
35 36 36 35 35 36 35 36 35 35 35 36 34 36 35 36
35 36 36 34 35 35 35 36 35 36 35 34 35 CE CD CE
CE CE CE CD CE CE CE CD CE CE CE CD CE CD CD CE
CE CE CE CE CE CE CE CE CE CE CE CE CD CE CE CD
CF CD CE CE CE CD CE CE CD CE CE CE CE CE CE 36
36 35 34 36 36 34 35 35 35 36 35 36 35 36 35 36
36 35 35 36 35 34 35 35 35 35 36 35 35 35 36 35
36 34 35 34 35 36 35 35 35 36 35 36 35 36 35 36
34 CD CE CE CE CD CE CE CD CF CE CD CE CD CD CE
CE CD CD CE CE CD CE CE CE CD CE CD CE CF CE CE
CE CD CE CD CD CF CE CE CE CE CE CE CE CF CE CD
CE CE CE 35 35 36 36 34 35 34 34 36 35 34 35 36
35 35 36 34 36 33 35 35 35 34 35 34 35 36 35 34
35 35 35 36 34 36 35 34 36 35 36 34 35 35 34 36
34 36 35 34 35 CD CE CD CD CE CE CD CE CE CD CE
CE CE CE CD CE CE CE CD CE CD CE CD CE CD CE CD
CE CD CE CD CE CD CE CE CE CD CE CD CD CE CE CD
CE CE CD CE CE CD CE 35 36 34 35 34 35 34 35 34
35 35 35 34 35 34 36 35 36 34 35 34 35 35 35 34
34 35 35 35 35 36 36 34 35 35 36 34 35 35 34 35
34 36 34 35 35 35 35 34 35 CD CD CF CE CD CE CC
CE CD CE CD CE CD CE CD CE CD CE CD CE CD CE CD
CE CD CE CD CD CF CE CE CE CD CE CD CE CD CE CD
CE CD CE CE CE CD CE CD CE CD CE 36 35 35 34 35
35 36 35 35 35 36 35 34 35 34 35 34 35 34 35 33
36 34 36 34 34 35 35 34 35 34 36 34 35 35 35 36
35 34 35 34 35 36 34 36 35 34 36 35 34 CD CD CE
CE CE CE CD CE CD CE CE CE CD CE CD CE CC CE CD
CE CD CE CC CE CD CE CD CD CE CE CD CE CE CE CE
CE CE CE CC CE CE CE CD CE CD CE CD CE CD CE 35
35 34 35 34 36 34 33 36 35 35 35 35 34 36 35 35
34 36 35 34 35 34 35 35 35 36 35 36 34 35 35 36
34 35 35 34 35 34 35 34 34 36 35 34 36 34 35 36
34 CD CE CD CE CE CD CE CD CE CE CE CE CD CE CD
CE CD CE CD CE CE CE CD CE CD CD CE CE CD CE CD
CE CE CE CD CE CE CE CD CE CD CE CD CE CD CD CE
CE CD

Which part of this data is the "actual data" ?  To put it another words,  which portion of this data is plotable ?

Couldn't get VISA runtime to work under Slackware64 13.37, I plan to continuously run :WAVeform:DATA? CHAN1 for DAQ as real-time as possible. Also I had read that reading the long memory might be very close to real time acquisition. I checked your code and it looks fine, but VB and C are as different as they get.  I am using rigolterm.c as skeleton (data provided above is output of a mod of rigolterm).

Is there a better way from continiuosly sending :WAVeform:DATA? CHAN1 ?

 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11713
  • Country: my
  • reassessing directives...
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #30 on: December 09, 2011, 09:42:35 pm »
Quote
Which part of this data is the "actual data" ?
sending ":WAVeform:DATA? CHAN1" will return 600 points from screen (not 1024), there's another version that it will return 10 bytes string (header) to show how many data in following sequence. you also can check here... https://www.eevblog.com/forum/index.php?topic=4473
i dont know any other method other than provided api (visa32.dll)
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Lawsen

  • Frequent Contributor
  • **
  • Posts: 253
  • Country: us
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #31 on: December 10, 2011, 12:34:01 am »
I love my Rigol 1052E for $355.00 from a store in Hong Kong.  I use that oscilloscope to view square waves from a HP giant plotter circuit board and even experiment with the 555 oscillator.  The color display is nice enough for me.  I cannot asked for more in my service applications.  You can always save up or work for name brands like Agilent DSOX.  I would like to try the Clever Scope, an USB via computer oscilloscope.  Rigol 1052E does not has a full function signal generator.  It is just a square wave.  You might try different brands of probes like those by Agilent.  The screen on the Rigol is better than the monochrome screen on low end Tektronix digital oscilloscopes.  I have not used the FFT to give you an opinion.  For everyday electronics work, the Rigol is one of my favorite.  It does not weighs much to be carried on the train to commute to part time work, too.  There are small pocket signal generators for $60.00.  I like to experiment with these. 
 

Offline y33tTopic starter

  • Contributor
  • Posts: 25
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #32 on: December 10, 2011, 09:42:57 am »
Quote
Which part of this data is the "actual data" ?
sending ":WAVeform:DATA? CHAN1" will return 600 points from screen (not 1024), there's another version that it will return 10 bytes string (header) to show how many data in following sequence. you also can check here... https://www.eevblog.com/forum/index.php?topic=4473
i dont know any other method other than provided api (visa32.dll)

Ok then, 600 points and each point is represented by a 8-bit decimal ? What is the time reference for these points, is it 600 points per second ?

Btw, how much lag is introduced in your ToyScope ? I mean how realtime is it?
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11713
  • Country: my
  • reassessing directives...
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #33 on: December 10, 2011, 01:15:57 pm »
Ok then, 600 points and each point is represented by a 8-bit decimal ? What is the time reference for these points, is it 600 points per second ?
yes 8bit. try to plot it as is, then you'll figure out what. its inverted on screen. try to play with vertical offset as well etc etc.
lawsen: its usefull for seismic and geophysics analysis as well, right? ;)
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline y33tTopic starter

  • Contributor
  • Posts: 25
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #34 on: December 10, 2011, 09:21:05 pm »
Ok then, 600 points and each point is represented by a 8-bit decimal ? What is the time reference for these points, is it 600 points per second ?
yes 8bit. try to plot it as is, then you'll figure out what. its inverted on screen. try to play with vertical offset as well etc etc.
lawsen: its usefull for seismic and geophysics analysis as well, right? ;)

Also it might be involved in quantum entanglement phenomena as well  ;)

This 600 points, does it correspond to 1 second ? I understand that because we are reading from the internal flash memory, we are reading LIFO thus real time is impossible. Is it possible to read a specific amount of points or do we have to get it in bulks of 600 ?
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11713
  • Country: my
  • reassessing directives...
Re: Planning to purchase a Rigol DS1052E, seeking guidance
« Reply #35 on: December 10, 2011, 11:20:56 pm »
answered...
1) try to plot it as is, then you'll figure out what. its inverted on screen.
2) Other Than FFT Feature Useful for an Oscilloscope
3) I Need Help to get Rigol DSO Command Respond from PC
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf