Copy scope data to array
decimation, double *
Do not use this C API type definition. Support for this type definition relies on support for the C API, which will be removed in a future release.
Enter the value returned by the function xPCOpenTcpIpPort.
Enter the scope number.
Enter a signal number. Enter
Enter the first sample from which data retrieval is to start.
Enter the number of samples retrieved with a decimation
Enter a value such that every
The data is available in the array
xPCScGetData function gets the data used
in a scope. Use this function for scopes of type
The scope must be either in state
"Interrupted" for the data to be retrievable.
(Use the xPCScGetState function
to check the state of the scope.) The data must be retrieved one signal
at a time. The calling function must allocate the space ahead of time
to store the scope data.
be an array of doubles, regardless of the data type of the signal
to be retrieved. Use the function xPCScGetSignals to get the list of signals in the scope for
Use the function xPCGetScope to
get the scope number for
To get timestamped data, specify
From the output, you can then get the number of nonzero elements.