使用无线 LAN 中的 Basler GigE 相机#
信息
Basler 建议在有线网络中使用 GigE 相机。
配置相机#
初始设置#
如果您想在 WLAN 中运行 Basler 相机,可能必须更改相机的网络相关参数。
这是因为 WLAN 的可用带宽可能会受到限制。默认的相机设置可能不足以建立稳定的网络连接。
将相机配置为在 WLAN 中运行:
- 安装 pylon Camera Software Suite(Windows 或 Linux)。
- 确保已按照“硬件安装(GigE 相机)”主题中所述安装和配置相机。
- 将计算机连接到 WLAN。
- 打开 pylon Viewer。
- Set the
GevSCPSPacketSize
parameter (i.e., the packet size) to 1500.
Tip: Use the search feature in the pylon Viewer to quickly find a parameter setting. - Set the
PixelFormat
parameter (i.e., the pixel format) to an 8-bit pixel format, e.g., Mono 8. - Set the
GevSCPD
parameter (i.e., the inter-packet delay) to a high value.
This decreases the current device throughput (GevSCDCT
parameter).
The minimum inter-packet delay and the maximum current device throughput depend on the quality of the WLAN connection. A higher connection quality will allow a lower inter-packet delay. - 开始连续图像采集。
- 如果最终的 WLAN 连接不稳定,请返回步骤 7 并进一步增加包间隔。
优化设置#
建立 WLAN 连接后,您可以优化参数设置,以最有效地利用可用带宽。
优化参数设置:
- 打开 pylon Viewer。
- 开始连续图像采集。
- Check the
Statistic-Failed-Buffer-Count
and theStatistic-Failed-Packet-Count
parameters.
Tip: Use the search feature in the pylon Viewer to quickly find a parameter setting.
The failed buffer count indicates the number of incompletely grabbed buffers. The failed packet count indicates the number of packets that have been reported as "failed" by the camera. - Decrease the
GevSCPD
parameter (i.e., the inter-packet delay) to a value just before the failed packet count or the failed buffer count start increasing. - Make a note of the current value of the
DeviceLinkCurrentThroughput
parameter.
This helps you to find the optimum inter-packet delay again when the payload size changes. See note below.