niSync Convert Time Stamp To 1588 Time (VI)

Installed With: NI-Sync

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

niSync Convert Time Stamp To 1588 Time

ctimestamp.gif

time stamp specifies the LabVIEW timestamp you would like to convert to the 1588-2008 protocol format. Because the LabVIEW timestamp type can represent a greater range of timestamps than the 1588-2008 time specification, an error is generated if the specified LabVIEW timestamp value cannot be converted to a 1588 time value.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

inclst.gif

1588 time is the 1588 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. The cluster and 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.
ierrcodeclst.gif

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