Documentation

xPCScSetNumPrePostSamples

Set number of pre- or posttriggering samples before triggering scope

Prototype

void xPCScSetNumPrePostSamples(int port, int scNum, int prepost);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

prepost

A negative number means pretriggering, while a positive number means posttriggering. This function can only be used when the scope is stopped.

Description

The xPCScSetNumPrePostSamples function sets the number of samples for pre- or posttriggering for scope scNum to prepost. Use this function only when the scope is stopped. Use xPCScGetState to check the state of the scope. Use the xPCGetScope function to get the scope number.

Introduced before R2006a

Was this topic helpful?