Image Aquisition -GevSCPSPacketsize in Matlab 2015 - 2019
5 次查看(过去 30 天)
显示 更早的评论
Sometimes it is necessary, to adjust the PacketSize of GigE cameras.
In the Camera XML File is the Minimum, Maximum and Increment defined.
After camera start and open, mostly the Minimum ist set automatically by Matlab.
When I will set a higher value, there are sometimes some errors.
Example: Minimum: 1444 Maximum: 8228 Increment 128
increment means, that the (value - minimum ) must be divisible by icrement -->Example (8228 - 1444 ) / 128 = 53
Test in Matlab:
>> g.GevSCPSPacketSize= 8228
GevSCPSPacketSize can only be changed in increments of 128.
Another Test with 8100
>> g.GevSCPSPacketSize= 8100
GevSCPSPacketSize can only be changed in increments of 128.
It seems, that malab divides the value by 128 and not the difference from value and minimum:
Example 8192 / 128 = 64
>> g.GevSCPSPacketSize= 8192
The GevSCPSPacketSize property could not be set. Check the current value before continuing your work.
This example do not meet the condition of the camera, but matlab allows it.
Is there a problem in the GigE implementation of the Image Acquisition Toolbox?
Thanks a lot
Richard
0 个评论
回答(5 个)
Shubh Sahu
2020-1-29
To trobleshoot that issue get the camera XML file, as cached on the local drive. The folder location for the camera GenICam XML file can be found in the output of IMAQSUPPORT command (GENICAM section -- GENICAM_CACHE_V2_3 path)
Here is an example of the GENICAM section in IMAQSUPPORT output -- the folder location for the camera XML file(s) in this example is "C:\Users\user\AppData\Roaming\MathWorks\MATLAB\R2014b\GenICamXMLCache":
Clear the cache and try again.
For more information refer to these links:
0 个评论
Ric Fut
2020-1-29
1 个评论
Shubh Sahu
2020-2-3
Could you please provide the following information
- Camera manufacturer and model
- The output of imaqsupport command
- Compare behavior when using videoinput with gige adaptor and setting the PacketSize
Shubh Sahu
2020-2-7
Thank you for your response. It appears that setting the PacketSize works with videoinput gige adaptor. Could you please use videoinput gige as a workaround (instead of gigecam).
0 个评论
另请参阅
类别
Test and Measurement
Image Acquisition Toolbox
Image Acquisition Toolbox Supported Hardware
GigE Vision Hardware
Image Processing and Computer Vision
Image Acquisition Toolbox
Image Acquisition Toolbox Supported Hardware
GigE Vision Hardware
Test and Measurement
Image Acquisition Toolbox
Image Acquisition Toolbox Supported Hardware
GenICam Interface
显示更多
在 Help Center 和 File Exchange 中查找有关 GigE Vision Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!