Documentation

xPCGetScopes

Get and copy list of scope numbers

Prototype

void xPCGetScopes(int port, int *data);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

data

List of scope numbers in an integer array (allocated by the caller) as a list of unsorted integers and terminated by -1.

Description

The xPCGetScopes function gets the list of scopes currently defined. You can use the constant MAX_SCOPES (defined in xpcapiconst.h) as the size of data. MAX_SCOPES is set to 30.

Note

This function will be removed in a future release. Use the xPCGetScopeList function instead.

Introduced before R2006a

Was this topic helpful?