FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
133 views 0 comments
by anonymous

I'm trying to enable a custom register block, following this guide however I changed it so the file that has been written in contains only normal written text (ASCII). When I now try to make a slave send a request to that register, it outputs only "x00\x00\x00\x00\x00\x00\x00\x00" (when picked Data Type is ASCII).

How can I fix this?

1 Answer

0 votes
by anonymous

Hi,

This is normal as \x00\ is an alias for null definition, so if the hostname doesn't use the whole set of registers, empty registers are filled with nulls, in a result, you're getting \x00\ values after your hostname repeating.

This will not change unless there will be a requirement from someone to develop a different data type, but for now, you can only hope this may change in the future.

EB.