Jump to content
  • 0

Really weird oscilloscope results when using Discovery Board with Python


johannsi99

Question

Hi,

I am using the Discovery Board 2 and am testing its capabilities using the SDK (Python). I am measuring different waveforms at different frequencies. W20k12M_extBNC_11c_time.thumb.png.2ea50a24abd342754fd4da40ca5c1811.pnghen measuring higher frequencies, I get really weird/wrong results. Starting at 10kHz but espescially in frequency ranges from 100kHz to 2MHz. Often there is no data recorded at all, sometimes the at the beginning or the end of the recording is zero with the rest being correct and sometimes the whole measurment is correct. On result is really puzzling as it shows a triangle, then a square wave and then nothing. During the whole recording, the input was a triang200k12M_ext_BNC_18c_D_tri2_time.thumb.png.0abc33cfec910fbb7b303f2d8dcbb9c1.pngle wave generated by an extern signalgenerator at 200kHz.  One measurment before, i was measuring a rectangular wave. 
How can such a result be explained? 
Is there a problem with my code? I am using the same code as the AnalogIn_Record.py from the examples with only very small modifications for labels, axes, ... .

I really don't know how to solve this. I think there must be some error in the memory or communication with the board.
Would be really nice if someone could explain this to me, otherwise the oscilloscope is not usable for reliable measurments higher than 10kHz (with Python).

Thanks in advance and best regards,

Johannes

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...