Documentation

xPCScSoftwareTrigger

Set software trigger of scope

Prototype

void xPCScSoftwareTrigger(int port, int scNum);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

Description

The xPCScSoftwareTrigger function triggers scope scNum. The scope must be in the state Waiting for trigger for this function to succeed. Use xPCScGetState to check the state of the scope. Use the xPCGetScopes function to get a list of scopes.

Regardless of the trigger mode setting, you can use xPCScSoftwareTrigger to force a trigger. In trigger mode Software, this function is the only way to trigger the scope.

Introduced before R2006a

Was this topic helpful?