08-09-2017 06:07 PM
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.
08-09-2017 06:39 PM
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.
08-17-2017 02:40 PM
I got it working. Just the iteration number was incorrect.