Documentation

xPCGetNumScopes

Return number of scopes added to real-time application

Prototype

int  xPCGetNumScopes(int port);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

Return

Returns the number of scopes that have been added to the real-time application. If the function detects an error, it returns -1.

Description

The xPCGetNumScopes function returns the number of scopes that have been added to the real-time application.

Introduced in R2008b

Was this topic helpful?