Documentation

xPCTgScGetYLimits

Copy y-axis limits for scope to array

Prototype

void xPCTgScGetYLimits(int port, int scNum, double *limits);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

limits

The first element of the array is the lower limit while the second element is the upper limit.

Description

The xPCTgScGetYLimits function gets and copies the upper and lower limits for a scope of type SCTYPE_TARGET and with scope number scNum. The limits are stored in the array limits. If both elements are zero, the limits are autoscaled. Use the xPCGetScopes function to get a list of scopes.

Introduced before R2006a

Was this topic helpful?