Raw Data Frame Configuration Page

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

In the System Explorer window configuration tree, add or select a raw data format frame under an NI-XNET LIN, FlexRay, or CAN port to display this page.

Tip  You can use Import NI-XNET Frames dialog box or the XNET page of the Options dialog box to specify the data format of frames you import to NI VeriStand.

Use this page to specify and view information about a frame, such as its frame ID, payload length, and transmission triggers. The components that appear on this page can vary based on the type of frame you are configuring: incoming or outgoing, cyclic or event-triggered, and so on.

This page can include the following components:

  • Frame Specification—Includes the following components:
    • Name—Displays the name of the frame. NI VeriStand gets the name from the XNET database.
    • Description—Specifies a description for the frame.
    • Raw frame overview—Displays a graphical overview of the frame, with the frame bytes on the left and the byte bits on the top. The bits of the current channel appear in blue.

      The bit number in the frame is calculated as byte number x 8 + bit number. The maximum bit number in a CAN or LIN frame is 63 (7 x 8 + 7); the maximum bit number in a FlexRay frame is 2031 (253 x 8 + 7).
  • Frame Settings—Includes the following components:
    • Frame ID—Displays the identifier number of the frame. For LIN frames, this is the frame ID. For CAN frames, this is the Arbitration ID. For FlexRay frames, this is the Slot ID in which the frame is sent. Refer to the NI-XNET Hardware and Software Help for more information about frame identifiers.
    • Payload length [byte]—Displays the number of bytes in the payload.
    • Start time offset [sec]—Specifies the amount of time that elapses between the session start and the transmission of the first frame. Use this option to have more control over the schedule of frames on the bus, and to offer more determinism by configuring cyclic frames to be spaced evenly. If this field contains a negative number, NI-XNET chooses the start time offset based on the arbitration identifier and periodic transmit time. This option appears only for outgoing cyclic frames under a CAN port.
    • Frame type—Specifies the type of the frame. This option appears only for outgoing frames under FlexRay or CAN ports.

      FlexRay options:
      • Data Frame—Specifies that the frame is a data frame. Data frames contain payload data.
      • Null Frame—Specifies that the frame is a null frame. Null frames indicate that the transmitting ECU does not have new data for the current cycle.
      CAN options:
      • Data Frame—Specifies that the frame is a data frame. Data frames contain payload data.
      • Remote Frame—Specifies that the frame is a remote frame. Remote frames request data for the corresponding Frame ID.
  • Disable Transmission—Appears for outgoing frames only. Use this section to configure a channel that can disable transmission of an outgoing frame. Includes the following components:
    • Disable transmission—If checked, specifies to use the Disable channel to disable and re-enable transmission of an outgoing frame.
    • Disable channel—Specifies the channel to use to disable transmission. Transmission is disabled when the value of this channel is non-zero. Transmission is re-enabled when the channel becomes zero again.
      Note  Transmission is re-enabled as soon as the channel value becomes zero. In the case of an event-triggered frame, the frame transmits even if the Transmit trigger you specify did not occur.
  • Transmission Trigger—Appears for outgoing frames only. Use this section to configure a channel that can trigger transmission of an outgoing frame. This section can include the following components:
    • Enable trigger—If checked, specifies to use the Trigger channel to trigger transmission of the frame. The Transmit trigger component replaces this option for event-triggered frames.
    • Transmit trigger—Appears for event-triggered frames only. Specifies when to trigger transmission of the frame:
      • Channel value change—Triggers when the value of Trigger channel changes.
      • Trigger channel (not zero)—Triggers when the Trigger channel value is not zero.
      • Channel value change or trigger channel (not zero)—Triggers when either of the previous conditions is true.
    • Trigger channel—Specifies the channel to use to trigger transmission.
    • Enable software cyclic trigger—Enables a cyclic trigger that transmits outgoing frames at regular intervals using the Phase and Transmit time [sec] you specify. This option appears for event-triggered frames only.
    • Phase— Specifies how NI VeriStand handles transmission of frames with a software cyclic trigger:
      • Unchanged—Specifies to transmit the frame every time the Transmit time [sec] elapses.
      • Reset—Specifies to transmit the frame every time the Transmit time [sec] elapses and reset the timer after each transmission.
    • Transmit time [sec]—Specifies the interval, in seconds, at which to transmit the outgoing frame.
      Note  Actual transmit time can vary based on the XNET outgoing rate.

WAS THIS ARTICLE HELPFUL?

Not Helpful