用 LabVIEW 实现我喜欢读书1314的字符串长度请用中文写出步骤
- 打开 LabVIEW 软件
- 创建一个新的 VI
- 在 Block Diagram 中,拖动一个 String Control 到 Front Panel 中
- 在 String Control 中输入“我喜欢读书1314”
- 在 Block Diagram 中,拖动一个 String Length 函数到 Block Diagram 中
- 将 String Control 的输出线连接到 String Length 函数的输入端口
- 在 Front Panel 中,添加一个 Numeric Indicator
- 将 String Length 函数的输出线连接到 Numeric Indicator 的输入端口
- 运行 VI,即可在 Numeric Indicator 中看到字符串“我喜欢读书1314”的长度为 10。
原文地址: https://www.cveoy.top/t/topic/bDnf 著作权归作者所有。请勿转载和采集!