Network Bandwidth Control (Stereo ace)#
Network Setup Detection and Configuration#
The pylon software is able to detect your network setup and automatically configure parameters such as packet size, transmission delay, and throughput limits to ensure reliable data streaming without exceeding network capacity.
There are two possible network setups:
Single Network Interface#
In this setup, both the left and the right camera are connected to the same network interface card (NIC) via a network switch, i.e., both cameras share the available bandwidth on the connection between switch and host. The system divides the available bandwidth equally between the two cameras and configures transmission delays to prevent packet collisions and bandwidth overload.
Depending on the uplink speed of the network switch port, the maximum bandwidth for each camera is limited. The pylon software automatically detects the uplink speed and configures the cameras accordingly.
- Uplink = 1.0 Gbps: Each camera can consume up to 62.5 MBit/s. The pylon software configures both cameras for a maximum network bandwidth of 62.5 MBit/s by default.
- Uplink >= 2.0 Gbps: Each camera can consume up to 125 MBit/s. The pylon software configures both cameras for a maximum network bandwidth of 125 MBit/s by default.
Dual Network Interfaces#
In this setup, the left and the right camera are connected to separate network interface cards (NICs) or separate ports of a multi-port NIC on the host. Each camera has its own dedicated bandwidth and doesn't need to share it with the other camera. The pylon software automatically configures each camera for a maximum network bandwidth of 125 MBit/s by default.
Checking the Network Packet Size#
As described above, the pylon software automatically adjusts parameters such as packet size, transmission delay, and throughput limits to ensure reliable data streaming without exceeding network capacity.
The packet size settings of the camera, the interface card, and the network switch (if used) affect pylon's ability to automatically determine the optimum network packet size. If any of the three components doesn't support packet sizes above 1500 bytes, performance may be compromised.
Therefore, Basler recommends checking the packet size using the GevSCPSPacketSize parameter in the Stereo Camera Viewer or via the pylon API. If the packet size is only 1500 bytes, this may indicate a problem as Basler Stereo Cameras all support larger packet sizes (jumbo frames). You should now check whether the network card is also configured to support jumbo frames. If it does, then the network switch may cause the problem. It may not allow jumbo frames or may not be configured correctly.
情報
For optimum performance, Basler recommends using a packet size of more than 1500 bytes. Larger packet sizes (jumbo frames) can significantly improve data throughput and transmission stability.
For more information about optimizing your network configuration, see the Network Configuration (Stereo ace) topic. It provides detailed recommendations and procedures for optimum bandwidth usage.
Key Parameters for Bandwidth Control#
| パラメーター名 | 表示名 | 説明 |
|---|---|---|
| DeviceLinkThroughputLimitMode | Device Link Throughput Limitモード | データ転送に使用できる最大帯域幅を制限できます。パラメーターをOnに設定して制限を有効にします。最大帯域幅は、DeviceLinkThroughputLimitパラメーター値に制限されます。 |
| DeviceLinkThroughputLimit | Device Link Throughput Limit | DeviceLinkThroughputLimit is the total value for the entire stereo camera system. Each camera receives half of the configured value and is allocated the corresponding bandwidth.Note: Values above 125000000 are only meaningful if the uplink speed is higher than 2.0 Gbps or each camera is connected to a separate network interface card. Both situations are detected automatically. |
| BslInterfaceLinkSpeed | Interface Link Speed | Speed of the interface the camera is connected to (in bits per second). |
| GevSCPD | Inter-Packet Delay | Delay between the transmission of each packet on the selected stream channel (measured in ticks). Use this to reduce the packet rate and control network load. |
| GevSCPSPacketSize | Packet Size | Maximum size of a data packet transmitted via Ethernet (in bytes). The maximum possible packet size is automatically detected when the camera is opened. |
| BslGevSCFTOptimization | Frame Transmission Optimization | Controls whether the frame transmission delay of the right camera is set automatically. If enabled, packets from the right camera are transmitted in the gaps between the left camera's packets to avoid overlap. |
| GevSCFTD | Frame Transmission Delay Left Camera | Introduces a delay before transmitting an acquired image from the left camera (in ticks). Useful in multi-camera setups to avoid simultaneous data streams and exceeding available bandwidth. |
| BslGevSCFTD2 | Frame Transmission Delay Right Camera | Delay before transmitting an acquired image from the right camera (in ticks). By default, this value is set automatically. You can adjust it manually if required. |
| BslGevSCPTT | Packet Transmission Time | Time required to transmit an image payload packet (in ticks). |
| GevTimestampTickFrequency | Timestampの目盛頻度 | Number of timestamp clock ticks per second. Used as a basis for timing calculations. |