一、串口VI介紹LabVIEW的串口通訊VI位于Instrument I/O Platte的Serial中,
包括: VISA Configure Serial Port 初始化VISA resource name指定的串口通訊參數(shù);VISA Write將輸出緩沖區(qū)中的數(shù)據(jù)發(fā)送到VISA resource name指定的串口
VISA Read將VISA resource name指定的串口接收緩沖區(qū)中的數(shù)據(jù)讀取指定字節(jié)數(shù)的數(shù)據(jù)到計算機(jī)內(nèi)存中;VISA Serial Break向VISA resource name指定的串口發(fā)送一個暫停信號;VISA Bytes at Serial Port查詢VISA resource name指定的串口接收緩沖區(qū)中的數(shù)據(jù)字節(jié)數(shù); VISA Close結(jié)束與VISA resource name指定的串口資源之間的會話;VISA Set I/O Buffer Size設(shè)置VISA resource name指定的串口的輸入輸出緩沖區(qū)大小; VISA Flush I/O Buffer清空VISA resource name指定的串口的輸入輸出緩沖區(qū)