stop_streaming
Stop data streaming from PicoScope oscilloscopes to complete signal acquisition sessions and retrieve captured measurement results.
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', decorated with @mcp.tool(). It is a placeholder that returns a 'not_implemented' status.@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"}
- Low-level helper method 'stop_streaming' in the PicoScopeManager class (imported as global 'device_manager'). Intended to perform the actual device stop operation.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
- src/picoscope_mcp/server.py:17-17 (registration)Registration of acquisition tools (including 'stop_streaming') by calling register_acquisition_tools(mcp) in the main server setup.register_acquisition_tools(mcp)