xPCScSoftwareTrigger

Set software trigger of scope

Prototype

void xPCScSoftwareTrigger(int port, int scNum);

Note

Do not use this C API type definition. Support for this type definition relies on support for the C API, which will be removed in a future release.

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