xPCScGetSignalList

Copy list of signals to array

Prototype

void xPCScGetSignalList(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.

Description

The xPCScGetSignals function gets the list of signals defined for scope scNum. The array data must be large enough to hold the list of signals. To query the size, use the xPCScGetNumSignals function. Use the xPCGetScope function to get the scope number.

Note

Use the xPCScGetSignalList function instead of the xPCScGetSignals function. The xPCScGetSignals will be removed in a future release.

Introduced in R2008b