Reads statistics for FlexRay communication using an XNET session.


icon

Inputs/Outputs

  • cgenclassrntag.png session in

    session in is the session to read. This session is selected from a LabVIEW project or returned from the XNET Create Session VI.

  • cerrcodeclst.png error in (no error)

    The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

  • igenclassrntag.png session out

    session out is the same as session in, provided for use with subsequent VIs.

  • inclst.png FlexRay statistics

    FlexRay statistics returns a LabVIEW cluster that contains the statistical elements. The elements are:

  • iu32.png num syntax error ch A

    num syntax error ch A is the number of syntax errors that have occurred on channel A since communication started. A syntax error occurs if:
    • A node starts transmitting while the channel is not in the idle state.
    • There is a decoding error.
    • A frame is decoded in the symbol window or in the network idle time.
    • A symbol is decoded in the static segment, dynamic segment, or network idle time.
    • A frame is received within the slot after reception of a semantically correct frame (two frames in one slot).
    • Two or more symbols are received within the symbol window.
  • iu32.png num syntax error ch B

    num syntax error ch B is the number of syntax errors that have occurred on channel B since communication started.

  • iu32.png num content error ch A

    num content error ch A is the number of content errors that have occurred on channel A since communication started. A content error occurs if:
    • In a static segment, the payload length of a frame does not match the global cluster property.
    • In a static segment, the Startup indicator (bit) is 1 while the Sync indicator is 0.
    • A frame ID encoded in the frame header does not match the current slot.
    • A cycle count encoded in the frame's header does not match the current cycle count.
    • In a dynamic segment, the Sync indicator is 1.
    • In a dynamic segment, the Startup indicator is 1.
    • In a dynamic segment, the Null indicator is 0.
  • iu32.png num content error ch B

    num content error ch B is the number of content errors that have occurred on channel B since communication started.

  • iu32.png num slot boundary violation ch A

    num slot boundary violation ch A is the number of slot boundary violations that have occurred on channel A since communication started. A slot boundary violation error occurs if the interface does not consider the channel to be idle at the boundary of a slot (either beginning or end).

  • iu32.png num slot boundary violation ch B

    num slot boundary violation ch B is the number of slot boundary violations that have occurred on channel B since communication started.

  • ierrcodeclst.png error out

    The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

  • Description

    You can use this XNET Read VI instance with any XNET session mode, as long as the session's interface is FlexRay. Because the state reflects the FlexRay interface, it can apply to multiple sessions.

    Like other XNET Read VI instances, this VI executes quickly, so it is appropriate for real-time loops. The statistical information is updated during the Network Idle Time (NIT) of each FlexRay cycle.