Documentation

xPCScGetDecimation

Return decimation of scope

Prototype

int xPCScGetDecimation(int port, int scNum);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

Return

Returns the decimation of scope scNum. If the function detects an error, it returns -1.

Description

The xPCScGetDecimation function gets the decimation of scope scNum. The decimation is a number, N, meaning every Nth sample is acquired in a scope window. Use the xPCGetScope function to get the scope number.

Introduced before R2006a

Was this topic helpful?