xPCScGetSignals

Copy list of signals to array

Prototype

void xPCScGetSignals(int port, int scNum, int *data);

Note

Do not use this C API type definition. Support for this type definition relies on support for the C API, which will be removed in a future release.

Arguments

port

Value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

data

Integer array allocated by the caller as a list containing the signal identifiers, terminated by -1.

Description

The xPCScGetSignals function gets the list of signals defined for scope scNum. You can use the constant MAX_SIGNALS, defined in xpcapiconst.h, as the size of data. Use the xPCGetScope function to get the scope number.

Note

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

Introduced before R2006a