Documentation

xPCScSetTriggerSignal

Select signal for triggering scope

Prototype

void xPCScSetTriggerSignal(int port, int scNum, int trigSig);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

trigSig

Enter a signal number.

Description

The xPCScSetTriggerSignal function sets the trigger signal of scope scNum to trigSig. The trigger signal trigSig must be one of the signals in the scope. Use this function only when the scope is stopped. You can use xPCScGetSignals to get the list of signals in the scope. Use xPCScGetState to check the state of the scope. Use the xPCGetScopes function to get a list of scopes.

Introduced before R2006a

Was this topic helpful?