|
|||||||||||||
I like the native wait idea, but I would prefer it be non-default, and have it be shown via a right-click option (like the conditional terminal on For Loops). I think that 8 times out of 10, my While Loops run as fast as possible because I want them to.
-D
P.S. - Another option would be to write a plug-in for the JKI Right-Click Framework. Right-click on While Loop > Add Wait would drop a normal Wait primitive in the lower corner near the stop conditional, with a constant already wired with a user-specified default value.
[Darren] I disagree about the deafult/non-default. I think that most programmers don't understand the difference between no wait and a 0ms wait - they think they're the same thing, so they don't see the point of a 0ms wait. I'd prefer it to be ther by default, and then people who know what they're doing can remove it if they so choose (through the right-click mechanism you mentioned).
Sure, there are a lot of ways this can be acheived right now: JKI right-click framework, a merge VI in our reuse library, etc, but I want something that's automatically inutative - I don't want to have to think about it. If I could distribute a reuse package that replaced the loops in the palette with my own merge VIs with loops and the wait already in there, then I totally would, but that functionality doesn't exist in VIPM... yet ![]()
>> ...most programmers don't understand the difference between no wait and a 0ms
>> wait...
Well, that includes me. I had no idea. Even though I went through the LabVIEW Basics CDs, I don't remember that ever being mentioned. Add this as a suggestion for being added to the training CDs (if they are still sold and if it isn't already in there). I learned something new today.
I vote for it being default. I don't think I have ever had a loop without a time delay, and it does get old having to manually find and place it every time (in LV versions without Quickdrop), and finally create a constant. Maybe that could be another related idea: When you manually place a time delay icon, automatically place a wired constant ready for typing a value.
- Brad
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page