Jump to content

LabVIEW 2013 Favorite features and improvements


Recommended Posts

Just ported my project to LV2013 (livin on the bleeding edge!)

I am sure to find many cool new features and improvements but I thought I would share one with you the jumped right out at me:

 

The Tree Control is 10x faster!  :thumbup1:  :thumbup1:  :thumbup1:

(At least, when I am setting cell colors on multiple rows while updates are deferred.)

 

In my example, it was taking 4-5 seconds to do the update for a few 100 rows in LV2012.  In LV2013 it takes less than a second.

This will be a big improvement for my GUIs.  So, thanks to the engineer(s) who worked on this!   :worshippy:

 

I wonder if this is specific to the tree control or if other UI processing is also improved?

 

I will report back with more finds but please add your own to the thread.

 

-John

  • Like 1
Link to comment

This almost worries me.  You see for years the Tree control, multicolumn listbox, and table have been dog slow at doing individual cell updates when there are many.  So to get around this I have several coding techniques that will improve performance.  Things like only updating the cells visible, only showing a subset of the data then load the other data when you scroll, and defer front panel updates.  

 

So my worry is that my performance from older applications will actually be slower then the native implementation, and now I'm going to end up removing all that hard work I did to get around LabVIEW's issues.

Link to comment

Don't get me wrong, I can't wait to try it out and see what other features 2013 is going to have.

 

So generally LabVIEW releases are hit and miss.  They will have a stability build, then a feature build, where the feature build will be great but usually rough around the edges.  Since having a service pack mid-way through the year this seems to make sure all released versions are solid.  For this reason I have no fear about using a SP1 version of LabVIEW.  But I am still apprehensive about switching to a new version before this SP1.  

 

This could probably be made into a new topic, but do you believe you will switch to 2013 as soon as possible?  Or are you going to wait a bit and test the waters before diving in?  The idea of using new awesome stuff both frightens and excites me.  My colleges usually wait until SP1 because it lines up with the Veristand release so if I did go 2013 I would be the one finding all the issues first.

Link to comment
Don't get me wrong, I can't wait to try it out and see what other features 2013 is going to have.

 

So generally LabVIEW releases are hit and miss.  They will have a stability build, then a feature build, where the feature build will be great but usually rough around the edges.  Since having a service pack mid-way through the year this seems to make sure all released versions are solid.  For this reason I have no fear about using a SP1 version of LabVIEW.  But I am still apprehensive about switching to a new version before this SP1.  

 

This could probably be made into a new topic, but do you believe you will switch to 2013 as soon as possible?  Or are you going to wait a bit and test the waters before diving in?  The idea of using new awesome stuff both frightens and excites me.  My colleges usually wait until SP1 because it lines up with the Veristand release so if I did go 2013 I would be the one finding all the issues first.

 

Let John find all the issues :D then switch when you start a new project (if it is after SP1). By all means "play" but as far as real projects are concerned; you are spot on with your current regime IMHO

 

It's all very well "embracing change" but changing/upgrading tool chains is a huge project risk and there have to be specific, justifiable benefits. Unfortunately, I have not seen any practical benefits of note after LV 2009 for my projects. Lets see if that changes with LV 2013.

Link to comment

Oh, I would not be switching to LV2013 yet either if my project was near completion.  But in this case, I do not expect to be ready to release until well after SP1 comes out.

For me, there are many compelling features in 2013 that I want for this project.  Including the new web service features and the improvements to .net calls.

Getting this tree control speedup is just a bonus.

In the past I have always waited for SP1 before updating my projects.  It is actually kinda fun to be able to jump in the pool early this time.

As for upgrading my tool chains, that took all of 20 minutes to install packages from VIPM, copy reuse code, recompile and save everything.  The only 'bug' I ran into is the new rule that a shared clone cannot statically link to an Application level event.  Not sure why this is but the workaround was fairly painless to implement.

Link to comment

Aha! jlo got (at least) one in. Is it above or below the attribution?

http://zone.ni.com/reference/en-XX/help/371361K-01/lvupgrade/labview_features/

 

Application Builder Enhancements Automatically Selecting NI Software for Installers

noloc_ico_idea_exchange.png  When you build an installer in LabVIEW 2013, LabVIEW automatically selects installers for the drivers and other software components required by the built application. Use this feature to reduce the possibility of building an installer without the right components. To disable this feature, remove the checkmark from the Automatically select recommended installers checkbox on the Additional Installers page of the Installer Properties dialog box for the installer.



[idea submitted by NI Discussion Forums member jlokanis]

Creating Directory Versions in Build Specifications

In LabVIEW 2012 and earlier, if you create a build specification, LabVIEW does not include the build version number in the directory path on disk. In LabVIEW 2013, you can use tags in the build destination path so LabVIEW automatically includes the build version in the directory path. You can include the [VersionNumber] tag in the Destination path field on the Destinations page or the Destination directory field on the Information page of the build specification properties dialog box.

  • Like 1
Link to comment

I have been immortalized in the LV2013 release notes!   :P

 

I am so glad they added this.  Although I think it is more because I kept calling support and asking them what each installer did what and when it was needed.  I was amazed that the top-tier test support guys didn't have any more clue than I did.  I'm betting this feature alone reduces the number of calls they get in the future.

  • Like 1
Link to comment
I have been immortalized in the LV2013 release notes!   :P

 

I am so glad they added this.  Although I think it is more because I kept calling support and asking them what each installer did what and when it was needed.  I was amazed that the top-tier test support guys didn't have any more clue than I did.  I'm betting this feature alone reduces the number of calls they get in the future.

I had this issue just yesterday.  I built an EXE and and installer and put it on a new PC which complained about missing a DLL.  Lots of searching later I found it was an XNet DLL, so I searched for all XNet functions until I found one place where it was never being called.  I have yet to call support for this issue but I have spent alot of my own time trying to figure it out.

 

EDIT: A few that caught my eye.

 

Scripting the event structure.

More control over events like queues (flush priority and size)

Email with security

Tasks/Todo lists built in (I was just about to make a tool for that)

Better build errors (hopefully we won't see a blank details again)

Control value by index seems neat but I think there are other ways to do the same thing

Edited by hooovahh
Link to comment
Control value by index seems neat but I think there are other ways to do the same thing

As I worked on this, I feel obliged to chime in :-)

 

There are definitely other ways to do the same thing, and they're pretty much all easier than using Set/Get Control Value by Index.  The reason you would want to use Set/Get Control Value by Index is that it's very fast - just barely slower than wiring directly to an indicator.  So it's useful if updating control/indicator values is something you're doing many times a second - otherwise there's no reason to switch to it.

  • Like 2
Link to comment
Don't get me wrong, I can't wait to try it out and see what other features 2013 is going to have.

 

So generally LabVIEW releases are hit and miss.  They will have a stability build, then a feature build, where the feature build will be great but usually rough around the edges.  Since having a service pack mid-way through the year this seems to make sure all released versions are solid.  For this reason I have no fear about using a SP1 version of LabVIEW.  But I am still apprehensive about switching to a new version before this SP1.  

I had the same reaction regarding trees, multicol listboxes, etc. and all I've had to do to program around issues in the past.

 

Also, I was severely bitten in multiple ways by 2011 -- the last "stability release", IIRC.  I installed 2012 the  moment it came out and got rid of several big problems. I'll be waiting for all of you to test out 2013 for me before I upgrade. :P

Link to comment

Favourite LV2013 addition?

 

Fixing waveform chart bug which should be also fixed in LV 2012 but probably won't be........ :throwpc:

 

Aside from that, the ability to limit the depth of any given event queue is really huge.  If you've ever thought of combining events with a notifier to get around some messy "Mouse move" events, this is the answer to your prayers. :worshippy:

 

Shane

  • Like 1
Link to comment
As I worked on this, I feel obliged to chime in :-) There are definitely other ways to do the same thing, and they're pretty much all easier than using Set/Get Control Value by Index.  The reason you would want to use Set/Get Control Value by Index is that it's very fast - just barely slower than wiring directly to an indicator.  So it's useful if updating control/indicator values is something you're doing many times a second - otherwise there's no reason to switch to it.
That is really neat and I will want to do some tests to compare results with OpenG, and MGI options too. My original thout was replacing the save to panel and load but that will happen seldomly and a better use case is as you said, constantly updating a UI.
Link to comment
The Tree Control is 10x faster!  :thumbup1:  :thumbup1:  :thumbup1:

(At least, when I am setting cell colors on multiple rows while updates are deferred.)

 

In my example, it was taking 4-5 seconds to do the update for a few 100 rows in LV2012.  In LV2013 it takes less than a second.

This will be a big improvement for my GUIs.  So, thanks to the engineer(s) who worked on this!   :worshippy:

 

I wonder if this is specific to the tree control or if other UI processing is also improved?

 

You're welcome. :cool:

 

(And sorry it took so long for us to find a way to address this).

 

The changes that improved this performance were specific to the listbox, multicolumn listbox, table and tree controls. I don't expect that they will conflict with any "programming around the problem" tricks that you've used in the past.

 
  • Like 2
Link to comment
You're welcome. :cool:

 

(And sorry it took so long for us to find a way to address this).

 

The changes that improved this performance were specific to the listbox, multicolumn listbox, table and tree controls. I don't expect that they will conflict with any "programming around the problem" tricks that you've used in the past.

Thank you so very much.  Would you mind going into detail a little about what is done for the improvement?  Mostly just curious and if your answer is "It's complicated" then that's fine with me.  

 

We were just guessing at the Lava BBQ and we assumed that it was doing behind the scenes, what we were doing as work arounds.  Things like only updating cells you can see in the control, and only loading data for the cells you can see (so a table only has 10 rows show so it loads those 10 rows at a time with a fake scrollbar)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.