Arduino working slow

Hi All,

I am working with arduino mega 2560 and reading tempreature from thermocouple and displaying it on labview.but the problem is arduino is sending a singke value of tempreature in 40ms. That is slow for me.
Can anyone help me about this how can i speed up the processing of arduino.
I need atleast a single data from arduino in 20 ms.

Thanks
Siddharth

Change "delay (40)" to "delay(20)".

There is a problem with your code; had you posted it, we might be able to advise you on what it is. AWOL has suggested the most likely contender.