Get state of scope
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.
Returns the state of scope
If the function detects an error, it returns
xPCScGetState function gets the state
error. Use the xPCGetScope function
to get the scope number.
Constants to find the scope state, defined in
have the following meanings:
Scope is ready and waiting to start.
Scope acquires a predefined number of samples before triggering.
After a scope is finished with the preacquiring state, it waits for a trigger. If the scope does not preacquire data, it enters the wait for trigger state.
Scope is acquiring data. The scope enters this state when it leaves the wait for trigger state.
Scope is finished acquiring data when it has attained the predefined limit.
You stopped (interrupted) the scope.