04-29-2020 02:54 PM
If you're like me, you hate the "(no error)" that is present within error control labels by default:
Despite being hugely popular, the proposal on the Idea Exchange to remove this worthless text from the default control label was rejected for LabVIEW 20xx (although it is present in LabVIEW NXG).
Nevertheless, there are two steps you can take to remove the "(no error)" from error controls in your installation of LabVIEW.
Step 1: Edit the labels of the controls in the following .ctl files (and make all of them lowercase, while you're at it):
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
Step 2: Upgrade to LabVIEW 2020 and add the following to your LabVIEW INI file:
NI.LV.RemoveNoError=True
Once you do this, the following operations will always create error controls with the label "error in":
Now you never have to worry about creating an error control with "(no error)" again. Oh, and if you already have a bunch of existing VIs with undesirable error control labels, you could always Nattify them. 🙂
05-01-2020 01:31 PM
Silver doesn't need to be updated. It's never had it.
05-01-2020 01:35 PM
@al_g wrote:
Silver doesn't need to be updated. It's never had it.
It is upper-case by default, though. I always thought it made more sense to be lower case for consistency. And I think it makes even more sense to never use a silver error cluster, as silver controls are for UIs, and you should never have an error cluster on a UI. But I know not everybody agrees with me on that.
05-01-2020 05:11 PM
Well, that's nice. But I don't want to keep doing it over and over. I'm way too lazy for that!. I want something to do it for me. Like that attached thingy. Also, I hate that some of them have autosizing set to "None" (the thingy fixes that too).