Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

NEW! Timer Session

 

WARNING! Before installing the newest version please remove the old version. Otherwise two versions might install side-by-side.

 

Overview

This tool allows users to easily create multiple timers for controlling the timing of their code, measuring or benchmarking.


By Reference ExampleBy Reference Example

 

Timer APITimer API

 

Calculator HelpersCalculator Helpers

 

 

Requirements

 

Created by Piotr Kruczkowski

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
Comments
WG-
Member
Member
on

And does it support overflow?

PrimaryKey
NI Employee (retired)
on

What do you mean by that? It does not handle overflow in any special way. The VIs are open so you can look inside how tey work.

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
NJKirchner
Active Participant
Active Participant
on

I think he's talking about the overflow that can happen on the ms counter VI, so that if you are subtracting a rolled over value from a non rolled over value, you'll end up w/ some huge delta between times.

However for @WG- I think he's thinking more typically about counters rather than timers that suffer primarily from this issue; timers are not free from this potential error however.

~N

Mohamedbakr80
Member
Member
on

Hi, I need to make a timer similar to elapsed time Express VI in my FPGA target.

RuudWessels
Member
Member
on

Very nice work!

Very elegant and simple, one request (i did modify mine but it would be nice to modify yours so i can use your package.

I have added the possibility to change the goal time upon reset.
very usefull for things that have incremental timing.

Timer mod.png

Ruud R&D
Creative Engineering
PrimaryKey
NI Employee (retired)
on

In this case you might just stop the old timer and create a new one. Would that be a solution? I understand that in some cases restart with new target would be good but it could be confusing.

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
RuudWessels
Member
Member
on

Well it would be a solution, but personally i would not find it the most elegant one,

Codewise it's calling more VI's, the above just gives it a bit more flexibility.

Ruud R&D
Creative Engineering
PrimaryKey
NI Employee (retired)
on

RuudWessels, i added the function you requested 🙂

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
RuudWessels
Member
Member
on

Thanks PrimaryKey, it's become a very usefull tool indeed!

Ruud R&D
Creative Engineering
Blokk
Trusted Enthusiast
Trusted Enthusiast
on

Nice! Question: why in the VIPM (2018 with LV2018) we only get the version 1.1.0.8? At this community doc, your latest version is 2.0.0.8...

Just this can cause confusions to people...

PrimaryKey
NI Employee (retired)
on

Thanks for letting me know. I will try to fix that as soon as possible.

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
abvenk
Member
Member
on

Hi Piotr,

 

Seems like there is something wrong with the package on VIPM. The version says it's compatible for LV>=2016, but the install aborts saying it is in 2017 and higher. Could you please fix that?

 

Timer.PNG

 

Timer1.png

 

Thanks!

leon1129
Member
Member
on

what a good tools,THS!!1

PrimaryKey
NI Employee (retired)
on

Abvenk, you need to update your package manager 🙂 Thats it.

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect