I am having problems while trying to communicate with the serial port. I have read many tutorials online and found all of them either to be not useful or just too complicated for the task which I must achieve.
The task is simple.
I want to:
1) Open a port (example "COM1")
2) Read and Write data from/to this port
3) Close the port
Preferably the data should be read in and wrote out simultaneously, as it will be controlling an external device in real time.
Any help or links to tutorials would be much appreciated.
Have you checked into Winsock 2? Their is really no way to handle data through a port, other then creating, and setting up a socket.(as far as i am aware) Even if all you are trying to do is very simple like you have explained, it still takes some effort to set the port up and for it to handle sending, and receiving data.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...