LabVIEW Shortcut Menu Plug-Ins

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove (no error).llb

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).

1.png

 

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".

Download All
Comments
croohcifer
Member
Member
on

Love this!  Is there any to make "(no error)" disappear when quick-dropping an error in Control?

crossrulz
Knight of NI Knight of NI
Knight of NI
on

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).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Darren
Proven Zealot
Proven Zealot
on
@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

 

code-lux
Member
Member
on

How can the (no error) be removed in the VIs you get when you right-click "New" > "VI from ... dispatch template" in lvclasses?

DerrickB
NI Employee (retired)
on

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.

Contributors