Electronics > Beginners
Beginner Oscilloscope that can be controlled via Python
mr_jj:
There are several brands of oscilloscope for around $1000 that are great for beginners. I'm looking for one that has an API that allows control via python. I'm looking to do things like getting the raw data, triggering, changing ranges/time scales and so on.
I've done this on a Lecroy in the past but for my current application, I just need a basic oscilloscope that is scriptable.
coromonadalix:
i would immediately go with Siglent models, because of their hack .. cough cough and mostly all their scpi commands are documented, we did some automation with a scope and generator, the IT guy was drooling, it was so easy
we do it by ethernet cable, each item has its own ip adress, the software check for their presence and start after a keyboard press
over 80 freqencies are "outputted" and checked and stored as csv files ... we check some specially crafted frequency filter pcb's....
no drivers are needed, you have python stuff here, lxi tools here just do some search, you can find many examples on the web
Aldo22:
--- Quote from: mr_jj on April 30, 2024, 09:47:14 am ---There are several brands of oscilloscope for around $1000 that are great for beginners. I'm looking for one that has an API that allows control via python. I'm looking to do things like getting the raw data, triggering, changing ranges/time scales and so on.
I've done this on a Lecroy in the past but for my current application, I just need a basic oscilloscope that is scriptable.
--- End quote ---
I think if the scope has SCPI, you can control it via pyvisa, for example.
Even my $130 Hantek can do that, although not very fast, but it was enough for a bode plot script.
tggzzz:
Have a look at the Digilent Analog Discovery. That has an API, so presumably it can be controlled by Python etc. I believe JavaScript is used internally, and is available for you to extend the basic functionality - e.g. spectrum analyser, etc etc
You also have an AWG and digital i/o, so you can synthesise your own test instrument.
Overall I like the underlying hardware, within its clearly stated limits.
You can download the GUI and play with it, to see what it can do.
BennoG:
you can also have a look at picoscope, they range from $100 to $16000 and can all be read out by python.
Only problem is you can not use the application and python at the same time.
With the SDK you can read the data faster out of the device than in the application.
I have done this in the SDK and let it stream continually at 5M Samples/sec for over a week. (I did only save the parts of interest, because the HD would be full in no time)
This was where a specific problem was only seen rarely and impossible to make a trigger for it, so the software I wrote tested realtime for the problem and saved the data from 5 seconds before it and 5 seconds afterwards (50M samples per channel)
Added Note: check specifications for SDK on the type of scope you want to use, there are a lot of differences between the $150 scopes and de $600 and up scopes.
Benno
Navigation
[0] Message Index
[#] Next page
Go to full version