# How to translate fixed size or packet based data coming from tcp driver

**URL:** <https://forum.inductiveautomation.com/t/how-to-translate-fixed-size-or-packet-based-data-coming-from-tcp-driver/98526>\
**Category:** Ignition\
**Created:** [November 12, 2024, 5:06pm UTC](https://forum.inductiveautomation.com/t/how-to-translate-fixed-size-or-packet-based-data-coming-from-tcp-driver/98526 "2024-11-12T17:06:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_hall](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@john\_hall](https://forum.inductiveautomation.com/u/john_hall)\
**Post date:** [November 12, 2024, 5:06pm UTC](https://forum.inductiveautomation.com/t/how-to-translate-fixed-size-or-packet-based-data-coming-from-tcp-driver/98526/1 "2024-11-12T17:06:31Z")

</div>

has anyone seen similar values coming from a tcp driver?  
I am hooked into a scale with print type TPU P (only other option is LP50)

This is what we are receiving.  
�����';�X

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 12, 2024, 5:12pm UTC](https://forum.inductiveautomation.com/t/how-to-translate-fixed-size-or-packet-based-data-coming-from-tcp-driver/98526/2 "2024-11-12T17:12:46Z")

</div>

Do you have documentation or a user manual for this printer that explains the data format?

The TCP driver is meant to connect to simple devices that spit back regular ASCII-based, character-delimited or fixed length data.

---

<div class="post-metadata">

**Author:** ![john\_hall](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@john\_hall](https://forum.inductiveautomation.com/u/john_hall)\
**Post date:** [November 12, 2024, 5:13pm UTC](https://forum.inductiveautomation.com/t/how-to-translate-fixed-size-or-packet-based-data-coming-from-tcp-driver/98526/3 "2024-11-12T17:13:54Z")

</div>

Doesnt seem very helpful

[BW/BWS series](https://www.scalesplus.com/content/T-Scale/BWS/BWS%20Manual.pdf)

---

<div class="post-metadata">

**Author:** ![john\_hall](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@john\_hall](https://forum.inductiveautomation.com/u/john_hall)\
**Post date:** [November 12, 2024, 5:20pm UTC](https://forum.inductiveautomation.com/t/how-to-translate-fixed-size-or-packet-based-data-coming-from-tcp-driver/98526/4 "2024-11-12T17:20:58Z")

</div>

I don't get anything when set to Character.  
Fixed and Packet based return the same garbage no matter what size I set it to.  
UVZm��������8�\*�

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 12, 2024, 5:22pm UTC](https://forum.inductiveautomation.com/t/how-to-translate-fixed-size-or-packet-based-data-coming-from-tcp-driver/98526/5 "2024-11-12T17:22:07Z")

</div>

I think you would need to have the scale in the "Con1" output mode and then use character delimiter of "\r\n".

The other formats look like they produce binary data. It's going to show as "garbage" when interpreted as a string.

---

<div class="post-metadata">

**Author:** ![john\_hall](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@john\_hall](https://forum.inductiveautomation.com/u/john_hall)\
**Post date:** [November 12, 2024, 5:26pm UTC](https://forum.inductiveautomation.com/t/how-to-translate-fixed-size-or-packet-based-data-coming-from-tcp-driver/98526/6 "2024-11-12T17:26:36Z")

</div>

P 1 com - mode - cont  
- baud - 9600  
- pr - 8n1  
- ptype - tpu p  
-  
Those are the only options  
No options for the continuous output protocol
