Hi Coding Badly, thanks for your reply and the tip about the code tags.
The g-switch effectively is the same as a momentary push button switch, i.e. does not latch, so as soon as the g-force drops off it becomes open again.
I have a pull down resistor on pin 2.
The thermocouple error should print whenever there is an error with the thermocouple, regardless of whether the g-switch has triggered. I'm also going to include an LED to indicate as such so I can see a thermocouple error without having to look at the serial data.
Thanks for your help with the code, I will give it a go now.
Chris