Documentation

xPCIsOverloaded

Return target computer overload status

Prototype

int xPCIsOverloaded(int port);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

Return

If the real-time application has overloaded the CPU, the xPCIsOverloaded function returns 1. If it has not overloaded the CPU, the function returns 0. If this function detects error, it returns -1.

Description

The xPCIsOverloaded function checks if the real-time application has overloaded the target computer and returns 1 if it has and 0 if it has not. If the real-time application is not running, the function returns 0.

Introduced before R2006a

Was this topic helpful?