Documentation

xPCScSetDecimation

Set decimation of scope

Prototype

void xPCScSetDecimation(int port, int scNum, int decimation);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

decimation

Enter an integer for the decimation.

Description

The xPCScSetDecimation function sets the decimation of scope scNum. The decimation is a number, N, meaning every Nth sample is acquired in a scope window. 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?