03-06-2008 06:09 AM
03-06-2008 06:14 AM
Hi Liz,
maybe there are sometimes no bytes on the serial port. I recommend to use a case struture and only run into the loop if you have received data. Instead of using a while loop to split the string you can use the "spreadsheet string to array" function.
Mike
03-06-2008 06:25 AM
Hi Mike,
I have run in debug and as I step through I can see that there are bytes at the port but it just seems to miss out the loop which is what makes me thing it is the condition I have set.
I will put a case structure around the loop as suggested for when there is no serial data.
Cheers, Liz
03-06-2008 06:26 AM - edited 03-06-2008 06:27 AM
03-06-2008 06:36 AM
03-06-2008 06:43 AM
Hi Liz,
this should make what you want.
Mike
03-06-2008 06:46 AM
03-07-2008 06:40 AM