Hello everyone.
Currently, I am encountering an issue where I am unable to retrieve data while using Aravis. I am programming with VS2019 on a Windows 10 system. After enabling arv-debug=all
, the following error message appears. Can anyone help me figure out why this is happening?
The error highlighted in red is:
[GvDevice::auto_packet_size] Invalid ArvGevSCPSPacketSize properties
[GvStream::loop] receive_messages failed: Error receiving message: 一个在数据报套接字上发送的消息大于内部消息缓冲区或其他一些网络限制,或该用户用于接收数据报的缓冲区比数据报小。
In addition, there are a few things I don’t understand. The debug log indicates that the Number of Stream Channel = 16777216, but the GevStreamChannelCount I read from the register is 1. Also, I set the packet size to 1500, but in create_stream
, it shows that it was ultimately set to 1372. Why is this happening?
[GvStream::stream_new] Packet size set to default value (1500)
[GvStream::stream_new] Packet size = 1372 byte(s)
Below is the debug log.
aravis_debug.txt (866.9 KB)
I hope everyone can help me investigate the cause of this issue and provide some suggestions for a solution. I sincerely appreciate your help.