The RMP Motion Controller APIs

◆ ServiceChannelReadString() [2/2]

const char *const ServiceChannelReadString ( int32_t index,
int32_t subIndex,
int32_t byteCount,
uint32_t timeoutMilliseconds )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Read a string from the SDO.

Description:
Read a string from the SDO. The index, subIndex, byteCount, and valid numeric values are drive specific. Refer to the drive manual to determine these values.
Parameters
indexThe memory address to write to
subIndexThe sub index to write to
byteCountThe number of bytes to write
Returns
(char*) The string value at the specified location
Remarks
This function is also available in RapidSequencer.
Parameters
timeoutMillisecondsThe time in ms that the function will wait for a read response before generating a timeout error.