05-08-2012 03:09 PM
I should probably be ashamed to admit it but here goes my eureka moment for today.
Nathand posted in reply #9 of this thread this image
I think it was Mark Twain that wrote "If yo only have a hammer everything looks like a nail." So I guess I am a "one hammer" guy.
What was my eureka?
The single element bundle (not Bundle by Name, aka my hammer) solves the problem of having a 2d array were the were different numbers of collumns in each row. I must have tracked the sub-array lenght a thousand times over the years never thinking that I could use a simple "Bundle".
Ben
05-08-2012 04:56 PM
@Ben wrote:
I should probably be ashamed to admit it but here goes my eureka moment for today.
Nathand posted in reply #9 of this thread this image
The single element bundle (not Bundle by Name, aka my hammer) solves the problem of having a 2d array were the were different numbers of collumns in each row. I must have tracked the sub-array lenght a thousand times over the years never thinking that I could use a simple "Bundle".
Ben
That is the exact same way I USED to do it
Thanks
05-08-2012 05:49 PM - edited 05-08-2012 06:06 PM
Jeff Bohrer wrote:That is the exact same way I USED to do it
I guess nobody ever looks at my posts. 😄 (Or also all the way back to 2005... )
05-08-2012 05:54 PM
@Ben wrote:
The single element bundle (not Bundle by Name, aka my hammer) solves the problem of having a 2d array were the were different numbers of collumns in each row. I must have tracked the sub-array lenght a thousand times over the years never thinking that I could use a simple "Bundle".
Oh man, this is one of those "I thought everybody knew this" ideas that I discarded as a potential Nugget post. Lesson learned... 🙂
I'll post this as an occasional nugget soon.
05-08-2012 06:40 PM - edited 05-08-2012 06:40 PM
@Ben wrote:
The single element bundle (not Bundle by Name, aka my hammer) solves the problem of having a 2d array were the were different numbers of collumns in each row.
Bundle by name seems nearly equivalent (except for the need to wire the type) with the advantage of better implicit documentation. In newer LabVIEW versions you can even iconify the cluster template.
05-08-2012 07:18 PM - edited 05-08-2012 07:26 PM
@altenbach wrote:
Jeff Bohrer wrote:That is the exact same way I USED to do itI guess nobody ever looks at my posts. 😄 (Or also all the way back to 2005... )
Damn! that's about 10,000 more posts I need to read!
Good thing Nathand read that!
05-09-2012 05:26 AM
05-09-2012 07:03 AM
Dohhhhhhhhhhhhhh.....Consider me one of the 10,000.
05-09-2012 07:38 AM
So I was not alone in overlooking this option.
I'll try to remeber to show my igonorance on a more regular basis.
Christian,
With the schedule I have lately, just scanning the titles on the LV board is a challenge to keep up with.
Darren,
For the sake of completeness nuggetize it. But don't be suprised if it does not get a bunch of accolades since it was just Eurekanized.
Ben
05-09-2012 09:02 AM
LOL, my dyslexia just kicked in. Was skimming the post and read Eurekanized as Euthanized