LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to know the time elapsed

hello all,
iam new to using labview and would like to have some tips on how to know time taken by my program or design to complete execution
0 Kudos
Message 1 of 11
(5,163 Views)
A simple approach would be to do as shown in the pic attached
Hope this helps
 
regards,
 
Dev
0 Kudos
Message 2 of 11
(5,156 Views)
 
 
thank you dev,
but do you think using sequencing is a good approach when designing large applications
 
 
with regards
vijay
0 Kudos
Message 3 of 11
(5,151 Views)
Hi Chander,

good question, but you state in your first post that you don't know much about LV (we all did once, truly) and then in the second post you mention large application. I need to warn you if you want to make a large applicatoin don't RELY on these forums. They are very usefull, but we can't do your work. If you want to do a large application AND you are a fresh labviewer attend some courses (basic I&II to learn LV and intermediate I to write large applications). And off course experience, experience experience.
Good luck,

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 11
(5,150 Views)

thanks dev,

its true that im new to labview,

im not doing any large appications as of now.

the reason y i asked about large applications is that while reading through the discussion forums  i learned that sequences are not a good style of coding thaty i asked it.

presently iam doing only basic designs and have no plans for large applications in this early stage

with regards

vijay

0 Kudos
Message 5 of 11
(5,146 Views)

thanks ton,

its true that im new to labview,

im not doing any large appications as of now.

the reason y i asked about large applications is that while reading through the discussion forums  i learned that sequences are not a good style of coding thaty i asked it.

presently iam doing only basic designs and have no plans for large applications in this early stage

with regards

vijay

0 Kudos
Message 6 of 11
(5,143 Views)

Well Vijay,

Sequence or no sequence, the funda of getting the time elapsed in execution of program would be to query and note 'tick count' at the beginning , query tick count at the end and subtract tick count at end from tick count at beginning

0 Kudos
Message 7 of 11
(5,136 Views)

Hi Vijay,

Just as devchander pointed out, the idea is to take a timestamp at beginning and and the end of the running program and calculate the time difference. I have attached a sample code [Timing Template (data dep).vi ] that serves as a template for calculating LabVIEW execution time. This example can also be found in c:\program files\National Instruments\ LabVIEW X.Y \ Examples\ General \ structs.llb

Tunde.

Message 8 of 11
(5,108 Views)

Off Topic,

but I knew it was just a matter of time until devchander would respond to one of chander's posts!happy smiley

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 9 of 11
(5,102 Views)

thanks for the reply

i couldnt reply soon because of weekend

with regards

vijay

0 Kudos
Message 10 of 11
(5,069 Views)