LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

binary string to 1 d array

hello,

what i have is an xml string of binary numbers .  i can unflatten the xml string, but is there a simple way to convert the string to a 1 d array of strings. for example

if my input string was 1010 then the array would have

index     element
0            1
1            0
2            1
3            0

the array may be as large as 2^16 or contain around 32k bits.  thank you
0 Kudos
Message 1 of 5
(2,584 Views)
Here's one simple possibility.
 

Message Edited by altenbach on 09-18-2006 09:22 AM

Message 2 of 5
(2,569 Views)
Hi lfoitek,

Here is another solution:

Be carefull that the build array function is connected to the tunnel and not to the N-terminal

But why do you want to store this as an array of strings!

Ton

Message Edited by TonP on 09-18-2006 06:28 PM

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 3 of 5
(2,562 Views)

And another one.

David

Message Edited by David Crawford on 09-18-2006 05:38 PM

Message 4 of 5
(2,555 Views)
thank you to all
0 Kudos
Message 5 of 5
(2,541 Views)