LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Date/Time in seconds

Hi,

I have a quick question about the Get Date/Time In seconds vi. 

I am using that in my application to capture current time, which I then store into a variable to update it on number of timing ticks I receive from external system. But for some reason, every single time I restart my main vi, I get current time of either 00:00:00 or 16:00:00. I have attached a screenshot of my vi. Hopefully someone can help me. 
I can explain more if someone has any questions about what I doing. 

 

Thanks alot for help.

 

 

0 Kudos
Message 1 of 3
(3,079 Views)

It's impossible to debug a picture. especially one that has ugly background colors.

 

Please attach your VI>

 

Get Date/Time in Seconds works fine.  So the problem must be elsewhere.  I suspect related to the way it is in a case structure, but in the flat sequence structure you are using local variables.

0 Kudos
Message 2 of 3
(3,061 Views)

I got it working. Just the iteration number was incorrect. 

0 Kudos
Message 3 of 3
(2,961 Views)