LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I convert a U32 array into binary string?

Hi
 
I would like to find an efficient way to convert an array of 8192 U32 into a single binary string!!!
 
the solution below  last 550 ms on an RT target to convert 8192 U32.
The same code running on Labview (not RT) last 100ms. I don't understand why there is such a difference.
 
I've tryed to replace the inner loop and convert by a format string whith U32 on entry and %032b as parameter but it lasted same time.
 
 
 
Thanks a lot
 
 
0 Kudos
Message 1 of 3
(3,242 Views)
Your picture of your code didn't come through. You can't link to a picture that's on your computer, as a server on the internet cannot access your computer to display the picture for others to see. You have to upload the picture as an attachment. Then, if you want to actually display the picture in the message you have to edit your post, insert a picture, and when it asks for the URL you enter the URL of the picture. You can get the URL when viewing the message, as the link is within the message itself.

As for your question, can you just use the TypeCast function?
Message 2 of 3
(3,234 Views)
ok sorry next time I will download a file!!!
 
But for my answer it's ok, I've found an better solution by using a 1D array of string concatenated to create the string.
 
 
thanks

Message Edité par julesjay le 12-01-2006 08:05 AM

0 Kudos
Message 3 of 3
(3,208 Views)