From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
在使用serpdrv的情況下,當LabVIEW想使用通訊埠時,並不是透過Windows通訊API直接下命令給COM埠,而是利用序列埠工具面板(NI Serial Palette)內的標準裝置讀入(read)及寫出(write)。接著serpdrv會將這些原生的LabVIEW指令轉換為標準的Windows API來與通訊埠溝通。
實際的驅動程式介面與硬體會因Windows、Macintosh或是Unix平台而有明顯的差異,因此LabVIEW內的serial VI之價值,在於讓硬體驅動程式對使用者而言完全相同,進而確保的跨平台的相容性。
注意:目前官方建議的序列通訊作法,是使用NI-Serial Driver (請參考文末連結)。該驅動程式相容於LabVIEW 8.2及更新的版本。
KnowledgeBase 0PFEJ3A1: Serial Port VIs Do Not Work Properly and Hang the System
Drivers and Updates: NI-VISA 4.6
|