Returns or sets the size of image data packets in bytes.
Syntax
[VB]
objActiveGige.PacketSize [= Value] [C/C++]
HRESULT get_PAcketSize( long *pValue );
HRESULT put_PacketSize( long Value );
Data Type [VB]
Long
Parameters [C/C++]
pValue [out,retval]
Pointer to the current packet size
Value [in]
The packet size to be set
Return Values
S_OK
Success
E_FAIL
Failure.
E_INVALIDARG
Invalid property value.
Example
This VB example sets the current packet size to 8000 bytes:
ActiveGige1.PacketSize = 8000
MsgBox ActiveGige1.PacketSize
Remarks
To lower the overhead of packet transmission, it is recommended to set this property to the maximum packet size allowed by your network card and network configuration (typically 1500 if Jumbo packets are disabled and 9014 if Jumbo packets are enabled). You can enable Jumbo packets in many network cards from the Device Manager by right-clicking the network card and selecting Properties. If your network card does not support Jumbo Frames, set this property to 1500.
For more information refer to "GigE Vision Video Streaming and Device Control Over Ethernet Standard" published by the Automated Imaging Association.