Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/16.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/5.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 usb上捕获刻度(mettler-toledo 8530)的数据?_Vb.net - Fatal编程技术网

如何在vb.net usb上捕获刻度(mettler-toledo 8530)的数据?

如何在vb.net usb上捕获刻度(mettler-toledo 8530)的数据?,vb.net,Vb.net,好的,电子秤是一个卡车电子秤,连接到一个终端cougar 8530,这个终端以前是通过Rs232连接的。现在电脑没有串行端口,所以有人在上面连接了usb适配器。问题是我无法从中捕获任何数据。我正在开发一个小程序,可以捕获卡车的重量,卡车与产品一起称重,然后重新称重,这样他们就可以找到产品或产品的重量,有什么想法吗?建议? 感谢您的任何意见 maxxxxUSB适配器只是一个COM端口吗?如果是,则应显示为新的COM端口,可能不是COM1或COM2,也可能是COM3或COM4,具体取决于计算机 请尝

好的,电子秤是一个卡车电子秤,连接到一个终端cougar 8530,这个终端以前是通过Rs232连接的。现在电脑没有串行端口,所以有人在上面连接了usb适配器。问题是我无法从中捕获任何数据。我正在开发一个小程序,可以捕获卡车的重量,卡车与产品一起称重,然后重新称重,这样他们就可以找到产品或产品的重量,有什么想法吗?建议? 感谢您的任何意见


maxxxx

USB适配器只是一个COM端口吗?如果是,则应显示为新的COM端口,可能不是COM1或COM2,也可能是COM3或COM4,具体取决于计算机

请尝试System.IO.Ports.SerialPort.GetPortNames函数以获取有效端口名的字符串数组,然后尝试每一个以查看scale连接到哪个端口