Image Aquisition -GevSCPSPacketsize in Matlab 2015 - 2019
Mostra commenti meno recenti
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
Risposte (5)
Shubh Sahu
il 29 Gen 2020
0 voti
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:
Ric Fut
il 29 Gen 2020
0 voti
1 Commento
Shubh Sahu
il 3 Feb 2020
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
Ric Fut
il 3 Feb 2020
Shubh Sahu
il 7 Feb 2020
0 voti
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).
Ric Fut
il 7 Feb 2020
0 voti
Categorie
Mostra altro
Scopri di più su GigE Vision Hardware in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!