LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Execution speed for 15000 lines of c code

In addition to the question Christian posted about the size of the dat structures involved, the nauter of teh dll and how it is called can play a factor.

 

1) The data size, if large can slow things down becasue there are some circumstances where LV will copy the data to be used by the dll.

 

2) The nature of the dll I mentioned has to do with "is it thread-safe" and is the call node configured to run in a thread other than the UI thread.

 

Note:

 

Techincally speaking neither of those really affect the time required for the dll to execute but do influence how quickly we can invoke the dll.

 

Done splitting hairs,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 11 of 14
(553 Views)

Bladhart,

 

Ignore all these guys, they dont know what they are talking about. It will take exactly 7.9882391 seconds everytime Smiley Happy

 

Rgs,

 

Lucither.

------------------------------------------------------------------------------------------------------
"Everything should be made as simple as possible but no simpler"
Message 12 of 14
(529 Views)

 


Lucither wrote:

Ignore all these guys, they dont know what they are talking about. It will take exactly 7.9882391 seconds 


 

You got your units totally wrong. He's asking for a "speed", which contains inverse seconds as part of the unit. You are giving an answer in units of seconds which is thus completely and fundamentally incorrect, irrespective of the value. 😄

 

So, what kind of "speed" are we looking for? Lines/second? operations/second? crashes/hour? steps/minute? CPU ticks/second? (that last one we can answer from the 2GHz, unless you are on battery :o). 🙂

0 Kudos
Message 13 of 14
(515 Views)

Assuming not overly advanced lines we can assume something like 1 line/clock cycle under optimal circumstances.

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 14 of 14
(510 Views)