Spi
SCPI Commands :
TRIGger:SBHW:SPI:TYPE
TRIGger:SBHW:SPI:DMINpattern
TRIGger:SBHW:SPI:PALignment
TRIGger:SBHW:SPI:FCONdition
TRIGger:SBHW:SPI:DPOSition
- Commands in total: 5Subgroups: 0Direct child commands: 5
- get_dmin_pattern() List[int][source]
# TRIGger:SBHW:SPI:DMINpattern value: List[int] = driver.trigger.sbhw.spi.get_dmin_pattern()
Specifies a data bit pattern, or sets the start value of a pattern range.
- get_dposition() int[source]
# TRIGger:SBHW:SPI:DPOSition value: int = driver.trigger.sbhw.spi.get_dposition()
Sets the number of bits or words to be ignored before the first bit or word of interest. The effect is defined by method
RsMxo.trigger.sbhw.spi.palignment().- Returns:
data_position: 1 to 4096
- get_fcondition() OperatorB[source]
# TRIGger:SBHW:SPI:FCONdition value: enums.OperatorB = driver.trigger.sbhw.spi.get_fcondition()
Selects the operator for the MISO and MOSI pattern.
- Returns:
data_operator: EQUal | NEQual | LTHan | LETHan | GTHan | GETHan
- get_palignment() DataAlignment[source]
# TRIGger:SBHW:SPI:PALignment value: enums.DataAlignment = driver.trigger.sbhw.spi.get_palignment()
Defines how the specified data pattern is searched.
- Returns:
data_alignment: WORD | BIT
WORD: The pattern is matched only at word boundaries.
BIT: Bit-by-bit: the pattern can start at any position in the message.
- get_type_py() SbusSpiTriggerType[source]
# TRIGger:SBHW:SPI:TYPE value: enums.SbusSpiTriggerType = driver.trigger.sbhw.spi.get_type_py()
Selects the trigger type for SPI analysis.
- Returns:
type_py: FRSTart | FRENd | MOSI | MISO
FRSTart: Triggers on the beginning of the frame.
FRENd: Triggers on the end of the frame.
MOSI: Triggers on a specified data pattern in that is expected on the MOSI line.
MISO: Triggers on a specified data pattern in that is expected on the MISO line.
- set_dmin_pattern(data_pattern: List[int]) None[source]
# TRIGger:SBHW:SPI:DMINpattern driver.trigger.sbhw.spi.set_dmin_pattern(data_pattern = [1, 2, 3])
Specifies a data bit pattern, or sets the start value of a pattern range.
- set_dposition(data_position: int) None[source]
# TRIGger:SBHW:SPI:DPOSition driver.trigger.sbhw.spi.set_dposition(data_position = 1)
Sets the number of bits or words to be ignored before the first bit or word of interest. The effect is defined by method
RsMxo.trigger.sbhw.spi.palignment().- Parameters:
data_position – 1 to 4096
- set_fcondition(data_operator: OperatorB) None[source]
# TRIGger:SBHW:SPI:FCONdition driver.trigger.sbhw.spi.set_fcondition(data_operator = enums.OperatorB.EQUal)
Selects the operator for the MISO and MOSI pattern.
- Parameters:
data_operator – EQUal | NEQual | LTHan | LETHan | GTHan | GETHan
- set_palignment(data_alignment: DataAlignment) None[source]
# TRIGger:SBHW:SPI:PALignment driver.trigger.sbhw.spi.set_palignment(data_alignment = enums.DataAlignment.BIT)
Defines how the specified data pattern is searched.
- Parameters:
data_alignment –
WORD | BIT
WORD: The pattern is matched only at word boundaries.
BIT: Bit-by-bit: the pattern can start at any position in the message.
- set_type_py(type_py: SbusSpiTriggerType) None[source]
# TRIGger:SBHW:SPI:TYPE driver.trigger.sbhw.spi.set_type_py(type_py = enums.SbusSpiTriggerType.FRENd)
Selects the trigger type for SPI analysis.
- Parameters:
type_py –
FRSTart | FRENd | MOSI | MISO
FRSTart: Triggers on the beginning of the frame.
FRENd: Triggers on the end of the frame.
MOSI: Triggers on a specified data pattern in that is expected on the MOSI line.
MISO: Triggers on a specified data pattern in that is expected on the MISO line.