LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Darren's Weekly Nugget 05/04/2009

One of the nifty features of LabVIEW 8.6 was the ability to edit the properties of multiple objects at the same time.  Most of the literature on this feature focuses on editing front panel objects, but did you know you can edit the properties of block diagram objects as well? 

 

 

 

For most diagram objects, the property list is pretty limited (or nonexistent). For the functions above, the only properties you can change are the adapt to source option on the Output Configuration of the functions, and whether or not the functions' labels are visible.  There are other objects (particularly constants) with more useful configuration options.  For example, you can change the items in multiple enum and ring constants at the same time.  For string constants, you can change several formatting options.

 

How has the ability to edit properties of multiple objects (either FP or BD) been particularly useful to you LabVIEW 8.6 users out there?  And what properties would you like to see be editable on multiple objects that aren't there yet?

Message Edited by Darren on 05-04-2009 04:06 PM
Message 1 of 12
(7,155 Views)

Darren wrote:

One of the nifty features of LabVIEW 8.6 was the ability to edit the properties of multiple objects at the same time.  Most of the literature on this feature focuses on editing front panel objects, but did you know you can edit the properties of block diagram objects as well? 


I actually found this out the other day by accident Smiley Surprised.
It is really useful, I wish it wound have come out sooner.

Cory K
0 Kudos
Message 2 of 12
(7,138 Views)

Darren wrote:

And what properties would you like to see be editable on multiple objects that aren't there yet?


Select a couple of terminals and (de)select "view as icons".

Message 3 of 12
(7,114 Views)

Sorry to be a downer, but I have an application where this would have been really useful - but it's soooo slllloooooowwwwwwww Smiley Sad

 

I have a fairly large collection of controls on my front panel, all identically based on the same type-def. If I select them all and use the Properties shortcut item, it takes minutes to populate the Properties window, and hours to apply just one change. In the end, it's still quicker for me to select each control one at a time, setting their properties singly.

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 4 of 12
(7,087 Views)

Hi Thoric,

 

I noticed some slowness with multi-select properties and huge panels in 8.6, too.  Do you have a sample VI (like with the controls on the panel, but no diagram) that I can take a look at, and see if the performance is improved in the next LabVIEW release?  Let me know.

Message 5 of 12
(7,055 Views)

I created a mock-up of my application's panel (one of them, anyway) that has 48 identical controls within a large tab of an otherwise empty vi. It uses the same type-def for the controls. I tried using multi-property, and it worked with lightening speed! So, on the second tab pane, I created another 48 controls, from a second type-def. I tried multi-property for this new set of 48, and it worked, but slower. I re-selected the first 48 controls, and although it worked again, it was slower still.

 

So I created a third tab pane (my application has six panes by the way), and another 48 controls. Now it's starting to grind to a halt. Multi-select takes a long time to populate the Properties window, and a good long time to affect any changes too. A disproportionately long time. In fact, as I look at it now, LabVIEW has frozen Smiley Mad

 

I do get trouble with my LabVIEW installation, with things like Quick Drop crashing occasionally, so maybe this slow behaviour won't be seen by others?

 

(Actually, while I've been writing this and playing with the multi-property tool, LabVIEW has frozen on me three times. I wonder if something more serious is amiss...)

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 6 of 12
(7,025 Views)

My first tries using editing the properties of multiple objects was rather dissapointing.  I wished to change a couple of properties on multiple controls, selected them, made the change, and discovered that properties I didn't want to change had been affected.  I was glad to find undo worked to get me back to where I could edit the properties one at a time.  I've tried this three times with similar results.

 

Tim

0 Kudos
Message 7 of 12
(6,929 Views)

I don't have 8.6, but is it possible to edit properties from the search results window?  Highlight the ones needing to change and then right click instead of finding them in the block diagram.

 

Message Edited by paulmw on 05-06-2009 01:00 PM
0 Kudos
Message 8 of 12
(6,845 Views)

paulmw wrote:

I don't have 8.6, but is it possible to edit properties from the search results window?  Highlight the ones needing to change and then right click instead of finding them in the block diagram.

 


Hi Paul,

 

It is not currently possible to edit properties from the Search Results dialog.  If you think this would be a beneficial feature, I suggest you submit it to the Product Suggestion Center.

0 Kudos
Message 9 of 12
(6,738 Views)

Thoric wrote:

I created a mock-up of my application's panel (one of them, anyway) that has 48 identical controls within a large tab of an otherwise empty vi. It uses the same type-def for the controls. I tried using multi-property, and it worked with lightening speed! So, on the second tab pane, I created another 48 controls, from a second type-def. I tried multi-property for this new set of 48, and it worked, but slower. I re-selected the first 48 controls, and although it worked again, it was slower still.

 

So I created a third tab pane (my application has six panes by the way), and another 48 controls. Now it's starting to grind to a halt. Multi-select takes a long time to populate the Properties window, and a good long time to affect any changes too. A disproportionately long time. In fact, as I look at it now, LabVIEW has frozen

 

I do get trouble with my LabVIEW installation, with things like Quick Drop crashing occasionally, so maybe this slow behaviour won't be seen by others?

 

(Actually, while I've been writing this and playing with the multi-property tool, LabVIEW has frozen on me three times. I wonder if something more serious is amiss...)


Thoric,

 

I tried multi-select properties on 48 controls on the UI you gave, and I didn't see any of the slowness you've described (running a 2.4GHz(x4) quad core with 4 GB RAM here).  The first launch of the properties page took a few seconds, but each launch after that was very quick.  And applying the changes only took a few seconds.  I also tried the same operation in the LabVIEW 2009 beta and saw pretty much the same speed.

 

Also, I've never seen Quick Drop crash.  Do you have problems with other applications on your computer besides LabVIEW?

0 Kudos
Message 10 of 12
(6,736 Views)