07-08-2016 08:59 AM
TCP read brings back strings, but in reality, a string is just a series of bytes. What you do with that series of bytes is up to you. If you just display the string, LabVIEW will show the bytes according to its ASCII table. You can typecast the string to a U8 array. You can typecase it to an array of U16, I16, U32, ...... or to other more complicated structures if you know how the data is laid out.
What does the data represent in the database, and how do you want to view it in your LabVIEW program.
07-13-2016 01:30 AM
Thank you for the description.
In terms of interpretation, I struggle with strings (MySQL - TEXT). If there are special characters, LV interprets them as ASCII instead of utf-8. Is there a way to interpret the outcome of the TCP read as utf-8? Think there is a function Flatten/Unflatten String, but I do not know how to use it in my case. My temp solution is kinda hack, not a real solution, vi attached ...
07-13-2016 02:37 AM
now incl. the vi ...