BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Valentine's Flowers..... best way to solve this challenge (problem?) with LabVIEW?

To all of you suffering from similar problems Smiley Happy
 

So it's Valentine's Day today... another occassion to buy her flowers... lucky enough I did not forget, the question is what to buy?
As a LabVIEW programmer, I can see some possibilites...

  • Buy her "just" roses --> Array of roses, good start, but variety is missing...
  • A cluster of flowers? More Variety, I could add an array of roses, and some further arrays/ flowers....
  • An array of clusters consiting of different flowers? Also Variety but better managability....

But I think I'll do a typedef of a rather small cluster and have an array of those typedef'ed clusters.I don't know about memory consumption, but once typedef'ed, I have the maximum amount of reusability: if she likes them, I can just use the cluster next time, and if she doesn't I can exchange some cluster members and have the whole bouquet updatetd at once 😉

Smiley Very Happy

Can someone post the excuses? In case someone forgets nevertheless Smiley Sad

Have a nice day!

 

Oli

Message 1 of 3
(4,666 Views)

... and if you intend to use a constant type def and want to to pass anything other than the default to the entity you are calling, ...

do not change the default but use a bundle by name to avoid issue with the defaults being restored when the definition changes.

There is nothing that will bite you faster than presenting a default when something special is called for.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 3
(4,650 Views)

Yes, Ben, you're damned right! There is a lot of wisdom in your words! Smiley Happy

0 Kudos
Message 3 of 3
(4,634 Views)