Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronize PXIe 8521 with PXIe 8510 To Measure Latency

This is similar to a question I have asked in the past on how to measure latency of CAN frames routed across different busses via a gateway. This time I have to measure the Latency of a CAN frame that is converted to an ethernet packet and routed to an automotive ethernet bus. I am using the PXIe 8510 to generate and monitor CAN traffic and the PXIe 8521 to monitor and generate Ethernet traffic.

 

Currently for CAN to CAN routing tests I use the “PXI_Trig0” and wire it to “StartTrigger” to keep all my CAN interfaces in sync, which allows me to check the latency of routed CAN frames between busses. However when I try to use the same methodology on the Ethernet card PXIe-8521 I get an error since this is not supported.

 

Ideally what I want is to start all the XNET interfaces off (CAN, Ethernet, LIN) the same trigger so my timestamps are in sync and I can get accurate stats regarding how long an Ethernet packet takes to get converted to CAN and vice versa for all XNET interfaces. Has this functionality been changed or remove with the Ethernet card? If so how would I work around this issue, or what trigger signal can I use to route that will be valid for all interfaces and keep timestamps in sync. 

 

I have also come across this property node In the XNET driver for Ethernet which might be a work around but can anyone explain exactly how this property works or how to use it? The help is not so clear. https://www.ni.com/documentation/en/ni-xnet/latest/ni-xnet-prop-ref/xnet-session-interface-ethernet-...

 

Thanks

0 Kudos
Message 1 of 1
(2,652 Views)