labview 往listbox中寫入字符串
- 在Front Panel中放置一個Listbox
- 切換到Block Diagram
- 右鍵單擊Listbox圖標(biāo)選擇Change to Indicator
- 再次右鍵單擊Listbox圖標(biāo),選擇Create>>Property Node
- 右鍵單擊Property Node,選擇Properties>>Item Names
- 再次右鍵單擊Property Node,選擇Change All to Write
- 右鍵單擊Item Names property input terminal,選擇Create>>Control
- 回到Front Panel,在array控制件的標(biāo)號為零的元素上輸入字符串。(注意:編號對應(yīng)于Listbox的行號)
在和串口通信時,如果出現(xiàn)數(shù)據(jù)時而正確時而錯誤,說明是波特率設(shè)置錯了。
評論