Commit f4d3a9d1 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

- Pilatus3 6M take more than 3 seconds when changing exposure time and...

- Pilatus3 6M take more than 3 seconds when changing exposure time and period,so increased the timout to 10
- reset acquisition image number to 1 on re-connection
parent c39bca5d
......@@ -129,7 +129,7 @@ public:
int nbAcquiredImages() const;
void version(int& major,int& minor,int& patch) const;
private:
static const double TIME_OUT = 3.;
static const double TIME_OUT = 10.;
const std::string& errorMessage() const;
void softReset();
......
......@@ -280,6 +280,7 @@ void Camera::_resync()
send("setthreshold");
send("exptime");
send("expperiod");
send("nimages 1");
std::stringstream cmd;
cmd<<"imgpath "<<m_imgpath;
send(cmd.str());
......
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