LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI profiler

Hi!,
I am using Vi profiler to check the timings but everytime I run the profiler, I get a different results for the same application without doing any changes? Any idea why it does this?
Thanks,
Rachana
0 Kudos
Message 1 of 6
(3,239 Views)
What kind of differences are you seeing? Is it milliseconds, seconds, minutes? some variation is to be expected as your OS (assuming you're not running LabVIEW RT) is always doing thinks in the background and your LabVIEW functions will have to wait their turn. You also don't provide any details on your application itself.
0 Kudos
Message 2 of 6
(3,209 Views)

Hi! Dennis,

There is approximately 30millisecs difference. I have attached snap shots of 2 profile windows. If you look at the "OpenTest" under each snapshot, there is a difference in the timings shown. Also the other behavior is that the subVI timings are not displayed, but it could be displayed in the previous run of the tool. To make my point clear, you can have a look at the subVI "Create_CN_for_SelfTest_1Pin.vi" under "OpenTest".

 

Also my application does the following:

1. Connect one relay,

2. Reads the values (using USB- serial communication)

3. Disconnects the connected relay

It then repeats the above steps till X times (number of relays specified in the file)

 

The issue I am facing is that the similar application written in C runs much faster than this application written using Lab VIEW so I was looking to optimize it.

TIA

Rachana

 

PS: I'll send the attachment(snapshots of profiler) in my next post.

0 Kudos
Message 3 of 6
(3,177 Views)
here is the snapshots....
0 Kudos
Message 4 of 6
(3,177 Views)
Why don't you turn on time in Microseconds?
0 Kudos
Message 5 of 6
(3,175 Views)
yes I can do that. Any idea why dosen't it display the timing detail for subVIs? All it shows is the number of runs?
 
-Rachana
0 Kudos
Message 6 of 6
(3,166 Views)