Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net 需要使用通信端口2从设备获取信息。但是NET不支持它_Vb.net_Serial Port - Fatal编程技术网

Vb.net 需要使用通信端口2从设备获取信息。但是NET不支持它

Vb.net 需要使用通信端口2从设备获取信息。但是NET不支持它,vb.net,serial-port,Vb.net,Serial Port,我正在编写一个VB.NET应用程序,其中有一个片段需要向COM端口2发送一个小命令并获得返回结果。问题是.NET似乎不支持串行通信。请帮忙 我只需要发送命令“headtype”并获得结果。查看。查看。当然可以,System.IO.Ports.SerialPort,自.NET 2.0起可用。当然可以,System.IO.Ports.SerialPort,自.NET 2.0起可用。您检查过System.IO.Ports命名空间了吗?是否检查了System.IO.Ports命名空间?在此之前,有一个免

我正在编写一个VB.NET应用程序,其中有一个片段需要向COM端口2发送一个小命令并获得返回结果。问题是.NET似乎不支持串行通信。请帮忙


我只需要发送命令“headtype”并获得结果。

查看。

查看。

当然可以,System.IO.Ports.SerialPort,自.NET 2.0起可用。

当然可以,System.IO.Ports.SerialPort,自.NET 2.0起可用。

您检查过System.IO.Ports命名空间了吗?是否检查了System.IO.Ports命名空间?在此之前,有一个免费的第三方工具。。。我现在已经在几个项目中使用了这两个工具,它对你和@Austin来说非常有效,可以得到很好的答案,也可以打败我。在此之前,有一个免费的第三方工具。。。我现在已经在几个项目中使用了这两种方法,它对你和@Austin来说非常有效,因为它们能给出好的答案,并且能击败我。