stop_streaming
Stop data acquisition streaming from a PicoScope oscilloscope and receive a summary of captured signal data.
Instructions
Stop streaming data acquisition.
Returns: Dictionary containing stop status and summary of captured data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The MCP tool handler function for 'stop_streaming'. It is decorated with @mcp.tool() and defines the tool's execution logic, currently stubbed as not implemented.@mcp.tool() def stop_streaming() -> dict[str, Any]: """Stop streaming data acquisition. Returns: Dictionary containing stop status and summary of captured data. """ # TODO: Implement streaming stop return {"status": "not_implemented"}
- src/picoscope_mcp/server.py:15-19 (registration)Registration of all tool sets, including acquisition tools (containing stop_streaming) by calling register_acquisition_tools(mcp).register_discovery_tools(mcp) register_configuration_tools(mcp) register_acquisition_tools(mcp) register_analysis_tools(mcp) register_advanced_tools(mcp)
- Supporting method in PicoScopeManager class to stop streaming on the device. Intended to be used by the tool handler.def stop_streaming(self) -> bool: """Stop streaming mode. Returns: True if successful, False otherwise. """ if not self.is_connected(): return False # TODO: Implement streaming stop # Call ps*Stop return True