Skip to content
Snippets Groups Projects
Commit bf167765 authored by Emily Anne Thompson's avatar Emily Anne Thompson
Browse files

Add NGP800

parent 36c420d6
No related branches found
No related tags found
3 merge requests!316Merge devel into main,!304Add RS_NGP804 power supply,!302Add developments for cold box
Pipeline #5947183 failed
......@@ -21,6 +21,7 @@ target_sources(PS
Keithley22XX.cpp
RS_HMP4040.cpp
RS_HMP2020.cpp
RS_NGP804.cpp
Tenma72133XX.cpp
Tenma722XXX.cpp
TTIPs.cpp
......
#include "RS_NGP804.h"
#include <algorithm>
#include <thread>
#include "Logger.h"
// Register power supply
#include "PowerSupplyRegistry.h"
REGISTER_POWERSUPPLY(RS_NGP804)
RS_NGP804::RS_NGP804(const std::string& name)
: SCPIPs(name, {"NGP804"}, 4) {}
#ifndef RS_NGP804_H
#define RS_NGP804_H
#include <chrono>
#include <memory>
#include <string>
#include "SCPIPs.h"
#include "SerialCom.h"
/** \brief ROHDE&SCHWARZ NGP804
* Implementation for the ROHDE&SCHWARZ NGP804 power supply.
*
* [Programming
* Manual](https://scdn.rohde-schwarz.com/ur/pws/dl_downloads/pdm/cl_manuals/user_manual/5601_5610_01/NGP800_User_Manual_en_11.pdf)
*
*/
class RS_NGP804 : public SCPIPs {
public:
RS_NGP804(const std::string& name);
~RS_NGP804() = default;
};
#endif
......@@ -16,6 +16,7 @@
#include "PowerSupplyRegistry.h"
#include "RS_HMP2020.h"
#include "RS_HMP4040.h"
#include "RS_NGP804.h"
#include "RigolDP832.h"
#include "SCPIPs.h"
#include "SorensenPs.h"
......@@ -305,6 +306,9 @@ void register_ps(py::module &m) {
py::class_<RS_HMP2020, SCPIPs, std::shared_ptr<RS_HMP2020>>(m, "RS_HMP2020")
.def(py::init<const std::string &>());
py::class_<RS_NGP804, SCPIPs, std::shared_ptr<RS_NGP804>>(m, "RS_NGP804")
.def(py::init<const std::string &>());
py::class_<RigolDP832, SCPIPs, std::shared_ptr<RigolDP832>>(m, "RigolDP832")
.def(py::init<const std::string &>());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment