05-22-2017 05:02 PM
Hi,
I'm using timestamp to log data every second in while loop , but the stamp is skipping some seconds count for some reasons. I'm using USB DDAQ acquisition card. could somebody please help.
Regards,
Tj
05-29-2017 04:04 AM
Hey Tj,
Looking through the results, it seems the skipping is pretty consistent. My initial thought is that the loop timing is not forcing it to execute on the second every second, rather it is waiting a specific time. This means that if the loop takes a little longer here and there the timing will not be consistent with the system clock.
Could you post your code? I'd be happy to review it and give some suggestions.
Nic