Documentation

xPCScGetStartTime

Get start time for last data acquisition cycle

Prototype

double xPCScGetStartTime(int port, int scNum);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

Return

Returns the start time for the last data acquisition cycle of a scope. If the function detects an error, it returns -1.

Description

The xPCScGetStartTime function gets the time at which the last data acquisition cycle for scope scNum started. xPCScGetStartTime is only valid for scopes of type SCTYPE_HOST. Use the xPCGetScope function to get the scope number.

Introduced before R2006a

Was this topic helpful?