LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

W.O.E?

I ran across this VI today:

paul_a_cardinale_0-1760385874876.png

What on Earth is going on in the head of someone who does that?

Message 1 of 6
(216 Views)

My guess, anxiety. 

0 Kudos
Message 2 of 6
(213 Views)

Probably someone who doesn't know LabVIEW very well trying to "replicate" their text code.

 

SomeFunction (U16 in) {

TypeOut = U16 in;

return TypeOut;

}

Message 3 of 6
(209 Views)

Maybe someone who has some background in textual languages and thought of that indicator more as a "GUI" object rather than the output of a function... So maybe he/she thought he had to "decouple" that from the code for some reason.

 

Or maybe someone who just don't know that an indicator terminal can be wired directly.

 

Or maybe he/she thought it would help for debugging?

0 Kudos
Message 4 of 6
(184 Views)

If it is an ancient VI, it may have had some merit in a far far ago past in a far away galaxy. There were some glitches in control updates when opening popups long ago and using a local could delay the actual front panel update enough that the control was only redrawn after its panel was properly on screen.

 

Other than that it’s simply traditional programmer anxiety.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 6
(142 Views)

@paul_a_cardinale wrote:

I ran across this VI today:

paul_a_cardinale_0-1760385874876.png

What on Earth is going on in the head of someone who does that?


"Lokal variabel gud!" 🤢

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 6
(119 Views)