Click here to Skip to main content
15,911,646 members

Comments by wallyg34 (Top 2 by date)

wallyg34 24-May-11 4:32am View    
I have left it running all day and found it works fine now.

Thanks very much for your simple but obviously overlooked suggestion!

I was jumping off too early thinking it was thread related.
In creating the second com port routine, I had basically copied it.
Problem was, I was using the same variable to build the input data from the com ports for both ports.

I am surprised that it has not been an issue up to now, It has been working fine for about 6 months. I guess due to timing with the other routines in my code, since I have changed a lot of the other processes, maybe it's just highlighted this problem now.

Anyway, thank you again.

Rob Gater.
wallyg34 23-May-11 17:35pm View    
Hi, I think you might just have it. The inputdata variable is a public shared variable, but for this site I have cut the full name of the variable out. However, stupidly, I used the same variable on both coms ports. So, you might just be right!!!

I will try changing this to another name and let you know.


Thank you for your response, it is greatly appreciated.
Rob.