LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Replace cluster bug


@bienieck wrote:

Here is my quick and dirty fix.


Awesome job.  I haven't tired it yet but yeah this code hasn't been touched since posting it here.  Sometimes I would download some API from a hardware manufacturer, and often times I'd need to perform my own code review and clean up of it, then package it up into our internal reuse library.  Part of the process was running a thing like the NatifyVI (remove front panel and block diagram colors, set to standard fonts on terminals and controls, with normal font colors, remove VI history, fix capitalization in controls, align front panel controls, left justify string constants, separate compiled code, etc).  That is a weird bug that the controls got renamed, I don't remember seeing that before.

0 Kudos
Message 21 of 22
(382 Views)

What you wrote is exactly what I need 😄

 

Controls were renamed because if you let's say have "Boolean 1" control on your main pane and also "Boolean 1" in your cluster and you temporally remove this boolean from the cluster to change cluster style, LabVIEW changes the name to "Boolean 2" to make it unique. So when you put it back to the cluster it has changed name. I think that is more or less what was happening. I fixed it with a temporary cluster which serves as a temporary pane where you will not see duplicated control labels.

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
Message 22 of 22
(359 Views)