我應該如何在LabVIEW下改變串列阜的暫存區大小?
主要軟體: LabVIEW Development Systems
主要軟體版本: N/A
主要軟體修正版本: N/A
次要軟體: N/A
問題: 希望在LabVIEW下設定串列阜的暫存區大小.我應該使用什麼VI或是在哪裡設定呢?
解答: 您有兩種選擇可以改變串列阜的暫存區大小,假如您使用早期的串列阜函式,您可以使用下面的VI:
- LabVIEW 5.x: Functions » Instrument I/O » Serial » Serial Port Init.vi
- LabVIEW 6.x: Functions » Instrument I/O » I/O Compatibility » Serial Compatibility » Serial Port Init.vi
- LabVIEW 7.x: Functions » All Functions » NI Measurements » Fieldpoint » Fieldpoint RT » Serial » Serial Port Init.vi
如果您使用VISA的函式的話,您可以使用以下的函數:
- LabVIEW 5.x: Functions » Instrument I/O » VISA » Interface Specific » VISA Set Serial Buffer Size.vi
- LabVIEW 6.x: Functions » Instrument I/O » VISA » VISA Advanced » Interface Specific » VISA Set I/O Buffer Size.vi
- LabVIEW 7.x: Functions » All Functions » Instrument I/O » VISA » VISA Advanced » Interface Specific » VISA Set I/O Buffer Size.vi
相關連結: Developer Zone Tutorial: Serial Communication Starting PointDeveloper Zone Tutorial: Serial Communication Overview
附加檔案:
報告日期: 11/22/1996
最後更新: 12/12/2007
文件偏號: 0RLDPAPB
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.