BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW "myths"

I assume the sub-vi myth is "_noticably_ slower". 😉
It's the same as some people believing object oriented code to be much slower, it might be in some instances but the benefits truly outweighs the downsides.

A classic:
LabVIEW is not a true/full programming language. (which you might believe if you only wire the virtual instruments and measurements)

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 11 of 37
(7,915 Views)

smercurio_fc wrote:

PaulG. wrote:

for(imstuck) wrote:

 

... Shift registers take time to pass data from one side of the loop to the other.

 


And the wider the loop the longer the data takes to go from one side to the other! Smiley Tongue


I thought it had to do with trying to stuff a whole lot of data into an itty bitty thin wire. 


Im pretty sure thats why they stopped using the curly kind of telephone cord.

It takes FOREVER to go through all of those loops, straight wires are much faster Smiley Very Happy

Cory K
Message 12 of 37
(7,905 Views)

Here's a myth that I often hear...

 

Execution goes from the leftmost objects (controls / indicators) to objects on the right within the block diagram.

Or to word it differently:

Placing objects to the left will execute before objects to the right.

 

FALSE: 

 

Any object on the Block Diagram can execute as soon as data is available.

 

 

Message Edited by Ray.R on 02-27-2010 04:28 PM
Message 13 of 37
(7,896 Views)

 


Ray.R wrote:

Here's a myth that I often hear...

 

Execution goes from the leftmost objects (controls / indicators) to objects on the right within the block diagram.

Or to word it differently:

Placing objects to the left will execute before objects to the right.

 

FALSE: 

 

Any object on the Block Diagram can execute as soon as data is available.

 

 

Message Edited by Ray.R on 02-27-2010 04:28 PM

 

 

Unless, of course, you use a dreaded flat sequence structure Smiley Surprised

0 Kudos
Message 14 of 37
(7,868 Views)
that's cheating 😉
0 Kudos
Message 15 of 37
(7,861 Views)

1. C is faster than G (is a myth?)

 

2. Execution speed is alphabetical:

 Assembler

 Basic 

 C

 Delphi

 Elan

 Fortran

 G 

 HPVee

 ...

 ...

 

Sidenote: I looked up E in wiki and didn't found G (nor Brainfuck) in the list

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 16 of 37
(7,838 Views)
But since HP Vee is now Agilent VEE, does that mean it's faster than assembler?  (ducking)
-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 17 of 37
(7,800 Views)

Here is a myth that nobody cares about is is wiling to verify.

 

"Adding extra connection to your icon connector does not affect its speed."

 

FALSE (sorta)

 

I measured that using a pair of PXI controllers andalong with high speed counters and one of those fancy oven-controlled oscillators and syncing the two chassis together. We were not able to measure the over-head of a single call but we did manage to measure a time difference when doing multiple calls and if my memory serves me it was something along the lines of 8 picoseconds per un-wired input. So if you are try to close a fast RT loop, don't use extra terminals.

 

So the correct answer yes they take time, the practical answer is "it takes so little time it is hardly worth worrying about".

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 18 of 37
(7,798 Views)

So that's not a myth, Ben 😉

 

Same as having wires with many bends add to the VI size.  It does.. I posted something on this many years ago.  I don't think it slows down performance.  At least I never measured it.  I might say (unconfirmed) that wire bends slow down a VI is a myth.  😉

 

Are we going to have LabVIEW MythBusters?

0 Kudos
Message 19 of 37
(7,782 Views)

Ray.R wrote:

So that's not a myth, Ben 😉

 

Same as having wires with many bends add to the VI size.  It does.. I posted something on this many years ago.  I don't think it slows down performance.  At least I never measured it.  I might say (unconfirmed) that wire bends slow down a VI is a myth.  😉

 

Are we going to have LabVIEW MythBusters?


Someone should make a VI that outputs the monalisa in a picture control, powered by a DB that itself looks like the monalisa (using different types of wires to get different colours etc)

0 Kudos
Message 20 of 37
(7,771 Views)