ni/niveristand-aim-arinc429-custom-device

Convert time to UTC before setting board time

Closed this issue · 0 comments

Describe the bug
I am seeing a separation from the expected UTC time for received messages and the returned time for received messages when using system time to set board time. If however, I convert system time to UTC when setting board time, I observe exactly the expected 6 hour difference between system time here in CST and UTC.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Initialize Hardware and set Boolean input to convert time primitive (True to convert to UTC)
  2. Notice time difference between cases where time is set according to system time versus system time converted to UTC.

Expected behavior
I expect a consistent offset between received times and system time.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Version 10 Pro

Additional context
Add any other context about the problem here.