set_simple_trigger
Configure basic edge triggering on PicoScope oscilloscopes by setting source channel, voltage threshold, edge direction, and auto-trigger timeout to capture specific signal events.
Instructions
Set up a simple edge trigger.
Args: source: Trigger source channel or external. threshold_mv: Trigger threshold in millivolts. direction: Trigger on rising, falling, or either edge. auto_trigger_ms: Auto-trigger timeout in milliseconds (0 = disabled).
Returns: Dictionary containing trigger configuration status.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
auto_trigger_ms | No | ||
direction | No | Rising | |
source | Yes | ||
threshold_mv | Yes |
Input Schema (JSON Schema)
{
"properties": {
"auto_trigger_ms": {
"default": 1000,
"type": "integer"
},
"direction": {
"default": "Rising",
"enum": [
"Rising",
"Falling",
"Rising_Or_Falling"
],
"type": "string"
},
"source": {
"enum": [
"A",
"B",
"C",
"D",
"External"
],
"type": "string"
},
"threshold_mv": {
"type": "number"
}
},
"required": [
"source",
"threshold_mv"
],
"type": "object"
}