xPCTgScSetYLimits

Set y-axis limits for scope

Prototype

void xPCTgScSetYLimits(int port, int scNum, const double *Ylimits);

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.

Ylimits

Enter a two-element array.

Description

The xPCTgScSetYLimits function sets the y-axis limits for a scope with scope number scNum and type SCTYPE_TARGET to the values in the double array Ylimits. The first element is the lower limit, and the second element is the upper limit. Set both limits to 0.0 to specify autoscaling. Use the xPCGetScopes function to get a list of scopes.

Introduced before R2006a