coTfsTPDOGetDataByRTR (Level 2)
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DEFunction Syntax
Description
The function sends a remote frame with the given CAN-ID. The tested node answers with the corresponding TPDO data. Test sequence- The transmission type of the TPDO is checked, the values 0xFF (asynchronous, device profile specific) and 0xFE (asynchronous, manufacturer specific) are accepted. If another value is read, 0xFF is set.
- The test module must be in state operational, this is checked with heartbeat and guarding functions. If a heartbeat producer is active, it is overwritten and deactivated.
- It is checked if the TPDO is active and supports RTRs.
- The CAN-ID is read and a remote frame is sent.
- If the process is successful (return value 1), the read data are written in outLength and outValueBuf[].
- If necessary, the original transmission type is set.
Parameters
- index: Index of TPDO.
- outLength[]: Size of the TPDO in bytes.
- outValueBuf[]: Data of the TPDO, the array size should be 8 bytes.
- valueBufSize: Size of buffer.