Documentation

xPCTgScSetGrid

Set grid mode for scope

Prototype

void xPCTgScSetGrid(int port, int scNum, int grid);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

grid

Enter a grid value.

Description

The xPCTgScSetGrid function sets the grid of a scope of type SCTYPE_TARGET and scope number scNum to grid. If grid is 0, the grid is off. If grid is 1, the grid is on and grid lines are drawn on the scope window. When the drawing mode of scope scNum is set to SCMODE_NUMERICAL, the grid is not drawn even when the grid mode is set to 1. Use the xPCGetScopes function to get a list of scopes.

Introduced before R2006a

Was this topic helpful?