VeriStand .NET API Reference

XNETTermination Enumeration

Configures onboard termination for the XNET port. Termination behavior differs depending on the type of device you are using (CAN, FlexRay, or LIN).

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Member nameDescription
Off Termination is off. Termination behavior depends on the device type you are using.
On Termination is on. Termination behavior depends on the device type you are using.

Remarks

ValueDescription
Off CAN
  • High-Speed CAN: Termination is disabled.
  • Low-Speed CAN: Termination is set to 1.11 kΩ
  • Single-Wire Transceivers: ISO standard requires a 9.09 kΩ resistor. No additional configuration is supported.
FlexRay
  • The interface is not terminated. This setting applies to both FlexRay communication channels (A and B).
LIN
  • Termination is disabled.
On CAN
  • High-Speed CAN: Termination is enabled (120Ω)
  • Low-Speed CAN: Termination is set to 4.99 kΩ.
  • Single-Wire Transceivers: ISO standard requires a 9.09 kΩ resistor. No additional configuration is supported.
FlexRay
  • The interface is terminated. This setting applies to both FlexRay communication channels (A and B).
LIN
  • Termination is enabled. Per the LIN 2.1 standard, the master ECU has a ~1 kΩ termination resistor between Vbat and Vbus. Therefore, set termination to On only if you are using your interface as the master and do not already have external termination.
Note:

Different CAN hardware have different termination requirements:

  • High-Speed CAN—High-Speed CAN networks are typically terminated on the bus itself, instead of within an individual CAN node. However, NI-XNET allows you to configure termination within the node to simplify testing. If your bus already has the correct amount of termination, set CANPort.Termination to Off.
  • Low-Speed CAN—Every node on a Low-Speed CAN network requires termination for each CAN data line. This configuration allows the Low-Speed/Fault-Tolerant CAN port to provide fault detection and recovery. In general, if the existing network has an overall network termination of 125Ω or less, set CANPort.Termination to On to enable the 4.99 kΩ option. Otherwise, select Off for the 1.11 kΩ option.
  • Single-Wire Transceivers—The ISO standard requires Single-Wire transceivers to have a 9.09 kΩ resistor. No additional configuration is supported.

See Also

Log in to get a better experience