Documentation

xPCScStart

Start data acquisition for scope

Prototype

void xPCScStart(int port, int scNum);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

scNum

Enter the scope number.

Description

The xPCScStart function starts or restarts the data acquisition of scope scNum. If the scope does not have to preacquire samples, it enters the Waiting for Trigger state. The scope must be in state Waiting to Start, Finished, or Interrupted for this function to succeed. To check the state of the scope, call xPCScGetState. For host scopes that are already started, call xPCIsScFinished. Use the xPCGetScopes function to get a list of scopes.

Introduced before R2006a

Was this topic helpful?