Hi all,
I have made an embedded system to ring bells at predetermined time. It uses an application prepared in vb.net to transfer user settings to hardware. All are working fine. But when I am started to closing the project, I found a confusing problem relating to COM port.
The data transfer planned to run in the following manner.
When form load, application will detect available COM ports using GetPortNames method and adds to combo box. When user selects COM port and click on send button one byte will sent to the hardware. Hardware will receive and store it then return it back to the application. After getting returned byte application will proceed to send next byte.
The problem is_ the device manager in my PC lists only COM 1 and COM 2. But application lists COM 3 also. If I click send button without connecting hardware, the application should be in waiting for the data from outside. But if COM 3 is selected the application will pass all the routines. Please help
Shaji.
I have made an embedded system to ring bells at predetermined time. It uses an application prepared in vb.net to transfer user settings to hardware. All are working fine. But when I am started to closing the project, I found a confusing problem relating to COM port.
The data transfer planned to run in the following manner.
When form load, application will detect available COM ports using GetPortNames method and adds to combo box. When user selects COM port and click on send button one byte will sent to the hardware. Hardware will receive and store it then return it back to the application. After getting returned byte application will proceed to send next byte.
The problem is_ the device manager in my PC lists only COM 1 and COM 2. But application lists COM 3 also. If I click send button without connecting hardware, the application should be in waiting for the data from outside. But if COM 3 is selected the application will pass all the routines. Please help
Shaji.