Serial Settings:Wire Mode
- 更新时间2025-07-30
- 阅读时长2分钟
Specifies the current wire/transceiver mode. For RS485 hardware, this property is valid only with the RS485 serial driver developed by National Instruments. For RS232 hardware, the values RS232/DCE and RS232/Auto are valid only with RS232 serial drivers developed by National Instruments and documented to support this feature with the corresponding National Instruments hardware. When this feature is not supported, RS232/DTE is the only valid value.
注释
下表列出了该属性的特性。
| 短名称 | Wire Mode |
| 数据类型 | ![]() |
| 权限 | 读取/写入 |
| 可用于运行引擎 | 是 |
| 可用于实时操作系统 | 是 |
| Unknown | -1 | |
| RS485/Wire4 | 0 | |
| RS485/Wire2-EchoDTR | 1 | |
| RS485/Wire2-CtrlDTR | 2 | |
| RS485/Wire2-Auto | 3 | |
| RS232/DTE | 128 | |
| RS232/DCE | 129 | |
| RS232/Auto | 130 |
