LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i want ti have multiple of 5 in minutes of the timestamp

how can i get a timestamp with a multiple of 5 in minutes 

i want to have in beginning --:00 then --:05 then --:10 then --:15 ...

0 Kudos
Message 1 of 5
(3,597 Views)

1 minute is 60 seconds.  So 5 minutes is 300 seconds.  The timestamp is based on the seconds.

 

Can you give more details of what you are trying to do?  Without some good context, it is hard to give any more advice.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(3,559 Views)

Hi there

 

Here is a code that get the time in multiple of 5 minutes (only the minutes), you can use this as a guide to reach your goal

 

multiple of 5 minutes.png

 

I hope this works for you as a start of your application, 

 

Regards

0 Kudos
Message 3 of 5
(3,509 Views)

http://screencast.com/t/ETdw5pWgdKiZ

Increment property of a timestamp


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 5
(3,488 Views)

time_VI.png

reformat your dbl indicator to "relative time", and please don't connect "10000" to the wait ms. loop will not respond until then....  Smiley Wink 

 

also Keroba, if you want to pull minutes out of your time stamp....use unbundle by name, slight RG at hand?

minute_VI.png

0 Kudos
Message 5 of 5
(3,446 Views)