LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TIme Loop not running according to the define time

Just try it! 😄
 
As you can see, I take a timestamp at the loop start and then just increment it by the loop time before formatting the timestamp.
 
Here's a typical output from my example:
 
...
10:10:16:.217 0.532785
10:10:16:.267 0.343206
10:10:16:.317 0.507760
10:10:16:.367 0.700753
10:10:16:.417 0.993699
10:10:16:.467 0.614660
10:10:16:.517 0.257016
10:10:16:.567 0.781249
10:10:16:.617 0.179064
10:10:16:.667 0.637227
10:10:16:.717 0.149771
10:10:16:.767 0.120674
10:10:16:.817 0.362305
10:10:16:.867 0.120613
10:10:16:.917 0.246432
10:10:16:.967 0.261521
10:10:17:.017 0.909098
10:10:17:.067 0.778012
10:10:17:.117 0.271696
10:10:17:.167 0.011781
10:10:17:.217 0.218756
10:10:17:.267 0.500547
10:10:17:.317 0.613232
...
0 Kudos
Message 11 of 16
(1,245 Views)
BTW, you should delete the last ":" in your time format string.
 
The output should look like 10:10:16.217 , not 10:10:16:.217 🙂
0 Kudos
Message 12 of 16
(1,244 Views)
Great work sir,
 
              This is working great, cos the time stamp and data which we can see in the VI is the same as we can see it in the Excel file, so this is something what i want, now i will increase the load on the vi and thn i will check but i think most probably, i will get it for sure, and even i am also looking for the as minimum time as possible, so instead of 50 ms i will rather try to start with 10 ms, i dont know wat will happen? but once i ll try then i ll tell you. thanks very much, buddy.
 
         Hey let me tell you right now, i had just try it and find that i am also getting the min resolution of 1 ms, i m going to be crazy........thanks very much, this is the really good help,.
 
Thanks,
Nishant

Message Edited by Nishant on 10-12-2006 10:50 PM

0 Kudos
Message 13 of 16
(1,225 Views)
Dear Altenbach,
 
                         I find that the time stamp which we are getting either in the VI or in the Excel has the fix time stamp of 10:10:secs,the minute is not changing at all, after finishing the 60 secs, sec again becomes 0, but minute does not increase.
 
Thanks,
Nishant
0 Kudos
Message 14 of 16
(1,219 Views)

Oh........oh!!!!

         I m so sorry, i forgot this is the October (10), and we have put small %,m, instead of %M, which is required for minute, sorry....

Thanks,

Nishant

0 Kudos
Message 15 of 16
(1,215 Views)

Neat logic, Christian!

Regards,

Dev

0 Kudos
Message 16 of 16
(1,211 Views)