LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert cluster to readable string and string to data, but not UTF-8?


@paul_a_cardinale wrote:

And even if so (data to string), is there a way to write the text back to a variant (string to data)?

Why would you need to do that?  Just use the original data.


You'd need that if you store the text in a (human readable) file or database, or transfer it as text for other reasons.

 

You could use JSON or XML for this, but serializing is never going to be easy.

 

As I understand, the MGI solution is pretty much an OoTB solution.

 

I'd try to keep the data binary, but sometimes you simply want strings.

0 Kudos
Message 21 of 21
(173 Views)