example code for reading from the openscope oscilloscope channel 1.
- requests
- re
- json
- numpy
- pprint
All the above, plus:
- dash
- dash_core_components
- dash_html_components
- plotly
- pandas
- open waveforms live and setup the AWG
- connect the AWG to the OSC CH1 (connect solid yellow to solid orange wires)
- set OSC trigger to Run
- Adjust the URL of the openscope to match your situation (local USB connection or wifi IP address)
- Tested in Python 3
- Run interactively in Spyder, Pycharm, etc
- do something with the data! Plot it, save it, etc
- run
python openscopedash.py
- open the appropriate page in the browsersuch as
http://localhost:8050/
- graph should refresh every 5 seconds