Private Sub SerialPort1_DataReceived(ByVal sender As System.Object,
ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) _
Handles SerialPort1.DataReceived
Private Sub SerialPort1_DataReceived(ByVal sender As System.Object, _
ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) _
Handles SerialPort1.DataReceived
Static flg As Boolean
If flg = True Then
Exit Sub
End If
flg = True
'処理
flg = False
End Sub
Private Sub SerialPort2_DataReceived(ByVal sender As Object, _
ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) _
Handles SerialPort2.DataReceived
If flg = True Then
Exit Sub
End If
flg = True
'データ受信用のバイト配列
Dim inByte2(SerialPort2.BytesToRead - 1) As Byte
②4 名前:igoten 投稿日: 2010/02/16(火) 15:09:32
Dim LenBytesToRead As Integer = SerialPort1.BytesToRead - 1
Dim ReadBuff(LenBytesToRead) As Byte
SerialPort1.Read(ReadBuff, 0, LenBytesToRead)
continuously i used to read smaller articles or reviews that as well clear their motive, and that is also happening with this post which I am reading at this time.
コーチ 財布 http://www.sedeinc.com/