Skip to content

Conversation

@dreisiebner
Copy link

I have created a driver for the R&S RTB2000 and RTB2 oscilloscope. Both analog and digital channels are supported. The external trigger and line trigger, as well as the function generator, can be used.
The trigger dialogs were created in separate files, as inserting them into the existing triggers would have made them confusing.

It was tested on a Raspberry Pi 500 with the latest Raspberry Pi OS (Debian 13, arm64) and an R&S RTB2004 with firmware v3.000.
Unfortunately, the measurement curves are displayed incorrectly; presumably, the GPU is not powerful enough.

I am not a C++ programmer and copied most of the code from other drivers and adapted or expanded it as best I could.

Modified files:
scopehal/CMakeLists.txt
scopehal/scopehal.cpp
scopehal/RSRTB2kOscilloscope.cpp
scopehal/RSRTB2kOscilloscope.h
scopehal/RSRTB2kEdgeTrigger.cpp
scopehal/RSRTB2kEdgeTrigger.h
scopehal/RSRTB2kLineTrigger.cpp
scopehal/RSRTB2kLineTrigger.h
scopehal/RSRTB2kRiseTimeTrigger.cpp
scopehal/RSRTB2kRiseTimeTrigger.h
scopehal/RSRTB2kRuntTrigger.cpp
scopehal/RSRTB2kRuntTrigger.h
scopehal/RSRTB2kTimeoutTrigger.cpp
scopehal/RSRTB2kTimeoutTrigger.h
scopehal/RSRTB2kVideoTrigger.cpp
scopehal/RSRTB2kVideoTrigger.h
scopehal/RSRTB2kWidthTrigger.cpp
scopehal/RSRTB2kWidthTrigger.h

Screenshot: https://www.dreisiebner.at/ngscopeclient-rtb2k-driver.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant