跳至內容
測試伺服器
開發伺服器

快速入門#

pylon Supplementary Package for blaze 是 pylon Software Suite 的附加元件。它提供對 Basler blaze 和 Smart blaze Time-of-Flight (ToF) 3D 相機的支援。

此補充套件包含以下內容:

  • 符合 GenICam GenTL 標準的 blaze 相機 GenTL Producer
  • 適用於 blaze 相機的 pylon C++ Instant Camera 類別
  • 適用於 blaze 相機的 pylon .NET 參數清單
  • blaze 專屬的 C++、C#、VB 和 Python 程式設計範例
  • MVTec HALCON 範例腳本
  • 僅限 Linux:用於 blaze 相機的機器人作業系統 (ROS 1) 驅動程式
    (您可以從 GitHub 下載 ROS 2 驅動程式。)

本指南提供專屬於 Basler blaze 和 Smart blaze 相機的資訊,因為這些相機未涵蓋在 pylon Software Suite 隨附的程式設計人員指南中。

資訊

本主題中的所有資訊均適用於所有 blaze 和 Smart blaze 相機型號。為求簡潔,文中以「blaze」統稱所有型號。

To get familiar with the pylon APIs, refer to the following documents included in the pylon Software Suite:

An offline version is available in the pylon installation folder: C:\Program Files\Basler\pylon\Documentation\Current. Click start.htm to open the documentation.

To get familiar with the pylon C++ API refer to the pylon C++ Programmer's Guide.

請參閱 Time-of-Flight Cameras 小節,以取得有關如何操作 Basler blaze 相機及其功能的更多資訊。

pylon 與 Basler blaze SDK

pylon Software Suite 與 pylon Supplementary Package for blaze 取代了 Basler blaze SDK。儘管 Basler blaze SDK 將繼續提供以支援使用者維護現有應用程式,但 Basler 強烈建議使用 pylon Supplementary Package for blaze 來開發新應用程式。

適用於 blaze 相機的工具#

pylon IP Configurator#

使用 pylon IP Configurator 來檢查和變更 blaze 相機的 IP 設定。

To start the pylon IP Configurator, press the Win key, go to the Basler folder, and select pylon IP Configurator.

Press the Win key, type pylon IP, and click the pylon IP Configurator icon in the search results.

Start the IP configuration tool by issuing the following command:

/opt/pylon/bin/ipconfigurator

或者,您可以在 blaze Viewer 中按一下 Tools > pylon IP Configurator 來啟動 pylon IP Configurator。

如需有關如何調整網路設定的更多詳細資訊,請參閱 Network Configuration 主題。

blaze#

blaze Viewer 提供圖形化使用者介面,用於檢視和設定相機功能以及視覺化可用的串流格式。它還允許您快速儲存影像。

To start the blaze Viewer, press the Win key, go to the Basler folder and select blaze Viewer.

If running the blaze Viewer fails due to problems with OpenGL, choose the blaze Viewer (no hardware acceleration) instead.

Press the Win key, type blaze, and click the blaze Viewer icon in the search results.

Start the blaze Viewer by issuing the following command:

/opt/pylon/bin/blazeViewer

如果 blaze Viewer 未找到您預期應找到的相機,請使用 pylon IP Configurator 來檢查並調整相機的 IP 位址設定。

診斷工具#

blaze Lister#

blaze Lister 是一個命令列工具,用於搜尋連接的 blaze 相機並列印所找到裝置的相關資訊,包括其韌體版本。

To start the blaze Lister, press the Win key, go to the Basler folder, and select blaze Lister.

Press the Win key, type blaze, and click the blaze Lister icon in the search results.

Start the blaze Lister by issuing the following command:

/opt/pylon/bin/blazeLister

按下 Enter 即可結束此工具。

如果 blaze Lister 未列出您預期應列出的相機,請使用 pylon IP Configurator 來檢查並調整相機的 IP 位址設定。

blaze Test#

blaze Test 應用程式是一個命令列工具,可持續擷取該工具找到的第一台 blaze 相機的資料。

該工具每 10 秒會列印一次擷取的影像數量和串流統計資料。

您可以使用此工具來檢查網路組態。如果您取得不完整的影格(由 error count、failed packet count 和 resend packet count 的增加值表示),請檢查您的網路組態。

To start the blaze Test application, press the Win key, go to the Basler folder, and select blaze Test.

Press the Win key, type blaze, and click the blaze Test icon in the search results.

Start the blaze Test application by issuing the following command:

/opt/pylon/bin/blazeTest

按下 Ctrl+C 即可結束該工具。

blaze Feature Dumper#

blaze Feature Dumper 是一個命令列工具,可連線至第一個可用的 blaze 相機並列印相機 Property 清單以及有關 Property 的詳細資訊。

To start the blaze Feature Dumper, press the Win key, go to the Basler folder, and select blaze Feature Dumper.

Press the Win key, type blaze and click the blaze Feature Dumper icon in the search results.

Start the blaze Feature Dumper by issuing the following command:

/opt/pylon/bin/blazeFeatureDumper

按下 Enter 即可結束此工具。