LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can anyone help with a timestamp filter problem

Hello
 
I need to filter all times before 09:30 and all times after 15:30.  The filtering that takes place in the attached VI filters the dates properly up to 46 days but then 4:30 becomes 09:30 and 09:30 no longer appears  approx element 327 in the right array set.
 
Any suggestions would be appreciated.  I have expirimented with the local vs standard time settings but things never get filtered properly.
 
Thanks
Tim C.
 
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 1 of 5
(3,209 Views)
I used the attached conversion VI (found on NIs website and modified slightly) and replaced all the code in your FOR LOOP. I ran this and the final time stamps look good. Your original VI modified is attached.

By the way, your code is strewn all over the place, I would suggest modularizing with sub-VIs...you could shrink your block diagram WAY down (to something that would fit on my 1680x1050 screen).

The attachments are for LabVIEW 8.5. What version are you using?

Message Edited by Bill@NGC on 09-24-2007 10:34 PM

0 Kudos
Message 2 of 5
(3,198 Views)
In case you're not using LabVIEW 8.5, here is the link to the conversion VI I used. I modified it so:




and then changed your FOR LOOP as so:



Note I flipped your input date and time strings around.

Message Edited by Bill@NGC on 09-24-2007 10:58 PM

Download All
Message 3 of 5
(3,190 Views)
Thanks
 
I am using 8.2.1 any chance you could back save and upload in that version?
 
Thanks
Again Tim C.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 4 of 5
(3,174 Views)
Here it is in version 8.2
0 Kudos
Message 5 of 5
(3,153 Views)