LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting 32bit Array to Byte array

Interestingly the "Interleave 1D array" way is only 1-2mS slower than the type cast.

LabVIEW 2012
0 Kudos
Message 11 of 13
(550 Views)

craigc wrote:

Interestingly the "Interleave 1D array" way is only 1-2mS slower than the type cast.


That doesn't surprise me much, at runtime the only thing that has to change is the header of the array needs to be modified, no memory actions what so ever.

 

Ton

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!
0 Kudos
Message 12 of 13
(543 Views)
For those who want to run the benchmark on their machine... I added the for loop to generate the input array in order to minimize the size of the VI.
Message 13 of 13
(542 Views)