Documentation

xPCScSetAutoRestart

Scope autorestart status

Prototype

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

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

Was this topic helpful?