logic_capture
Capture SLogic16U3 input signals over USB with selectable channels, sample rate, software trigger, threshold, and pretrigger settings for waveform analysis.
Instructions
Capture SLogic16U3 input signals using the official USB engine; defaults to CH0/CH1. Select physical channel numbers 0..15. 800 MHz requires ONLY CH0..CH3; 400 MHz requires ONLY CH0..CH7; CH8..CH15 require <=200 MHz on USB3. Windows conservative caps are 400/200/100 MHz. USB2 has further restrictions. At high rates suggest lower-numbered channels, retaining required signal/trigger channels. Never silently drop channels, remap probes, or reduce the requested rate. trigger: none/rising/falling/high/low/edge (software based, not hardware trigger). Trigger channel must be selected. pretrigger_percent is 0..90, threshold 0..6 V in 0.1 V steps. Maximum 32M samples. timeout_ms includes trigger wait and must exceed capture duration. If multiple devices exist, select a port from logic_status. Returns an ID for analysis, exact sample count and data integrity; failures are explicit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "logic_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| trigger | No | none | |
| channels | No | ||
| timeout_ms | No | ||
| duration_ms | No | ||
| threshold_v | No | ||
| sample_rate_hz | No | ||
| trigger_channel | No | ||
| pretrigger_percent | No |