04-11-2016 10:18 PM
This is a pretty quick one and I'm sure there is probably just something that I have overlooked as it seems pretty obvious to have to me, but you can never quite be sure with NI.
I have been working with arrays of clusters for a while to store information about a number of different sensor instances and have been using Index and Bundle Cluster Array with reasonable success, but what I am really looking for is a method to do the oppposite?
TLDR:
04-12-2016 12:19 AM
Not built in, but:
04-12-2016 01:15 AM
04-12-2016 07:58 PM
Well its good to know I'm not the only person who thinks that they need something like this.
I shall just Kudo all of the existing posts and wait, in the mean time I shall do it the old fashioned way.
04-13-2016 12:47 PM
For completeness here is another Unindex and Unbundle XNode. This version has several other useful functions, but does have added dependencies. Oh and the support thread said that using this function on type defs may increase an application builder time.
https://lavag.org/files/file/58-array-function-xnodes/
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-14-2022 04:41 AM
As long as you have equally-sized data types this works. You can probably add an array of bools as well but you'd need some fancier decimation o and I'm not sure how you'd do that without a loop. You could also add padding to your boolean array to get it to the size of a DBL.
10-14-2022 02:52 PM
@Hooovahh wrote:
For completeness here is another Unindex and Unbundle XNode. This version has several other useful functions, but does have added dependencies. Oh and the support thread said that using this function on type defs may increase an application builder time.
https://lavag.org/files/file/58-array-function-xnodes/
Mine is prettier.
10-14-2022 02:59 PM
@paul_cardinale wrote:
Mine is prettier.
That version was posted in 2009. My reply was in 2016, but I can't say if your version existed before then or not. Where is your version available? I know I've seen several of your posts, and I saw you post a bunch but I can't remember where that one is.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-14-2022 04:25 PM
@Hooovahh wrote:
@paul_cardinale wrote:
Mine is prettier.
That version was posted in 2009. My reply was in 2016, but I can't say if your version existed before then or not. Where is your version available? I know I've seen several of your posts, and I saw you post a bunch but I can't remember where that one is.
I don't remember where I posted it either. But it's one of the XNodes in the attachment.