11-24-2005 05:59 AM
Hi Larson,
I'm not an expert on the use of "formula node code" - but I'd be very surprised if it were significantly faster.
I'd like to think that LabVIEW was producing fairly well optimised compiled code - and since the formula node code is only a "psuedo C code" subset then there may well be some LabVIEW compiling loss/overhead even then.
I can confirm that LabVIEW 7.1 and 8.0 are dramatically faster than version 7.0 when running your example code - on my 1.8GHz machine, LV version 7.0 took 42 seconds, but version 7.1 and 8.0 did it in 0.45 seconds (version 8.0 took 0.34 secs on repeated calls).
Mark.
11-24-2005 10:32 AM - edited 11-24-2005 10:32 AM

Message Edited by altenbach on 11-24-2005 08:40 AM
11-24-2005 11:30 AM
11-24-2005 11:42 AM - edited 11-24-2005 11:42 AM

Message Edited by Ed Dickens on 11-24-2005 11:42 AM

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.11-24-2005 01:09 PM - edited 11-24-2005 01:09 PM
@Ed Dickens wrote:
Just for fun, I pulled it into LabVIEW 8 to see if the new Matrix data type would make a difference.

Message Edited by altenbach on 11-24-2005 11:11 AM
11-24-2005 01:31 PM - edited 11-24-2005 01:31 PM

Message Edited by altenbach on 11-24-2005 11:34 AM
11-25-2005 02:45 AM
11-25-2005 04:14 AM
altenbach,
My CPU is a P4 1.8GHz with 256MB RAM.
I ran your code and these are the rough timings...
LV 7.0
MAT = 41 seconds
Loops = 43 seconds
LV 7.1
MAT = 0.5 and/or 0.75 seconds
Loops = 41 seconds
11-25-2005 10:42 AM
Yes, it seems to take fore ever to start. 60 seconds on average for me.
P.S. Is it just me or does LV 8 take an annoyingly long time to start up - anything between 20~40 seconds, compared to the 7 versions which only take 5~10 seconds - it's really is a bit irritating.

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.11-26-2005 06:52 PM