hi,
I am reading serial port values in VB.net , after reading i'm comparing the received values in case statement.
based on the received value i want start different process simultaneously. i know it could be possible with handling threads.
but i dont know how to create. this i given my normal code by calling process. Can anyone give the solution to convert into multiple threads?
Try
Select Case SerialPort1.ReadExisting()
Case "00"
start_process1()
Case "01"
start_process2()
Case "02"
start_process3()
Case "03"
start_process4()
End Select
thanks,
ashok r
I am reading serial port values in VB.net , after reading i'm comparing the received values in case statement.
based on the received value i want start different process simultaneously. i know it could be possible with handling threads.
but i dont know how to create. this i given my normal code by calling process. Can anyone give the solution to convert into multiple threads?
Try
Select Case SerialPort1.ReadExisting()
Case "00"
start_process1()
Case "01"
start_process2()
Case "02"
start_process3()
Case "03"
start_process4()
End Select
thanks,
ashok r