# User Data Logic

To make it easier to move the data, a User Defined Data Type (UDT) was created to send the data. Four floats are moved into the Camera1SendData. tag, then copy the string length and string into the tag, and then latch the SetUserData0 bit.

After the data has been read, the SetUserDataAck0 bit will be returned by the Cognex Communication Card. Then SetUserData0 is unlatched, and will indicate that it is OK to trigger by using the TriggerBit0 latch.