LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time conversion issue

Solved!
Go to solution

Kindly see my VI as i am having issue in time conversion.....my desired 

To is
00:00:00.0000
12/29/2019

but obtaining
1:00:00.0000
12/29/2019

0 Kudos
Message 1 of 5
(3,238 Views)
Solution
Accepted by topic author sets

Your VI is a bit of a mess (e.g. why is the diagram and front panel maximized to the screen? Why is there a greedy while loop without wait burning all CPU doing nothing useful? The result never changes because the input is a constant! No loop needed.)

 

In any case, you are combining the time and date string without space between the parts, so you probably want to specify exactly how the parts are arranged. The following will give your desired result:

 

altenbach_0-1577650207063.png

Message 2 of 5
(3,198 Views)

Thanks, u directed me what I was looking.Thumbs up!

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

I need while loop because I am gonna use a time stamp, the current one and then followed by generating a geometric sequence using shift register.At this point, I c no use of while loop which makes things crazy from u r perspective.

0 Kudos
Message 4 of 5
(3,140 Views)

Please read this thread before your next Discussion Forum post.

 

https://forums.ni.com/t5/BreakPoint/A-plea-for-full-words/td-p/751004?profile.language=en

0 Kudos
Message 5 of 5
(2,989 Views)