Documentation

xPCScSetTriggerScope

Select scope for triggering another scope

Prototype

void xPCScSetTriggerScope(int port, int scNum, int trigScope);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

trigScope

Enter the scope number of the scope used for a trigger.

Description

The xPCScSetTriggerScope function sets the trigger scope of scope scNum to trigScope. This function can only be used when the scope is stopped. Use xPCScGetState to check the state of the scope. Use the xPCGetScopes function to get a list of scopes.

The scope type can be SCTYPE_HOST, SCTYPE_TARGET, or SCTYPE_FILE.

Introduced before R2006a

Was this topic helpful?