Digital Linear Gauge to RS232

OK then:-
out = digitalRead(dataIn)+digitalRead(dataIn)+digitalRead(dataIn); // Tripple sampling to remove glitches

That line is totally wrong. You are doing an arithmetic operation on logical variables, what do you hope it will do?
It certainly won't debounce anything. Why do you want to debounce the input anyway, it's coming from an instrument why wold it have bad edges?

Note you are also printing a lot in a time critical routine, that will slow you down and you will miss stuff.
But more importantly as you have the hardware and I don't, what does it do when you run it?