Commit 52cac647 authored by bliss administrator's avatar bliss administrator

Fixed missing start of acquisition when camera is video and trigger mode is internal_trigger_multi

parent c8bda22e
......@@ -333,11 +333,9 @@ void Camera::prepareAcq()
DEB_MEMBER_FUNCT();
m_image_number=0;
if(m_video_flag_mode)
return; // Nothing to do if color camera
try
{
if(!m_video_flag_mode) {
_freeStreamGrabber();
// Get the first stream grabber object of the selected camera
DEB_TRACE() << "Get the first stream grabber object of the selected camera";
......@@ -388,8 +386,10 @@ void Camera::prepareAcq()
StreamBufferHandle bufferId = StreamGrabber_->RegisterBuffer(ptr,(const size_t)ImageSize_);
StreamGrabber_->QueueBuffer(bufferId, NULL);
}
if(m_trigger_mode == IntTrigMult)
_startAcq();
}
if(m_trigger_mode == IntTrigMult)
_startAcq();
}
catch (GenICam::GenericException &e)
{
......
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