LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I know the latency in a sub VI or routine (inline c node) in blackfin module?

Hi, I want to control a transceiver using a BF-537. The two principal taks are programming the transceiver and send/receive data from transceiver. These operation are development with sub-VIs, little routine in C using inline c node, etc. However, I need to know the lantency of each sub-VI or code writing in C; I need to know how much time use these elemnt to finished your function.
 
If anybody know How Can I to measure the lantecy, I will be grateful...!
 
regards
 
The Caribbean
 
0 Kudos
Message 1 of 2
(6,439 Views)
Hello,

The easiest way to benchmark how long operations take on the Blackfin is to insert timing code in a sequence structure to directly measure the timing with the Tick Count function.  Bear in mind, of course, that adding this code will itself affect your timing somewhat.  Take a look at the example below to see what I mean - you could just repeat this for each operation you wanted to measure.


Message Edited by MattP on 07-31-2007 10:50 AM

Message Edited by MattP on 07-31-2007 10:50 AM

Cheers,

Matt Pollock
National Instruments
0 Kudos
Message 2 of 2
(6,435 Views)