Solution
LIN diagnostic frames and schedules are defined as follows:
- LIN diagnostic frames are always eight data bytes in length and always carry diagnostic or configuration data.
- Their IDs are either 60 (0x3C) for a Master Request frame or 61 (0x3D) for a Slave Response frame.
- Master Request schedule is defined by adding a schedule to the LDF that only includes the Master Request frame.
- Slave Request schedule is also defined by adding a schedule that only includes the Slave Response frame.
- Both diagnostics frames must be added as Unconditional frames and have a Delay of at least 10 ms.
- Both schedules must be present in the LDF to implement LIN diagnostics.
A possible reason for the error -1074384497 is that the Master Request schedule is only allowed to contain a single master request frame. Adding a slave response frame is not allowed in a Master Request schedule.
You can view and edit your LDF using the NI-XNET Database Editor which is installed with the NI-XNET driver.