在TestStand中使用Python步骤的范例

更新 Jul 31, 2023

适用于

软件

  • TestStand 2014
  • TestStand

问题详述

我在 TestStand 2014 中安装了 Python步骤类型。我在哪里可以找到有关如何使用它们的范例或帮助文档?

解决方案

TestStand中使用 Python步骤类型的范例安装在<TestStand Public>\Examples\Custom Step Types\Python Step Types中。

有关示例文档,请参阅“关于此示例”部分及其注释。有关帮助文档,请至 Python 步骤的配置面板访问 TestStand Python Step Types Help。
 

相关信息

注意: TestStand 的 Python 步骤类型应该用于 TestStand 2014-2017。对于 TestStand 2019 或更高版本,NI 提供 Python Adapter。

有关 Python Adapter的更多信息,请参阅Calling Scripting Languages from NI TestStand 。有关如何配置 Python Adapter的示例,请参阅在 TestStand 2019 中配置 Python 模块步骤