06-14-2021 07:04 AM
Hi GerdW,
The two case structures have similair goals however they do things slightly different. I am creating a VI for the chemists at a company i am interning at. This VI will be run on a spectroscopy setup. The two case structures are made to activate according to which tab is being used in the VI.
I did not know i could hide labels in the front panel. However could you elaborate why removing the labels is a problem?
Which parts of the VI are you referring to with the Rube-Goldberg constructs. I cant see which parts of the VI are redundant.
Best regards,
Ulas
06-14-2021 08:31 AM
Hi ulas,
@Ulas wrote:I did not know i could hide labels in the front panel. However could you elaborate why removing the labels is a problem?
Would you write in text-based programming language a:=b+c or would you write "":=""+""?
How do you want to differ two string indicators when both have no label?
06-14-2021 11:29 AM
This is no immediate help for your problem at hand, but is meant to be helpful for the longer term.
I opened your vi, and my 10-second assessment was, "don't get involved." Way too much mess and clutter and too many express vi's for me to spend the needed time trying to figure out what the heck I was looking at. So I closed the vi and moved on.
My feeling is that I don't want to spend more time understanding someone else's code than they're willing to spend making it more neat and understandable.
I would recommend you go into Tools->Options->Block Diagram and turn off "automatic wire routing". It tends to turn connections into a cluttery mess.
-Kevin P
06-14-2021 12:54 PM - edited 06-14-2021 12:59 PM
Hi Ulas,
@Ulas wrote:
The two case structures have similair goals however they do things slightly different. I am creating a VI for the chemists at a company i am interning at. This VI will be run on a spectroscopy setup. The two case structures are made to activate according to which tab is being used in the VI.
The two case structures are both connected to the very same tab container.
The two case structures both have the very same two cases each.
Both case structures only have code in one of those case, and it is not the same case.
Conclusion:
Use just one case structure and place the code in each of the two cases…
@Ulas wrote:
Which parts of the VI are you referring to with the Rube-Goldberg constructs. I cant see which parts of the VI are redundant.
Just to name a few, some of them shown in this image: