LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I get a 'timetable' of what labview does when it runs the program?

Solved!
Go to solution

Can I get a 'timetable' of what labview does when it runs the program? i.e. how long it spends doing each sub vi, and what order it does them in.

 

Cheers 

0 Kudos
Message 1 of 13
(3,618 Views)

Yes you can Smiley Happy

 

Use Tools\Profile\Performance and Memory from the front panel menu.

 

Message 2 of 13
(3,613 Views)
Im trying to use it, but it says everything takes 0 microseconds, what am I doing wrong?
0 Kudos
Message 3 of 13
(3,605 Views)

Here it an article about how to use it:

http://zone.ni.com/reference/en-XX/help/371361E-01/lvhowto/profiling_vis/

Regards
MY
Message 4 of 13
(3,602 Views)

Is there a way to find out what order the program performs sub functions?

 

Cheers 

0 Kudos
Message 5 of 13
(3,576 Views)
Im trying to find out if the time at which data is read from hardware, is the same as the time given by the get date time vi, when it is written to a file, the data and times are matched up. 
0 Kudos
Message 6 of 13
(3,574 Views)

The Trace Execution Toolkit will do that.

 

You could also use NI Spy to log the serial traffic.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 13
(3,565 Views)
where can I find those tools?
0 Kudos
Message 8 of 13
(3,554 Views)
Solution
Accepted by topic author ssteel

Execution Trace Tool kit is an add-on. If you don't have it your pack of disks, ... maybe try a demo version?

 

NI Spy get loaded with LV (or one of those things).

 

Start >>> Programs >>> National intruments >>> NI Spy ?

 

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 9 of 13
(3,551 Views)

How do I use NI Spy to get the time taken for each sub vi and the order it does them in?Iv tried running the program whilst the ni spy is open, but i dont under stand the results?

 

Cheers 

0 Kudos
Message 10 of 13
(3,525 Views)