07-30-2013 01:20 PM - edited 07-30-2013 01:20 PM
Hi guys,
I am trying to add pulse module to my VI. In order to do so, I guess I need to measure the Max delay.
In my current VI, I have a few instruments which are current driver, LED, spectrometer, camera and temperature controller. Moreover, current is the variable I can modify all the time when the VI is running.
I was wondering how can I measure the delay between each others, and when I change the value of current, how long it take to capture the right data
I knew the Tick count can measure the whole VI time but how can I do it for several parts
Thanks
Solved! Go to Solution.
07-30-2013 01:23 PM - edited 07-30-2013 01:29 PM
Time taken in executing certain code can be done using 'Tick Counts' now if you don't want it for complete code but want for specific pieces of code, then you need to use same function (that is 'Tick Counts' separately for each section of code.
07-30-2013 01:28 PM
Thank you for the quick response.
But I am still not sure since I have a current as my variable, how can I actually measure the time
07-30-2013 01:33 PM
I edited my previous reply and added VI snippet, now let me know, what specifically you dint get about measuring the time?
07-30-2013 02:45 PM
Just wonder since some of part are in a while loop, some of them are not. My I able to ignore the while loop
07-31-2013 05:20 AM
Is it possible to select the code inside while loop and convert it to a subVI and then you can use 'Profile Performance and Memory' tool.