LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing in Labview

Solved!
Go to solution

Hello

 

I am creating an application where I use a 72- hour data set, in order to find the best timeintervall to do a certain operation. However, as people tend to sleep at night, it is not very realistic to just place the operation at the time when it ideally should have been done. Therefore, I want to define a timeintervall when the operation can not be (i.e from 23.00 - 06.00). 

 

The problem is that when I try to do this (by using timestamp controls from the numeric palett), I also need to specify a date. I don't wont it to only be valid only for a specific day, but for the whole dataset. Is there any workaround/solution to avoid this problem?

 

Greetings

Kristoffer

0 Kudos
Message 1 of 4
(2,858 Views)
Solution
Accepted by topic author Sjefsgjogleren

This is quick example. So you don't want to perform the operation between 23 hours to 6 hours (I believe). The attached example will give boolean high/true when the time is between 23 and 6 and false rest of the time. If this is not the thing you wanted then explain a bit more so that it would be easy to understand the exact scenario.

 

Time between 23 and 6.png

 

Good luck.

-----

The best solution is the one you find it by yourself
Message 2 of 4
(2,849 Views)

Yes, I don't want to perform the operation between 23 hours and 6 hours. I will try your example right now, looks promising!

 

Greetings

Kristoffer

0 Kudos
Message 3 of 4
(2,844 Views)

i think this will be better coding....imhoSmiley Wink

0 Kudos
Message 4 of 4
(2,801 Views)