Click here to Skip to main content
15,918,742 members

Comments by fahfahfah (Top 10 by date)

fahfahfah 31-Jan-12 20:34pm View    
Hi Addy, Thanks for your reply.

Yes I've made two duplicated codes for Timerelapsed and process buffer as the timer will be triggered and display the data on the listbox. The ProcessBuffer will displyed data on the console output. This is to make sure that I received the data continously. The purpose of the timer is to display the data from the buffer every 5 seconds. My disconnect button code is as above. My connect button will be enabled after disconnect button is click. Sorry for not posting that.

I would like my data to be displayed on the listbox after disconnecting and connecting it back again. But it seems like the data will be displayed on the output and not the listbox. im not sure why, is there any steps for me to follow?
fahfahfah 31-Jan-12 4:34am View    
Hi digi, I've already edited my codes as your suggestion, but the problem still persists... hm..
fahfahfah 31-Jan-12 3:24am View    
43 and 103 is the data from the com port.
fahfahfah 31-Jan-12 3:23am View    
Hi Addy, I've already update my codes, with the disconnect button in it.. Thanks
fahfahfah 30-Jan-12 0:12am View    
List<byte> buffer = new List<byte>(125);
buffer is declared on top.