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. The index, subIndex, byteCount, and valid numeric values are drive specific. Refer to the drive manual to determine these values.
indexThe memory address to write to
subIndexThe sub index to write to
byteCountThe number of bytes to write
(char*) The string value at the specified location
This function is also available in RapidSequencer.
timeoutMillisecondsThe time in ms that the function will wait for a read response before generating a timeout error.