Documentation

xPCScGetAutoRestart

Scope autorestart status

Prototype

long xPCScGetAutoRestart(int port, int scNum)

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

Return

Returns the autorestart flag value of scope scNum. If the function detects an error, it returns -1.

Description

The xPCScGetAutoRestart function gets the autorestart flag value for scope scNum. Autorestart flag can be disabled (0) or enabled (1).

Introduced in R2009b

Was this topic helpful?