Skip to main content
Glama

measure_rise_time

Measure signal rise time on PicoScope oscilloscopes by calculating the time between user-defined percentage thresholds on specified channels.

Instructions

Measure signal rise time (10% to 90% by default).

Args: channel: Channel to measure. low_threshold_percent: Lower threshold percentage (0-100). high_threshold_percent: Upper threshold percentage (0-100).

Returns: Dictionary containing rise time in seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelYes
low_threshold_percentNo
high_threshold_percentNo

Implementation Reference

  • The handler function for the 'measure_rise_time' tool. Defines input parameters (channel, thresholds) and currently returns a 'not_implemented' status with TODO for actual logic.
    @mcp.tool() def measure_rise_time( channel: Literal["A", "B", "C", "D"], low_threshold_percent: float = 10.0, high_threshold_percent: float = 90.0, ) -> dict[str, Any]: """Measure signal rise time (10% to 90% by default). Args: channel: Channel to measure. low_threshold_percent: Lower threshold percentage (0-100). high_threshold_percent: Upper threshold percentage (0-100). Returns: Dictionary containing rise time in seconds. """ # TODO: Implement rise time measurement return { "status": "not_implemented", "channel": channel, "low_threshold": low_threshold_percent, "high_threshold": high_threshold_percent, }
  • Top-level registration call in the MCP server that includes the measure_rise_time tool via register_analysis_tools.
    register_analysis_tools(mcp)
  • Import of the registration function for analysis tools, which includes measure_rise_time.
    from .tools.analysis import register_analysis_tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/markuskreitzer/picoscope_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server