ICogAcqGigEVisionTransport PacketSize Property Cognex VisionPro
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.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

int PacketSize { get; set; }

Property Value

Type: Int32
Impacts the size of image packets transmitted by the camera.
Events

Event TypeReason
ICogChangedEvent ChangedFires when this property changes. The following state flag may be affected: SfPacketSize
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied value is less than 1 or greater than PacketSizeMax.
See Also