From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an easy way to convert a "1d array of strings" to a "2d array of unsigned bytes (U8-8 bit integer)

Solved!
Go to solution

Is there an easy way to convert a "1d array of strings" to a "2d array of unsigned bytes" (U8-8 bit integer).

0 Kudos
Message 1 of 9
(3,651 Views)
Solution
Accepted by topic author chuck72352

Hi chuck72352,

this should work.

 

Mike

Message 2 of 9
(3,643 Views)
If your string array elements are set to "hex" display mode then you can just use the String to Byte Array function inside the loop.
Message 3 of 9
(3,637 Views)

Attached is the VI that I believe you showed me. Output exists in only the first column. Did I misread your vi?

 

Thank you.

0 Kudos
Message 4 of 9
(3,627 Views)

I attached the wrong file  should be as attached.

0 Kudos
Message 5 of 9
(3,624 Views)

Attached is the VI as I believe you showed me. Only the first column is being populated.

0 Kudos
Message 6 of 9
(3,620 Views)

HI chuck72352,

as i wrote in the image. First change view to "code display" and then enter "\t" as seperator.

 

Mike

Message 7 of 9
(3,614 Views)
Sorry, but I don't know what you mean.
0 Kudos
Message 8 of 9
(3,609 Views)
I figured it out. Thank you!
0 Kudos
Message 9 of 9
(3,606 Views)