LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Darren's Weekly Nugget 09/13/2010

Great idea!  I just gave Kudos #160.  Smiley Happy

 

-Joe

0 Kudos
Message 11 of 25
(1,644 Views)

@Aristos Queue wrote:

 


@crossrulz wrote:

Is there a reason this couldn't be in the next service pack instead of waiting until 2011 comes out? (and yes, I kudo that idea a almost as soon as it was posted)


We generally avoid putting anything into a service pack that is not very specifically a bug fix. The SP1 releases are pedantic about being bug fixes, not bug creators. They do not have the same long beta period that full releases have, so they avoid any new features as those might be the source of bugs.

 

 

And let me reiterate: Getting lots of kudos here does not guarantee this will make it into 2011. This is a "necessary but not sufficient" condition. But getting the kudos at least lets Darren and I try. 🙂


Count now show 165.

 

"Tag you are it!"

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 12 of 25
(1,626 Views)

Thanks for the kudos, everyone. Darren and I will take it from here and see how far we get... keep an eye open for the beta program come spring to see if we made the case. 🙂

Message 13 of 25
(1,578 Views)

Two comments.

 

This seems like one of those things that we have "lived with" like VI documentation, Icon editor, and multiple wire distribute evenly.  As a general rule LabVIEW has a great clean feel to it but, where it does fall down, it falls hard.  A bit of attention to these problem areas is overdue (IMHO)

 

Just because its "been that way" since inception is no excuse to call it a feature and not a bug.  The behavior is not what is desired- its a bug in my book.

 

Count = 177


"Should be" isn't "Is" -Jay
Message 14 of 25
(1,563 Views)

@Jeff Bohrer wrote:

Two comments.

 

This seems like one of those things that we have "lived with" like VI documentation, Icon editor, and multiple wire distribute evenly.  As a general rule LabVIEW has a great clean feel to it but, where it does fall down, it falls hard.  A bit of attention to these problem areas is overdue (IMHO)

 

Just because its "been that way" since inception is no excuse to call it a feature and not a bug.  The behavior is not what is desired- its a bug in my book.

 

Count = 177


It does sorta feel like a bug to me as well. I look at it this way. If I have code on my digram that can be a sub-VI adn I am pressed for time and the code is subject to review by one of my competitors (you really have not lived until you had your code reviewed by THEM ) then making it a sub-VI (as it stands now) WITHOUT manually FIXING everything, THEY could very easily run the VI Analyzer against the code and use the report as evidence that I write bad code. If I did NOT make it a sub-VI, VIA can't ding it for reasons associated with the sub-VI.

 

So the current implementation of "create sub-VI" if left un-changed, will make my code worse (as judged by teh VIA).

 

So fixing the "Create sub_VI" such that the result passes the VIA, would be a wonderful improvement.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 15 of 25
(1,551 Views)

Well said Jeff,

 

I program a lot in old 7.1 where the new VI gives you a 1-ConPane. The best code I've ever written was to hook in to it vi lv_new_vi and get a proper 4x2x2x4 ConPane with a pure white icon.

This is the advanced version of it.

So even if this feature doesn't make it completly in 2011, give us at least the hook.

 

Felix

 

 

0 Kudos
Message 16 of 25
(1,550 Views)

@Darren wrote:

Whenever I select some code and choose Edit > Create SubVI, I always have to spend a few extra minutes doing the following with the new subVI that was created:

 

  • ...
  • Rearranging the front panel to look nice
  • ...

Wouldn't it be great if some (or all) of these actions could be done automatically?  I've always thought so.  And so has Aristos Queue.  In fact, he has some code ready that, whenever Edit > Create SubVI is invoked, would call a plugin VI (that I have written) that would use VI Scripting to perform those tedious cleanup operations that we must currently do manually.


I'm reading into your statements, but could this also be a solution for a Front Panel Cleanup?

Message 17 of 25
(1,538 Views)

 


JackDunaway wrote:

 

I'm reading into your statements, but could this also be a solution for a Front Panel Cleanup?


Eventually, yes, though it is not our plan to tackle that in 2011. Having said that, part of why we're doing this as a plug-in VI is so that anyone who wants to go further and/or handle various special cases better, can add their own adjustments. In fact, the plug-in hook might be all we get into 2011, though we're going to ask to get more than that. It's a constant balance of risk vs. reward vs. developer time. Darren and I tend to push the limits, always trying to squeeze one more bit into each release, and we trust our architects and managers to reign us in. They've got a good track record of making such judgements in ways that work out well.

 

Message 18 of 25
(1,518 Views)

Wah do ya think, we're MADE out of Kudos or something?

OK, OK.  One more won't kill me for such a good idea.  Now at 182 and counting...

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 19 of 25
(1,492 Views)

Kudo'd although I'd rather not see it auto clean up the diagram because if you already apply a wiring style it would just mess it up.

Message 20 of 25
(1,433 Views)