测试设备连接 =================== 我们已经编译好了一个测试程序,您可以下载直接使用。 如果您的设备是POE版本的,可以通过此程序看到更多信息,有助于判断问题所在。 在Windows上运行 ################# .. raw:: html
点击此处下载程序
解压后双击运行bat文件即可 .. image:: /_static/images/tutorials/list_devices/windows.png 在Ubuntu上运行 ################# .. raw:: html
点击此处下载程序
解压后执行: .. code-block:: bash ./list_devices 手动编译 ################# .. raw:: html
点击此处下载源码包
编译 ******** 解压后进入文件夹 .. code-block:: bash cd XLink-4c149080d22c35a17ce285f5bca99f2b2fe05e46 mkdir build && cd build cmake -D XLINK_BUILD_EXAMPLES=ON .. make 可以在进入examples文件夹中找到编译好的list_devices程序,如下图所示: .. image:: /_static/images/tutorials/list_devices/make_list_devices.png 运行 ******** .. code-block:: bash cd examples ./list_devices .. image:: /_static/images/tutorials/list_devices/run.png 上图可以看到,如果找到了设备,会在最后一行将设备信息显示出来。 .. include:: /pages/includes/footer-short.rst