Documentation

xPCScGetNumSamples

Get number of samples in one data acquisition cycle

Prototype

int xPCScGetNumSamples(int port, int scNum);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

Return

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

Description

The xPCScGetNumSamples function gets the number of samples in one data acquisition cycle for scope scNum. Use the xPCGetScope function to get the scope number.

Introduced before R2006a

Was this topic helpful?