coTfsODChkSingleEntry (Level 2)
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE NoteBefore using this function you have to call coTfsSetNodeId to set the internal node ID.
Function Syntax
Description
The function checks a single object dictionary entry of existence and size via a SDO upload. Additionally, the value is compared with the given value. The compare mask defines which data bits are compared and must be identical. The test is only executed if the access type of the object is not writeOnly. The test was successful if the values of a mandatory object are correct. On an optional object, the SDO abort codes (0x08000000, 0x06020000, and 0x06090011) are accepted also. On a positive comparison and access type readWrite, the read value is written.Parameters
- index: Checked object index.
- subIndex: Checked object subindex.
- accessType:
- 1 - readWrite
- 2 - readOnly
- 3 - writeOnly
- 4 - constant
- entrySize: Data size of object in bytes.
- inMaskBuf[]: Mask for data comparison, the size must be at least same as
maskBufSize.- 0 - don’t care
- 1 - execute comparison
- maskBufSize: Size of buffer.
- inValueBuf[]: Data for comparison, the size must be at least same as size of
valueBufSize. - valueBufSize: Size of buffer.