コンテンツにスキップ

無線LANでBasler GigEカメラを使用する#

このトピックでは、ワイヤレスローカルエリアネットワーク(WLAN)でBasler GigEカメラを操作する方法について説明します。

情報

Baslerでは、有線ネットワークでGigEカメラを使用することをおすすめしています。

カメラの設定#

初期設定#

WLANでBaslerカメラを操作する場合は、カメラのネットワーク関連パラメーターを変更する必要がある可能性があります。

これは、WLANで使用できる帯域幅が制限されている可能性があるためです。デフォルトのカメラ設定では、安定したネットワーク接続を確立するのに不十分である場合があります。

WLANで動作するようにカメラを設定するには:

  1. pylon Camera Software Suite(WindowsまたはLinux)をインストールします。
  2. 「ハードウェアの取り付け(GigEカメラ)」トピックの説明に従って、カメラが取り付けられ、設定されていることを確認します。
  3. コンピューターをWLANに接続します。
  4. pylon Viewerを開きます。
  5. 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.
  6. Set the PixelFormat parameter (i.e., the pixel format) to an 8-bit pixel format, e.g., Mono 8.
  7. 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.
  8. 連続画像取得を開始します。
  9. その結果得られたWLAN接続が不安定な場合は、手順7に戻り、パケット間遅延をさらに大きくします。

設定の最適化#

WLAN接続が確立されたら、使用可能な帯域幅を最も効率的に使用できるようにパラメーター設定を最適化できます。

パラメーター設定を最適化するには:

  1. pylon Viewerを開きます。
  2. 連続画像取得を開始します。
  3. Check the Statistic-Failed-Buffer-Count and the Statistic-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.
  4. 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.
  5. 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.

情報

パラメーター設定を行うと、現在のペイロードサイズ(つまり、画像あたりの現在のデータ量および現在のフレームレート)に対してのみ良好な結果が得られます。

ペイロードサイズは、画像ROIのサイズやピクセルフォーマットなど、さまざまな要因に依存します。

If the payload size changes, you must readjust the inter-packet delay until the DeviceLinkCurrentThroughput parameter value is the same as the one noted in step 5.