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.



如何避免LabVIEW Error 37



主要軟體: Driver Software>>NI-Serial
主要軟體版本: 1.7
主要軟體修正版本:
次要軟體: LabVIEW Development Systems

問題: 我試著要在LabVIEW中與序列埠溝通。使用Hyperterminal時,通訊過程都正常。然而,LabVIEW 卻給我Error 37。什麼原因引起這個錯誤呢?

解答: Error 37有很多可能發生的原因。一個可能的固定原因如下:
修正WIN.INI 檔案(例如在C:\Windows\win.ini):
[Ports]
LPT1:=
LPT2:=
LPT3:=
COM3:=9600,n,8,1,x
COM4:=9600,n,8,1,x
FILE:=
FAX:=
PUB:=
\\Ntrepid\aelj4mp=
COM2:=9600,n,8,1,x
COM1:=9600,n,8,1,x
注意:確認你在COM命令列後面增加,x (逗點 x)

相關連結: KnowledgeBase 0EHKBM8Z: LabVIEW for Sun: Serial I/O Causes Error -37
KnowledgeBase 0ISAJ838: I Receive Error -37 When Writing to the Parallel Port (LPT1) in LabVIEW
KnowledgeBase 1M9D8H6Q: Serial Communication Starting Point


附加檔案:





報告日期: 10/07/1997
最後更新: 01/02/2005
文件偏號: 1269S1IT