From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Additional terminals were added to Clear Errors.vi in LabVIEW 2014. It will remain 32x32 in size to accommodate these new terminals, and potentially more terminals in the future.
I would be nice if the Clear Error primative was modified so that it's icon was not the full subVI size, but rather smaller which would help to keep the block diagram neat and clean.
Mark Yedinak Certified LabVIEW Architect LabVIEW Champion
"Does anyone know where the love of God goes when the waves turn the minutes to hours?" Wreck of the Edmund Fitzgerald - Gordon Lightfoot
I would suggest adding another input on the bottom to specify the error to clear. If unwired it will clear all errors. It should be polymorphic and accept either an integer or an array of integers for the error code(s) to clear.
That's a great addition Steve. I should also note that the suggested icon I used above should probably be replaced by an icon that looks more like an NI primative. I just happened to have the generic one above in my bag of tricks.
Mark Yedinak Certified LabVIEW Architect LabVIEW Champion
"Does anyone know where the love of God goes when the waves turn the minutes to hours?" Wreck of the Edmund Fitzgerald - Gordon Lightfoot
I like Steve's suggestion though of adding that to this idea. The "Clear Specific Error" doesn't resolve the issue of taking up way to much space on the block diagram to do something as simple as clearing an error.
Mark Yedinak Certified LabVIEW Architect LabVIEW Champion
"Does anyone know where the love of God goes when the waves turn the minutes to hours?" Wreck of the Edmund Fitzgerald - Gordon Lightfoot
The icon was made that big because there were all these good intentions of adding additional terminals for clearing specific errors that just never materialized. At this point, I think I would favor reducing the size of Clear Error and adding a different icon for filtering errors.
It would need to be longer if you included a polymorphic input for which error(s) were to be cleared. I do believe this could be done within a sinlgle polymorphic VI rather than one which clears all errors and another that clears specific errors.
Mark Yedinak Certified LabVIEW Architect LabVIEW Champion
"Does anyone know where the love of God goes when the waves turn the minutes to hours?" Wreck of the Edmund Fitzgerald - Gordon Lightfoot
"Clear Errors" is a VI with an Error Cluster control and an Error Cluster indicator, and nothing else. (The simplest VI ever made by NI?) You can make your own "Clear Errors" VI in any size you want.
peos, I understand this and clearly I did create my own. However I think it is good for NI to make the IDE, language and programming efforts for developers as nice as possible. Since this will only operate on the Error wire why should the native VI have a full sized icon. NI has already created smaller icons for single wire VIs (number conversions is one that comes to mind) so why not be consistent and extend that behavior throughout the language.
Mark Yedinak Certified LabVIEW Architect LabVIEW Champion
"Does anyone know where the love of God goes when the waves turn the minutes to hours?" Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Additional terminals were added to Clear Errors.vi in LabVIEW 2014. It will remain 32x32 in size to accommodate these new terminals, and potentially more terminals in the future.