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.



在 MAX 中利用 VISA 使用虚拟 Com 端口或者第三方 USB-串口适配器



硬件: Serial

问题: 我在 MAX 中使用我的虚拟的 com 口或者第三方 USB-串口适配器遇到问题,始终得到 VISA 错误。什么地方出错了?

解答: 大多数虚拟 com 口以及很多低成本的 USB-串口适配器没有完全遵循串口规范,因此不支持 VISA 使用的很多函数,比如异步 I/O 以及 flushing。如果您创建了自己的 VISA 调用(通过 MAX 中的 VISA 测试面板或者开发环境),并避免驱动不支持的任何调用,那么您的虚拟 com 口可以工作,但是由于每个虚拟 com 口实现不同的功能,MAX 或者 VISA 不支持它们。

相关链接:

附件:





报告日期: 07/27/2006
最近更新: 08/30/2006
文档编号: 3ZC9A3DW