Uart
SCPI Commands :
TRIGger:SBHW:UART:TYPE
TRIGger:SBHW:UART:SOURce
TRIGger:SBHW:UART:DATA
TRIGger:SBHW:UART:OPERator
TRIGger:SBHW:UART:DPOSition
TRIGger:SBHW:UART:FCONdition
- Commands in total: 6Subgroups: 0Direct child commands: 6
- get_data() List[int][source]
# TRIGger:SBHW:UART:DATA value: List[int] = driver.trigger.sbhw.uart.get_data()
Specifies the data pattern to be found on the specified trigger source. Enter the words in MSB first bit order.
- get_dposition() int[source]
# TRIGger:SBHW:UART:DPOSition value: int = driver.trigger.sbhw.uart.get_dposition()
Sets the number of words before the first word of interest. These offset words are ignored.
- Returns:
data_position: 1 to 4096
- get_fcondition() OperatorB[source]
# TRIGger:SBHW:UART:FCONdition value: enums.OperatorB = driver.trigger.sbhw.uart.get_fcondition()
Selects the operator for the Data pattern.
- Returns:
data_operator: EQUal | NEQual | LTHan | LETHan | GTHan | GETHan
- get_operator() OperatorB[source]
# TRIGger:SBHW:UART:OPERator value: enums.OperatorB = driver.trigger.sbhw.uart.get_operator()
Sets the operator for the data pattern in the selected field of the selected frame.
- Returns:
data_operator: EQUal | NEQual | LTHan | LETHan | GTHan | GETHan
- get_source() TxRx[source]
# TRIGger:SBHW:UART:SOURce value: enums.TxRx = driver.trigger.sbhw.uart.get_source()
Selects the transmitter or receiver line as trigger source.
- Returns:
source: TX | RX
- get_type_py() SbusUartTriggerType[source]
# TRIGger:SBHW:UART:TYPE value: enums.SbusUartTriggerType = driver.trigger.sbhw.uart.get_type_py()
Selects the trigger type condition.
- Returns:
type_py: STBT: Start bit PCKS: Packet start DATA: Serial pattern PRER: Parity error BRKC: Break condition STPerror: Stop error
- set_data(data_pattern: List[int]) None[source]
# TRIGger:SBHW:UART:DATA driver.trigger.sbhw.uart.set_data(data_pattern = [1, 2, 3])
Specifies the data pattern to be found on the specified trigger source. Enter the words in MSB first bit order.
- set_dposition(data_position: int) None[source]
# TRIGger:SBHW:UART:DPOSition driver.trigger.sbhw.uart.set_dposition(data_position = 1)
Sets the number of words before the first word of interest. These offset words are ignored.
- Parameters:
data_position – 1 to 4096
- set_fcondition(data_operator: OperatorB) None[source]
# TRIGger:SBHW:UART:FCONdition driver.trigger.sbhw.uart.set_fcondition(data_operator = enums.OperatorB.EQUal)
Selects the operator for the Data pattern.
- Parameters:
data_operator – EQUal | NEQual | LTHan | LETHan | GTHan | GETHan
- set_operator(data_operator: OperatorB) None[source]
# TRIGger:SBHW:UART:OPERator driver.trigger.sbhw.uart.set_operator(data_operator = enums.OperatorB.EQUal)
Sets the operator for the data pattern in the selected field of the selected frame.
- Parameters:
data_operator – EQUal | NEQual | LTHan | LETHan | GTHan | GETHan
- set_source(source: TxRx) None[source]
# TRIGger:SBHW:UART:SOURce driver.trigger.sbhw.uart.set_source(source = enums.TxRx.RX)
Selects the transmitter or receiver line as trigger source.
- Parameters:
source – TX | RX
- set_type_py(type_py: SbusUartTriggerType) None[source]
# TRIGger:SBHW:UART:TYPE driver.trigger.sbhw.uart.set_type_py(type_py = enums.SbusUartTriggerType.BRKC)
Selects the trigger type condition.
- Parameters:
type_py – STBT: Start bit PCKS: Packet start DATA: Serial pattern PRER: Parity error BRKC: Break condition STPerror: Stop error