coTfsSDOUpload (Level 2)
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DEFunction Syntax
long coTfsSDOUpload(dword index, dword subIndex); // form 1long coTfsSDOUpload(dword index, dword subIndex, dword outSize[1], byte outValueBuf[], dword valueBufSize); // form 2long coTfsSDOUpload(dword index, dword subIndex, dword outSize, qword outValueBuf); // form 3
Description
This function executes a complete SDO upload. Depending on the number of data, this is either an expedited upload (up to 4 bytes) or a segmented transfer. After a successful upload, the data received can be called up with the command coTfsGetSdoUploadData. (form 1) Alternatively the function can return the received data automatically. (form 2) This function syntax can only be used for expedited uploads. (form 3)Parameters
- index: Object index
- subIndex: Object subindex
- outSize[1]: Data length pointer
- outValueBuf[]: Received data pointer
- valueBufSize: Buffer size in byte of outValueBuf.
- outSize: Size of the data to be transmitted.
- outValueBuf: Data to be transmitted.