capture_oscilloscope
Triggers E1/E2 oscilloscope capture for 1–4 selected P channels, clears old buffers, and exports raw/converted CSV data for drive signal analysis.
Instructions
用户选定 1~4 个 P 通道后执行 E1/E2 连续示波器采集,立即触发。周期为 2ms 的整数倍,最多 40 秒/20000 点;会清除旧示波器缓冲区,结束发送停止并导出原始/换算 CSV。无设备时间戳,不能保证无丢点;不控制电机。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"codes": "<codes>",
"sample_period_ms": "<sample_period_ms>",
"points": "<points>"
},
"name": "capture_oscilloscope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | COM7 | |
| codes | Yes | ||
| points | Yes | ||
| transport | No | selected_tcp | |
| sample_period_ms | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||