LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW: Memory or data structure corrupt.

Solved!
Go to solution
Solution
Accepted by vgezer

Take the hex string and using the conversion function turn that into an array of U8s. Wire that array to the function to format a number into a 2-digit hex-represented string. The result is an array of strings. Wire that array to the input of a string concatenator. The output will be all the elements appended into one long string.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 11 of 15
(1,900 Views)

Yes, now it is working!! Thank you 🙂

0 Kudos
Message 12 of 15
(1,896 Views)

Hello,

 

One more thing to be added to my VI is adding leading zeros for example:

 

When I write: 000A 3500 05DC 

 

The result becomes: 0A3505DC

 

Is there any easy way to add these zeros for better display?

 

Thank you...

0 Kudos
Message 13 of 15
(1,894 Views)

Yes: set the Width input of the string-to-hexadecimal conversion to 2, which will force at least two characters per value.

Remove the Decimate Array function.  You can connect the array of strings directly to "Concatenate Strings."

Message 14 of 15
(1,884 Views)

Thank you, it is working perfectly :).

0 Kudos
Message 15 of 15
(1,878 Views)