08-13-2014 12:36 AM - edited 08-13-2014 12:37 AM
I was trying to *make* a cluster in as little space as possible and tried to build an array of 3 booleans and then use the array to cluster function to make this cluster. however, it seems that there is some fancy way labview is handling the booleans. something like an 9-bit thingy?
A long time ago I remember reading about how hardcore CS people interpret bits... little big endianness? I've also seen how labview can convert some integer into a 9-bit thing like this.
Anyways my question is, is it possible to make a "cluster of 3 elements" from 3 boolean constants without having to use "bundle"??
Thanks.
Solved! Go to Solution.
08-13-2014 12:48 AM - edited 08-13-2014 12:50 AM
Hi Engineer,
maybe you should do what your nick implies: reading a manual…
The help for ArrayToCluster describes the functionality clearly. And it mentions a right-click option to set cluster size… (Doh!)
To put it in popular words: READ THE F*** HELP!
08-13-2014 03:47 AM
The Array to cluster defaults to 9 elements, r-click it to change.
(As a side note LV implements booleans as U8, so a byte for each. If you want bit optimization you could mask it all to a single U8 as flags - C-style)
/Y
08-13-2014 05:01 AM
Ah, fond memories
08-13-2014 12:10 PM
what's right click? 😞
08-13-2014 12:12 PM
@BigShotEngineer wrote:
what's right click? 😞
...right click with the mouse. If you right click the array to cluster function you can set the size to something other than 9.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-13-2014 05:27 PM
08-13-2014 06:56 PM
@Dennis_Knutson wrote:
Using the right click opens up a whole new world for using LabVIEW. If your comment ess serious, you really need to stop what you are doing and take a couple of free tutorials or classes that come with a purchase.
He has to be kidding... I hope. Because it would mean that he didn't understand how to use Windows with a mouse. And the name make comments like these totally fair game.
08-13-2014 06:59 PM
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-13-2014 07:01 PM
Looks like w Windows background. 😉