Commit c7421a37 authored by bliss administrator's avatar bliss administrator

added getMaxFrames

parent f7472dab
......@@ -228,6 +228,7 @@ Camera(string hostname, int port, string configName);
void setNbScans(int nb_scans);
void getNbScans(int& nb_scans);
void getTotalFrames(int& nframes);
void getMaxFrames(string& nframes);
private:
......
......@@ -207,6 +207,7 @@ namespace Xh
void setNbScans(int nb_scans);
void getNbScans(int& nb_scans /Out/);
void getMaxFrames(string& nframes /Out/);
};
......
......@@ -1167,6 +1167,18 @@ void Camera::sendCommand(string cmd) {
m_xh->sendWait(cmd);
}
/**
* Get the maximum number of frames programable wih the current XH configuration.
*
* @param[out] nframes return the number of h/w configured time frames
*/
void Camera::getMaxFrames(string& nframes) {
DEB_MEMBER_FUNCT();
stringstream cmd;
cmd << "%xstrip_num_tf";
m_xh->sendWait(cmd.str(), nframes);
}
/**
* Get the number of h/w configured time frames.
*
......
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