跳转到内容
STAGING SERVER
DEVELOPMENT SERVER

使用入门#

pylon Supplementary Package for blaze 是 pylon Software Suite 的一个附加组件。它提供对 Basler blaze 和 Smart blaze Time-of-Flight (ToF) 3D 相机的支持。

该补充软件包包含以下内容:

  • 符合 GenICam GenTL 标准的 blaze 相机 GenTL Producer
  • pylon blaze 相机的 C++ 即时相机类
  • pylon blaze 相机的 .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.

有关如何操作 Basler blaze 相机及其功能的使用方法,请参阅 Time-of-Flight Cameras 章节。

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

或者,您可以通过点击 Tools > pylon IP Configurator 从 blaze Viewer 内部启动 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 相 Data。

该工具每 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 相机,并打印出相机参数列表以及有关这些参数的详细信息。

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 退出该工具。