BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

stupid question

In the Array to Cluster primitive why is the default cluster size *9*? What kind of a default value is that?! Who's decision was this? Can anyone ever think of a time where you needed a cluster size of *9*?  Smiley Tongue

PaulG.

LabVIEW versions 5.0 - 2023

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 1 of 9
(8,590 Views)

Well, there has to be a default and "1" is too small and "1M" is too big, so we need something inbetween. What default value would you suggest? 😉

 

"9" is actually a good default value, because is is somewhat unusual. If the number 9 appears in a post dealing with clusters, we immediately know what the problem is. 😄

Message 2 of 9
(8,588 Views)

As Aristos answered here: "why not?"

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 3 of 9
(8,586 Views)

And I always thought the preson who was developing the function was listing to this at the time!

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 9
(8,559 Views)
Assuming there is still a valid and necessesary use for this function I disagree that there needs to be a default value. I would really prefer a Coerce to Type function for this, but I think the existing function should break code until a value is set. Add a red X to the icon as a reminder. Is the final value really 9 so often that it is worth the implied shortcut?
Message 5 of 9
(8,549 Views)

@Darin.K wrote:
Assuming there is still a valid and necessesary use for this function I disagree that there needs to be a default value. I would really prefer a Coerce to Type function for this, but I think the existing function should break code until a value is set. Add a red X to the icon as a reminder. Is the final value really 9 so often that it is worth the implied shortcut?

Good idea...make the node drop broken until you set a cluster size.  I'd vote for that on the idea exchange.

0 Kudos
Message 6 of 9
(8,529 Views)

@Darren wrote:


Good idea...make the node drop broken until you set a cluster size.  I'd vote for that on the idea exchange.



Idea posted here:

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Remove-Default-Behavior-from-Array-To-Cluster/idi-p/17...

Message 7 of 9
(8,487 Views)

@altenbach wrote:

What default value would you suggest? 😉

 



42

=====================
LabVIEW 2012


Message 8 of 9
(8,475 Views)

As an old hardware guy I assumed it was "eight bit plus parity" for nine bits. Some old mahcines did have byte level parity checking.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 9 of 9
(8,443 Views)