Commit b09dff07 authored by Module Testing's avatar Module Testing
Browse files

Reverted power supply from D19cFWInterface

parent 0bcf2cc8
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <time.h> #include <time.h>
#include <uhal/uhal.hpp> #include <uhal/uhal.hpp>
#pragma GCC diagnostic ignored "-Wpedantic" // #pragma GCC diagnostic ignored "-Wpedantic"
// #pragma GCC diagnostic pop // #pragma GCC diagnostic pop
using namespace Ph2_HwDescription; using namespace Ph2_HwDescription;
...@@ -429,13 +429,13 @@ bool D19cFWInterface::GBTLock(const BeBoard* pBoard) ...@@ -429,13 +429,13 @@ bool D19cFWInterface::GBTLock(const BeBoard* pBoard)
} }
// switch off SEH // switch off SEH
// LOG(INFO) << BOLDRED << "Please switch off the SEH... press any key to continue once you have done so..." << RESET; LOG(INFO) << BOLDRED << "Please switch off the SEH... press any key to continue once you have done so..." << RESET;
// do do
// { {
// std::this_thread::sleep_for(std::chrono::milliseconds(10)); std::this_thread::sleep_for(std::chrono::milliseconds(10));
// } while(std::cin.get() != '\n'); } while(std::cin.get() != '\n');
system("/home/modtest/Programming/power_supply/bin/TurnOff -c /home/modtest/Programming/power_supply/config/config.xml "); // system("/home/modtest/Programming/power_supply/bin/TurnOff -c /home/modtest/Programming/power_supply/config/config.xml ");
std::this_thread::sleep_for (std::chrono::milliseconds (1000) ); // std::this_thread::sleep_for (std::chrono::milliseconds (1000) );
// resync CDCE // resync CDCE
// this->syncCDCE(); // this->syncCDCE();
// reset GBT-FPGA // reset GBT-FPGA
...@@ -448,13 +448,13 @@ bool D19cFWInterface::GBTLock(const BeBoard* pBoard) ...@@ -448,13 +448,13 @@ bool D19cFWInterface::GBTLock(const BeBoard* pBoard)
// std::this_thread::sleep_for (std::chrono::milliseconds (500) ); // std::this_thread::sleep_for (std::chrono::milliseconds (500) );
bool cLinksLocked = true; bool cLinksLocked = true;
// tell user to switch on SEH // tell user to switch on SEH
// LOG(INFO) << BOLDRED << "Please switch on the SEH... press any key to continue once you have done so..." << RESET; LOG(INFO) << BOLDRED << "Please switch on the SEH... press any key to continue once you have done so..." << RESET;
// do do
// { {
// std::this_thread::sleep_for(std::chrono::milliseconds(10)); std::this_thread::sleep_for(std::chrono::milliseconds(10));
// } while(std::cin.get() != '\n'); } while(std::cin.get() != '\n');
system("/home/modtest/Programming/power_supply/bin/TurnOn -c /home/modtest/Programming/power_supply/config/config.xml "); // system("/home/modtest/Programming/power_supply/bin/TurnOn -c /home/modtest/Programming/power_supply/config/config.xml ");
std::this_thread::sleep_for (std::chrono::milliseconds (1000) ); // std::this_thread::sleep_for (std::chrono::milliseconds (1000) );
for(auto cLinkId: cLinkIds) for(auto cLinkId: cLinkIds)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment