Reads or sets the size of image packets transmitted by the camera. The default is the value that was automatically determined, and will vary based on the camera used and network configuration. In most cases, the packetSize value should not be changed from the default. Ideally, the automatically determined value will be 8000 or larger. A smaller value may indicate that jumbo frames are disabled on the network adapter, or that a switch in the network does not support jumbo frames. The packetSize function controls the GevSCPSPacketSize feature of the camera.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Property Value
Type: Int32Impacts the size of image packets transmitted by the camera.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: SfPacketSize |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the supplied value is less than 1 or greater than PacketSizeMax. |
See Also