Commit d1f2f582 authored by Jacob Lamblin's avatar Jacob Lamblin
Browse files

Add logstring property

parent b680c308
......@@ -110,10 +110,11 @@ void RealStereoElecDriver::qtLoop() {
} else if (*command == START_COMMAND) {
if(!owner()->started){
cout << "Before start " << owner()->DAQParams.FEParams_v.at(0).threshold_v[0] << endl;
//owner()->DAQParams.subtitle=owner()->counts.subtitle();
daq->DoStart(owner()->DAQParams);
cout << "DoStart ok" << endl;
cout << daq->GetFileName() << endl ;
owner()->logstring = daq->GetFileName() + " started" ;
daq->preQtAcqLoop();
m_TimeCounter.clear();
owner()->nbevent=0;
......
......@@ -77,6 +77,8 @@ StereoElecDriver::StereoElecDriver(const string& name) :
rate6.init(this, NOSAVE, "rate6");
rate7.init(this, NOSAVE, "rate7");
logstring.init(this, NOSAVE, "logstring");
/*
* Init the device command list
*/
......
......@@ -114,6 +114,8 @@ public:
DynamicProperty<float64> rate7;
Property<std::string> logstring;
STDAQParams DAQParams;
vector<int32> feslots; // size nfeboard
vector<int32> ledslots; // size nledboard
......@@ -129,6 +131,7 @@ public:
bool started;
private:
static const std::string READ_CONFIG_COMMAND;
......
Markdown is supported
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