APIs, concepts, guides, and more

◆ NetworkEniGenerateOutputGet()

const char *const NetworkEniGenerateOutputGet ( )
Description:
This method returns the full output generated by the rsiconfig tool during the last execution of NetworkEniGenerate(). This output contains detailed information about the nodes discovered during the ENI generation process, as well as any errors or warnings encountered, making it extremely useful for diagnosing issues.
Returns
A constant pointer to a string containing the detailed output from the previous call. If no previous call has been made, an empty string is returned.
Note
The output might be empty if NetworkEniGenerate() fails before generating any output. This function does not throw exceptions.
Sample Code:
motionController->NetworkEniGenerate();
const char* output = motionController->NetworkEniGenerateOutputGet();
std::cout << "ENI Generation Output:\n" << output << std::endl;