Auto232 模式不能够正确的选择RS-232收发模式
硬件: PXI/CompactPCI>>Controllers
问题: 我可以在Start » Settings » Control Panel » System » Hardware » Device Manager中为2端口和4端口USB232配置成Auto232模式。在"Ports"下,我选择了合适的端口并且打开了相应的属性对话框。在Port Settings » Advanced中,我选择了Auto232模式,但是Auto232 模式没有选择合适的RS-232收发器模式。
解答: Auto232 收发器模式可以连接RS-232 DTE 或者 DCE 器件,使用null-modem或者straight-through线。USB-232端口每250ms自动在DTE and DCE模式中切换,直到最后一个RS-232接收线(RX, CTS, DSR, RI, or DCD)得到一个有效值。
不是所有的器件都可以使用这个特性。一些设备在两种模式下都会在接收线上产生有效的电压,即使器件是仅使用DTE 或者DCE模式。这些器件在Auto232模式下就可能工作不正常。另外,有些应用在COM端打开后就立即开始了通信,这样就没有足够的时间允许合适的模式被选择。
在以上这些情况下,不要使用Auto232模式,手动为USB-232配置有效的连接模式(DTE或者DCE)。USB-232端口被默认配置为DTE模式。
相关链接: Product Manuals: Serial Hardware and Software for Windows User ManualKnowledgeBase 1TU953QR: What Do DTE and DCE Mean in Serial Communication?
附件:
报告日期: 07/09/2002
最近更新: 01/22/2009
文档编号: 2N8IEAYF
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.