Function FtBytetoRead(ByVal strbuff As String, ByVal RS232 As IO.Ports.SerialPort)
Dim i As Integer
'Dim strbyte() As Byte
Dim n As Integer
Dim bReadByte() As Byte '从串口读取的数据(字节)
Dim Hexbytetoread() As String '转换后的读取数据
Dim value As Boolean = False
Dim i As Integer
'Dim strbyte() As Byte
Dim n As Integer
Dim bReadByte() As Byte '从串口读取的数据(字节)
Dim Hexbytetoread() As String '转换后的读取数据
Dim value As Boolean = False
Control.CheckForIllegalCrossThreadCalls = value
'获取或设置一个值,该值指示是否捕获对错误线程的调用,这些调用访问控件的 System.Windows.Forms.Control.Handle 属性。 如果捕获了对错误线程的调用,则为 true;否则为 false。
strbuff = ""