在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控制件的標號為零的元素上輸入字符串。(注意:編號對應(yīng)于Listbox的行號)
在和串口通信時,如果出現(xiàn)數(shù)據(jù)時而正確時而錯誤,說明是波特率設(shè)置錯了。