Documentation

xPCGetNumSignals

Return number of signals

Prototype

int xPCGetNumSignals(int port);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

Return

Returns the number of signals in the real-time application. If the function detects an error, it returns -1.

Description

The xPCGetNumSignals function returns the total number of signals in the real-time application that can be monitored from the development computer. Use this function to see how many signals you can monitor.

Introduced before R2006a

Was this topic helpful?