09-18-2008 03:43 PM
Hi Ritesh,
You're absolutely right, runtime is not compilation time. I'm sorry for the confusion. When you click the run button, LabVIEW compiles the code. This will take longer with the Formula Node than it will for the DLL call. I was considering "runtime" to be the time from when you click the run button to when you get a result. Thanks for keeping me honest
09-18-2008 04:06 PM
Pie56694 wrote:I was considering "runtime" to be the time from when you click the run button to when you get a result.
That exactly is the Runtime.
Runtime is nothing but the time when ur program is running, i.e when u click the run button to when the program terminates.
Pie56694 wrote:When you click the run button, LabVIEW compiles the code.
Are you Sure about it?
Because is it is, then you are contradicting your own statement which says,"LabVIEW will not generate code if the syntax is incorrect".
Thanks,
Ritesh
09-18-2008 04:20 PM - edited 09-18-2008 04:24 PM
Hi Ritesh,
Perhaps we are having a miscommunication. Please elaborate your question.
09-18-2008 04:37 PM
Ok.
Runtime = Time when u press the Run Button to the time the program terminates.
And, complete compilation of the code is done before we could execute the VI.
I feel there is no compilation done during the run time. but you said in your previous post the LabView compiles the code when you hit the Run Button.
I feel that is not True as you cant run your VI until the code is free of syntax errors.
If that is the case, then i reckon the Formula Node and DLL should take the same time as compilation of both the nodes has been done before the run time.
I hope my question is clear now.
Thanks,
Ritesh
09-18-2008 05:27 PM
Hi Ritesh,
09-19-2008 01:14 AM
09-19-2008 09:09 AM
Hi Ritesh,
You're welcome. I'm sure that our conversation will help others understand what is going on. Good luck with your application
09-22-2008 07:08 AM