Copy state log values to array
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 index of the first sample to copy.
Enter the number of samples that the function is to copy from the output log.
Select whether to copy all
the sample values or every
Enter a state identification number.
The log is stored in
xPCGetStateLog function gets the state
log. It then copies the log into
You get the data for each state signal in turn by specifying the
State IDs range from
1 to (
N is the return value of xPCGetNumStates. Entering
all values. Entering
Nth value. For
the sample indices range from
0 to (
N is the return value of xPCNumLogSamples. Use the xPCNumLogSamples function to get the
maximum number of samples.
The real-time application must be stopped before you get the number.