Documentation

xPCScAddSignal

Add signal to scope

Prototype

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

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

Was this topic helpful?