xPCScSetAutoRestart

Scope autorestart status

Prototype

void xPCScSetAutoRestart(int port, int scNum, int autorestart)

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.

autorestart

To enable scope autorestart, enter 1. To disable scope autorestart, enter 0).

Description

The xPCScSetAutoRestart function sets the autorestart flag for scope scNum to 0 or 1. The value 0 disables the flag, 1 enables it. Use this function only when the scope is stopped.

Introduced in R2009b