Did you try the code I appended above ?
Here is a newer version... attach it direct to the tcp in node.
The function now has two outputs... - the second of which goes to a file - edit it as necessary - which will then log all the inputs - and you can analyse in whatever way you need to show what does - and doesn't arrive...
[{"id":"97e5d0fd.5dcae","type":"function","z":"5051cb93.cf0d34","name":"","func":"msg.payload = msg.payload.toString(\"binary\");\nvar id = msg.payload.substr(4,10);\nvar data = msg.payload.substr(14,2);\nvar ts = new Date.now();\nvar p = ts+\",\"+id+\",\"+data;\nreturn [{payload:{ts:ts, id:id, data:data}},{payload:p}];","outputs":2,"noerr":0,"x":430,"y":500,"wires":[["6dd8afff.36a51"],["921108e7.0d7788"]]},{"id":"6dd8afff.36a51","type":"debug","z":"5051cb93.cf0d34","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":630,"y":480,"wires":[]},{"id":"921108e7.0d7788","type":"file","z":"5051cb93.cf0d34","name":"","filename":"/tmp/my.log","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"none","x":630,"y":520,"wires":[[]]}]