mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
3. Dev/voltage to power (#816)
* getVoltageList, getVoltage /set, getMeasuredVoltage, getVoltageNames /set, getVoltageIndex moved to 'Power' as its misleading * added cstdint and names slowadc, added division to mV * changed uV to mV in command line slow adc help. removed all python slowadcs (as it was already implemented as slowadc --------- Co-authored-by: Erik Frojdh <erik.frojdh@gmail.com>
This commit is contained in:
@ -26,7 +26,7 @@ TEST_CASE("Default construction") {
|
||||
REQUIRE(adcnames[1] == "ADC1");
|
||||
REQUIRE(adcnames[2] == "ADC2");
|
||||
REQUIRE(adcnames[3] == "ADC3");
|
||||
auto powernames = c.getVoltageNames();
|
||||
auto powernames = c.getPowerNames();
|
||||
REQUIRE(powernames.size() == 5);
|
||||
REQUIRE(powernames[0] == "VA");
|
||||
REQUIRE(powernames[1] == "VB");
|
||||
|
Reference in New Issue
Block a user