UDP lost packet compensation

So I am using the UDP in to route in transformations for the cameras in my scene. Everything is working perfectly except when I lose packets and the row that contains my camera data, say translate x, disappears it sets my camera position back to default because that channel that is being exported to my cam rig is no longer being interpreted by my dat to CHOP and thus the channel no longer exists.

Is there a way to write a value to a constant using scripts or something so that it only updates when it sees information coming in?

You may try sending entire DATs using the “send -p” command, or the Touch In DAT / Touch Out DAT. For the send you may want to use Experimental that has a fix to tables being sent out.

Not sending from Touch designer to touch designer. I’m sending from a custom written .exe that is interpreting packets from a motion control system and sending out UDP to Touch.

Ended up solving this with a few scripts I will post later this week.