Details
Issue:
When using the WebAPI with a large job, the CvsInsight.Results object becomes larger and this has a strong impact on the time it takes before the ResultsChanged event comes up, to the point where it becomes unusable.
Cause:
Exact cause is unknown. “Classic” In-Sight SDK in comparison did not show this behavior.
Resolution:
As a workaround, it is possible to edit the HmiSessionInfo that is sent to the camera when an HMI session is created. That class contains a string array called CellNames where you can specify the cell range that should be included in the HmiSession results. By setting that array null, or limiting the cell range the performance can be improved.
See Also:
Download for In-Sight WebSDK 23.2.0
https://support.cognex.com/en/downloads/detail/in-sight/4710/1033