往LabVIEW的Listbox中写入字符串
主要软件:
主要软件版本: N/A
主要软件修正版本: N/A
次要软件:
问题: 请问我怎样往Listbox控件中写入字符串?
解答: 通过Listbox的property node可以向Listbox的每一行写入字符串。
- 在Front Panel中放置一个Listbox
- 切换到Block Diagram
- 右键单击Listbox图标选择Change to Indicator
- 再次右键单击Listbox图标,选择Create>>Property Node
- 右键单击Property Node,选择Properties>>Item Names
- 再次右键单击Property Node,选择Change All to Write
- 右键单击Item Names property input terminal,选择Create>>Control
- 回到Front Panel,在array控制件的标号为零的元素上输入字符串。(注意:编号对应于Listbox的行号)
listbox.gif">
相关链接:
附件:
- listbox.gif
- Listbox.vi
报告日期: 05/05/2003
最近更新: 07/24/2003
文档编号: 2X4E03MV
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.