From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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 Development Systems
主要軟體版本: 6.1
主要軟體修正版本: N/A
次要軟體:

問題: SERPDRV是什麼?

解答:
"Serpdrv"是LabVIEW 6.1及更早的版本用來作為與Windows序列驅動程式溝通的驅動引擎(如同gpibdrv與 daqdrv分別用來與GPIB軟體及DAQ軟體溝通一樣)。

在使用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



附加檔案:





報告日期: 07/18/1995
最後更新: 03/10/2013
文件偏號: 0BHAOL7G