set_trigger_serial
Configure serial bus triggers for RS232, IIC, SPI, CAN, LIN, FLEXray, IIS, or M1553 on a Rigol MHO98 oscilloscope with protocol-specific parameters.
Instructions
Serial-bus trigger: RS232 | IIC | SPI | CAN | LIN | FLEXray | IIS | M1553.
Typed params map to the documented keywords of the selected protocol
(sent as :TRIGger:: ; booleans are sent as 1/0,
everything else verbatim):
RS232: source level polarity when data baud width stop parity buser
IIC: scl sda clevel dlevel when awidth address direction dbytes
data currbit code
SPI: clk scl miso sda cs clevel dlevel slevel slope when mode
timeout width data currbit code
CAN: source stype when baud spoint extended define dwidth data
currbit code level
LIN: source level standard baud samplepoint when error id data
currbit code
FLEXray: source when level baud pos error symbol frame define idcmp
cyccomp maxcy mincy maxid minid ch
IIS: clock data_source ws_select clock_slope clevel slevel dlevel
alignment uwidth width dmin dmax when audio data code
M1553: source when polarity window sync error datcomp datvalue dmin
dmax drta dbit code alevel blevel
Anything else: pass extra={"KEYWORD": value} (KEYWORD must be
documented for that protocol in manual section 3.27).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | ||
| params | Yes | ||
| protocol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |