Suggestion for Fit VI window to Largest Decoration.vi ignore error in
#1
Posted 12 January 2012 - 08:28 AM
I would like to suggest that this VI is a good case of a VI which should just ignore the Error in state and still do its job in this case just passing any error out obviously merged with its own error line.
Anybody else like to comment on this ?
Danny
#2
Posted 12 January 2012 - 12:23 PM
____________________________
most boring end of the world ever!
#3
Posted 12 January 2012 - 01:07 PM
I would like to suggest that this VI is a good case of a VI which should just ignore the Error in state and still do its job in this case just passing any error out obviously merged with its own error line.
This is just my opinion...
Although I really like the VI, I don't use it as I have my own API for setting up a UI which is my part of my UI templates.
But my initial response to this suggestion is why would you want that behavior?
If there is a downstream error then possibly something that feeds inputs in this VI may be wrong - and if an error did occur in just setting up the UI for display - then I probably would opt out on showing the UI to the user and report and error because other weird stuff may have happened to the UI setup.
I see that the change could be handy if you are not worried about the above and are linking errors to specify dataflow.
Of course one could get the effect of both of the above use cases by overriding the behavior e.g. like this:
...Having said all that, from an OpenG perspective things can always be changed.
As this is a change in behavior, this VI would have to be deprecated, and a new VI created to do what you are proposing.
What do others think that use this VI?
#4
Posted 12 January 2012 - 03:58 PM

#5
Posted 12 January 2012 - 04:24 PM
And then now I don't think the original idea is that good.
____________________________
most boring end of the world ever!
#6
Posted 12 January 2012 - 06:22 PM
The backwards compatbility aspect is a good comment, I had missed.
So I will keep quite now
#7
Posted 12 January 2012 - 08:15 PM
I think the idea still has merit, and adding the Boolean suggested would keep everyone happy - I think you should still push for this if you think it's valuable.Jgcode, your suggestion is what I currently do, in a few places. So I am quite happy to carry on doing that.
The backwards compatbility aspect is a good comment, I had missed.
So I will keep quite now

#8
Posted 12 January 2012 - 09:48 PM
Now anyone feel free to comment on the below:
So...
Functionally: this would occur inside the VI if the boolean was set to TRUE:

Name: Ignore Incoming Errors (F) - with a default of false
Input Type: Optional
CP: Add input here












