Documentation

xPCMaxLogSamples

Return maximum number of samples that can be in log buffer

Prototype

int xPCMaxLogSamples(int port);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

Return

Returns the total number of samples. If the function detects an error, it returns -1.

Description

The xPCMaxLogSamples function returns the total number of samples that can be returned in the logging buffers.

Introduced before R2006a

Was this topic helpful?