LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert Complex (Pink) Cluster to Byte Array

OP mentioned the arrays should not be prepended by Array size. There's a flag for that in unflatten. Would that help?

UnflattenWithoutArraySize.png

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 21 of 23
(399 Views)

@Yamaeda wrote:

OP mentioned the arrays should not be prepended by Array size. There's a flag for that in unflatten. Would that help?

 


 From my first post:

 

"Flatten to string (and then convert String to U8 array). - This prepends the size of arrays inside the cluster into the byte array, even with the Prepend Array or String Size set to False, since this selector applies only to the cluster as a whole."

0 Kudos
Message 22 of 23
(376 Views)

Ah, if you want that, you should just cut out the middleman and use this library/wrapper for the LV Memory Manager that let's you do C-style pointer operations.

Tanner B.
Systems R&D Engineer - Aerospace, Defense, and Government
National Instruments
0 Kudos
Message 23 of 23
(371 Views)