Author: Darren (NI)
This plugin replaces the built-in 'Create Control' right-click menu entry to create a control with a label of 'error in' whenever right-clicking an error terminal. It omits the '(no error)' suffix that is commonly added to error control labels. You must add the INI token "NI.LV.RemoveNoError=True" in order for the plugin to work (LabVIEW restart not required).
Attachment is saved in LabVIEW 2015. For install instructions, go here.
Note: The Remove (no error).llb is the right-click plugin. There is also another file attached below called CreateSubVI_AdditionalActions.vi. If you place this VI (saved in LabVIEW 2015) in [LabVIEW 20xx]\resource\plugins\CreateSubVI, then any subVIs you create with Create > SubVI will also have the '(no error)' removed from error controls, assuming you have the INI token "NI.LV.RemoveNoError=True".
Love this! Is there any to make "(no error)" disappear when quick-dropping an error in Control?
I have a VI that just has an error control and indicator on it already configured the way I want, saved in user.lib, and I have it in the palettes to "Drop VI Contents". The shortcut I put into QuickDrop is "ec" (for Error Clusters).
@croohcifer wrote:
Love this! Is there any to make "(no error)" disappear when quick-dropping an error in Control?
You can edit the Control VIs in vi.lib to remove the '(no error)' from their labels, or make them lowercase (in the case of Silver e.g.). Here are the paths to the Error controls and indicators:
Classic
[LabVIEW 20xx]\vi.lib\errclust.llb\Error In.ctl
[LabVIEW 20xx]\vi.lib\errclust.llb\Error Out.ctl
Modern
[LabVIEW 20xx]\vi.lib\errclust.llb\Error In 3D.ctl
[LabVIEW 20xx]\vi.lib\errclust.llb\Error Out 3D.ctl
Silver
[LabVIEW 20xx]\vi.lib\silver_ctls\ArrayMatrixCluster\Error In NI_Silver.ctl
[LabVIEW 20xx]\vi.lib\silver_ctls\ArrayMatrixCluster\Error Out NI_Silver.ctl
NXG
[LabVIEW 20xx]\vi.lib\NXG_controls\ArrayMatrixCluster\Error In NI_NXG.ctl
[LabVIEW 20xx]\vi.lib\NXG_controls\ArrayMatrixCluster\Error Out NI_NXG.ctl
You can edit the member template at <LabVIEW>\resource\Framework\Providers\LVClassLibrary\CLSUIP_MemberTemplate.vit and rename the control.
If you haven't worked with VI Template files before, you'll need to open it from the File->Open... menu entry instead of just double clicking in file explorer which will open a new clone of it.