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

Reverted power supply from D19cFWInterface

parent 0bcf2cc8
......@@ -20,7 +20,7 @@
#include <time.h>
#include <uhal/uhal.hpp>
#pragma GCC diagnostic ignored "-Wpedantic"
// #pragma GCC diagnostic ignored "-Wpedantic"
// #pragma GCC diagnostic pop
using namespace Ph2_HwDescription;
......@@ -429,13 +429,13 @@ bool D19cFWInterface::GBTLock(const BeBoard* pBoard)
}
// switch off SEH
// LOG(INFO) << BOLDRED << "Please switch off the SEH... press any key to continue once you have done so..." << RESET;
// do
// {
// std::this_thread::sleep_for(std::chrono::milliseconds(10));
// } while(std::cin.get() != '\n');
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) );
LOG(INFO) << BOLDRED << "Please switch off the SEH... press any key to continue once you have done so..." << RESET;
do
{
std::this_thread::sleep_for(std::chrono::milliseconds(10));
} while(std::cin.get() != '\n');
// 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) );
// resync CDCE
// this->syncCDCE();
// reset GBT-FPGA
......@@ -448,13 +448,13 @@ bool D19cFWInterface::GBTLock(const BeBoard* pBoard)
// std::this_thread::sleep_for (std::chrono::milliseconds (500) );
bool cLinksLocked = true;
// 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;
// do
// {
// std::this_thread::sleep_for(std::chrono::milliseconds(10));
// } while(std::cin.get() != '\n');
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) );
LOG(INFO) << BOLDRED << "Please switch on the SEH... press any key to continue once you have done so..." << RESET;
do
{
std::this_thread::sleep_for(std::chrono::milliseconds(10));
} while(std::cin.get() != '\n');
// 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) );
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