xPCScAddSignal

Add signal to scope

Prototype

void xPCScAddSignal(int port, int scNum, int sigNum);

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

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

sigNum

Enter a signal number.

Description

The xPCScAddSignal function adds the signal with number sigNum to scope scNum. The signal cannot exist in the scope. You can use xPCScGetSignals to get a list of the signals already present. Use the function xPCGetScope to get the scope number. Use the xPCGetSignalIdx function to get the signal number.

Introduced before R2006a