LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI of the Day (8/27/2009)

A function for today that I really haven't used "Index & Bundle Cluster Array".  I suppose it could be useful if I had a chart and wanted to update multiple points to multiple plots, but I am sure the gurus have a few more uses for it.  Now the reverse operation I would use many times...
0 Kudos
Message 1 of 10
(3,614 Views)
... and if you are missing the reverse function, make sure to vote for it here. 😄
Message Edited by altenbach on 08-27-2009 12:03 PM
0 Kudos
Message 2 of 10
(3,584 Views)

For your vi of the day it might be nice to show the VI and give an example of what it does visually vs just say this is the vi of the day everyone else give examples. If I were new to LabView I wouldn't even know what you were talking about. Maybe show where to find it on the panel. Stuff like that.

 

Just a thought

Tim
GHSP
Message 3 of 10
(3,574 Views)

aeastet wrote:

For your vi of the day it might be nice to show the VI and give an example of what it does visually vs just say this is the vi of the day everyone else give examples. If I were new to LabView I wouldn't even know what you were talking about. Maybe show where to find it on the panel. Stuff like that.

 

Just a thought


Good idea, (and include a link to the specif help page)

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 4 of 10
(3,546 Views)

Thanks for the ideas, I try to do what I can to make this a useful endeavor,  perhaps we should keep this discussion on the breakpoint thread.  At any rate, a few thoughts.

 

I hope that this provides a brief, fun, and informative daily diversion.  A couple sayings come to mind "Many hands make light work" and whatever the old saying about teaching someone to fish versus giving them a fish.  If you feel the link to the help page is useful, then feel free to add a short post to a thread with the link.  Better yet, explain how to find it.  Have a cool example, post it.  I try to when I can but things are easier when we all chip in a little bit.  Learn something new, feel free to share, I particularly enjoy those posts.  A lot of my tips come from my previous mistakes, I just haven't made nearly enough of them to sustain this without help from the community.Smiley Wink

 

I will add a link to each day's VIOTD to a thread with the groundrules for those new to the game.  That should keep the daily posts more self-contained.

 

When I get LV9 up and running, code snippets should improve my life and hopefully my posts.  I will probably not show where a function is on the palettes, the easter egg hunt is part of the learning curve and a great chance to stumble upon hidden gems.

 

I have enjoyed it so far, and so far I have learned (at least) one thing new each day.  Hopefully I am not the only one.

0 Kudos
Message 5 of 10
(3,525 Views)

Darin.K wrote: I will probably not show where a function is on the palettes, the easter egg hunt is part of the learning curve and a great chance to stumble upon hidden gems.

Given the searching capabilities of the function palette, that's not much of a challenge. Smiley Wink

0 Kudos
Message 6 of 10
(3,514 Views)

smercurio_fc wrote: 

Given the searching capabilities of the function palette, that's not much of a challenge. Smiley Wink


Fastball right down the middle and he hits it out of the park!

 

On the tip side, I remember the first time I tried to search it took forever to bring up the dialog.  I thought, what a useless feature it would be faster to find it manually.  Didn't touch it again until I upgraded and then tried again.  Same thing, slow as molasses.   Finally realized that it builds a database (I guess) the first time and then seems to work much better.   I still prefer to peruse the old-fashioned way now and then.

0 Kudos
Message 7 of 10
(3,506 Views)

There is a setting when to build the database:

 

The options are:

  •  Load palettes in background—Loads information about the palettes in the background when you are not using the mouse or keyboard, which improves the performance of LabVIEW when you search for objects on the palettes. Selecting this option might cause LabVIEW to appear slow or unresponsive immediately after you launch it, especially if you run LabVIEW on a network.
  • Load palettes when needed—Loads information about the palettes as you navigate the palettes. Selecting this option might cause LabVIEW to appear slow or unresponsive while you navigate the palettes or after you click the Search button on the palette toolbar.
  • Load palettes during launch—Loads information about the palettes when LabVIEW starts. Selecting this option prevents you from performing any action in LabVIEW after it starts until it loads all palette information.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 8 of 10
(3,498 Views)

Back to the function at hand, here is the first practical use I thought of.  You can add multiple points to multiple plots on a chart using this function (as opposed to adding pt by pt).  Array and Array 2 are two sets of points you'd like to add to the Chart in two different plots.

 

 Chart.png

Any other uses?

Message 9 of 10
(3,487 Views)

Great tool! I never knew that existed!

 

Although it would be way more useful if you could pipe a typedef into it and just update a single item in the cluster. i guess you would have to call it "Index & Bundle Cluster Array by name" if you did it that way. Of course, now the name is getting crazy-long...

0 Kudos
Message 10 of 10
(3,406 Views)