NI-Sync LabVIEW API Reference

niSync Convert 1588 Time to Time Stamp (VI)

  • Updated2024-03-29
  • 2 minute(s) read

niSync Convert 1588 Time to Time Stamp (VI)

Installed With: NI-Sync

Converts a cluster with the same structure as the IEEE 1588-2008 timing protocol to a LabVIEW timestamp type.

niSync Convert 1588 Time To Time Stamp

cnclst.gif

1588 time specifies the 1588 time using the 1588-2008 epoch (the time since zero hours on 1 January 1970). The cluster represents this time with a U32 that specifies the number of seconds, a U32 that specifies the number of nanoseconds, and a U16 that specifies the number of fractional nanoseconds since the epoch. The cluster and this VI do not support 1588 times with a negative sign or times in 1588 epochs other than the current one.

Note  The fractional nanoseconds value is not used by NI-Sync.
cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality. This node runs normally even if an error occurred before this node runs.

itimestamp.gif

time stamp returns a timestamp in LabVIEW time format.

ierrcodeclst.gif

error out returns error conditions that occur after this node runs. This output provides standard error out functionality.

Log in to get a better experience