Vimba: VmbErrorInvalidAccess (-6)
VmbErrorInvalidAccess (-6) is caused by the heartbeat timeout of the GigE camera. The camera heartbeat times out (default=6000 ms) while waiting at a break point in debug mode.
As Vimba doesn't support increasing the heartbeat timeout yet, please use the GigE SampleViewer for debugging:
www.alliedvision.com/en/support/software-downloads.html
As long as the HeartbeatTimeout feature is not implemented, you can also implement the direct register access for the GigE Vision Heartbeat Timeout register 0x0938 [in ms].
std::vector<VmbUint64_t> address;
address.push_back((VmbUint64_t)lRegAddress);
std::vector<VmbUint64_t> data;
data.push_back((VmbUint64_t)lRegData);
VmbError_t errorType = m_pCam->WriteRegisters(address, data);
Back to list