xPCTgScSetMode

Set display mode for scope

Prototype

void xPCTgScSetMode(int port, int scNum, int mode);

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.

mode

Enter the value for the mode.

Description

The xPCTgScSetMode function sets the mode of a scope of type SCTYPE_TARGET and scope number scNum to mode. You can use one of the following constants for mode:

  • SCMODE_NUMERICAL = 0

  • SCMODE_REDRAW = 1

  • SCMODE_SLIDING = 2 will be removed in a future release. It behaves like value SCMODE_ROLLING = 3.

  • SCMODE_ROLLING = 3

Use the xPCGetScopes function to get a list of scopes.

Introduced before R2006a