Labview新啟程——簡(jiǎn)單串口程序
3. 控件布局 在完成前兩步之后,相應(yīng)的控件已經(jīng)出現(xiàn)在前面板中, 我們需要做的就是整理一下他的布局。整個(gè)程序的界面布置如下:
圖5 前面板控件布局

4. 實(shí)驗(yàn)效果 通過上述步驟,串口程序基本就完成了,當(dāng)然了,這個(gè)是簡(jiǎn)單的串口程序,步驟還是很簡(jiǎn)單的。下面我們看一下效果:
圖6 讀取開關(guān)關(guān)閉時(shí)程序運(yùn)行情況


圖7 讀取開關(guān)打開時(shí)程序運(yùn)行情況 基本的程序就是這些了,希望能夠幫助到同學(xué)們!
評(píng)論