Write a request for the LIN interface to change the diagnostic schedule. You can use this XNET Write VI with any input or output session for LIN.


icon

Inputs/Outputs

  • cgenclassrntag.png session in

    session in is the session to use for the diagnostic schedule change. This session is selected from the LabVIEW project or returned from the XNET Create Session VI. The session must use a LIN interface.

  • cu32.png diagnostics schedule (null)

  • 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.

  • 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 the XNET Write (State LIN Diagnostic Schedule Change) VI with any XNET session mode, as long as the session interface is LIN. Because the schedule change applies to the LIN interface, it can apply to multiple sessions.

    According to the LIN protocol, only the master executes schedules, not slaves. If the XNET Session Interface:LIN:Master? property is false (slave), this write function implicitly sets that property to true (master). If the interface currently is running as a slave, this write returns an error, because it cannot change to master while running.

    Use the XNET Write (State LIN Diagnostic Schedule Change) VI to transmit master request messages and query for slave response messages after node configuration has been performed. Node configuration should be handled using the XNET Write (State LIN Schedule Change) VI. Wire the node configuration schedule defined for the LIN cluster into that VI so that it is the first schedule executed for the LIN. Refer to the description for the XNET Write (State LIN Schedule Change) VI for more information about using it to perform node configuration.