Controlling the Time Between Transferred NI-XNET Frames

Updated Dec 1, 2025

Reported In

Driver

  • NI-XNET
  • NI-CAN

Issue Details

The following figure shows the essential fields of the standard and extended frame formats:


Is it possible to manipulate the End of Frame section to make it shorter or longer? If not, can the time between each frame be manipulated?

Solution

 The End of Frame cannot be manipulated since it's preprogrammed. Instead the following workatounds can be implemented to control the time between each transferred frame:

  1. Use the CAN:Transmit Time property in a timed loop to set a minimal interval between frames.
  2. Use cyclic frames for periodic frames. More about this in the following link: Hardware Time Based Control of CAN Frame Transmit Time with NI-XNET - NI.
  3. Use the Interface:CAN:Transmit Pause property to wait for two full bit times after successful transmission before transmitting the next frame. This property works with different frames.

Additional Information

When the CAN:Transmit Time property is used within an NI-XNET output session, keep in mind that it is rounded to the nearest 500 µs increment (0.0005).