|
|||||||||||||
Are there cases when you do not want to use a typedef?
For me virtually every single data type is a typedef, so it starts its life via a right click on the project virtual folder --> create control.
Hey guys,
We were brainstorming possible approaches to the feature and came up with the following ideas.
Let me know what you think of this.
Ideally, I would probably prefer if there was an option which immediately replaced the constant with a typedef, without even requiring the user to save it. This has an issue in that there's no indication that anything happened and that you will be asked to saved the typedef when it leaves memory.
In practice, the most reasonable solution is probably #3, mainly because it has identical behavior to what users are already used to.
> In practice, the most reasonable solution is probably #3, mainly because it has identical behavior to what users are already used to.
#3 feels really weird when we talked it through. The control editor that appears today starts off set to "custom control", which is not what anyone wants from the diagram. Most of the "customize" aspects aren't even reflected on the diagram, so calling it "customize" is odd, at best, or misleading, at worst.
AQ - I agree it seems out of context to use the term "Customize". It seems the root problem is that type defs are created and controls are customized using the Control Editor. If there were two clear tools - Typedef Editor and Custom Control Editor - the definition would be clear: a new menu item called "Create New Typedef" would launch the Typedef Editor, and the context of visual customization would not even present itself.
This is another topic altogether, but if the granularity of the Control Editor was redefined (the root problem resolved), there would be little question how to present the UI for this Idea. (This is probably an unlikely venture with LabVIEW as we know it, given the inertia of the Control Editor.)
> (This is probably an unlikely venture with LabVIEW as we know it, given the inertia of the Control Editor.)
More than that, if refactoring the control editor is a prereq for this idea, I guarantee it doesn't get attention in LV 2011. Focus on keeping the feature small and low risk if you want it in 2011... which brings us back to the three options laid out by Chethan, or some variant thereof.
More customer input needed here!
> ...if refactoring the control editor is a prereq for this idea...
Don't mind me, just daydreaming. #1 seems like a good step in the right direction with the new menu item "Create New Typedef".
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