LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I measure the Max delay

Solved!
Go to solution

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

0 Kudos
Message 1 of 6
(2,554 Views)
Solution
Accepted by topic author huskerli

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.

 

Benchmarking piecewise


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 2 of 6
(2,548 Views)

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

0 Kudos
Message 3 of 6
(2,542 Views)

I edited my previous reply and added VI snippet, now let me know, what specifically you dint get about measuring the time?


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 4 of 6
(2,539 Views)

Just wonder since some of part are in a while loop, some of them are not. My I able to ignore the while loop

 

 

0 Kudos
Message 5 of 6
(2,526 Views)

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.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 6 of 6
(2,495 Views)