![National Instruments PXIe-8522 User Manual Download Page 13](http://html1.mh-extra.com/html/national-instruments/pxie-8522/pxie-8522_user-manual_3683745013.webp)
Network Time
In addition to the local time keeper, the module can maintain network time (IEEE 802.1AS)
for each port. When Ethernet frames are received, each packet is timestamped with network
time as well as with local time.
When a port acts as a master in an electronic control unit (ECU) network, the network time is
initialized from host time and is synchronized to local time.
When a port acts as a slave in an ECU network, local time and network time may eventually
drift relative to each other. The date/time information for network time is obtained from the
ECU that acts as the grandmaster clock.
Both local and network time can be adjusted using the NI-XNET API.
Host Time
Host time is the clock of the operating system on which the NI-XNET driver is running. The
host time can obtain time/date information using a real time clock (RTC) or a network time
protocol (NTP) server.
Although host time provides accurate date/time information, the accuracy and resolution of its
clock can often be in tens of milliseconds. In contrast, the module provides resolution for local
time and network time in nanoseconds. Although local time and network time use host time to
initialize their date/time information, they do not use the same physical clock as host time.
Therefore, both local time and network time may eventually drift relative to host time.
PXI Triggers
Each of the eight PXI triggers on the module can be simultaneously timestamped by the local
time keeper and the network time keeper for each port. PXI triggers can be used to
synchronize the module time keepers with trigger events on other PXI modules.
PXIe-8522/8523 User Manual
|
© National Instruments
|
13