TypePy

SCPI Command :

SEARch:TRIGger:SPI:TYPE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(search: str) BusSpiType[source]
# SEARch:TRIGger:SPI:TYPE
value: enums.BusSpiType = driver.search.trigger.spi.typePy.get(search = 'abc')

Sets the event to be searched for.

Returns:

type_py: SSACtive | TIMeout | MOSI | MISO | MOMI

  • SSACtive: Searches for the start of the frame when slave select signal SS changes to the active state. This type is available if the slave select line is configured in the bus setup, and BUSb:SPI:FRCondition is SS.

  • TIMeout: Searches for the start of the frame when the clock idle time exceeds the timeout. This type is available if the slave select line is configured in the bus setup, and BUSb:SPI:FRCondition is CLKTimeout.

  • MOSI | MISO: Searches for a specified data pattern expected on the MOSI line or on the MISO line, respectively.

  • MOMI: Searches in parallel for specified data patterns expected on the MOSI and MISO lines.

set(search: str, type_py: BusSpiType) None[source]
# SEARch:TRIGger:SPI:TYPE
driver.search.trigger.spi.typePy.set(search = 'abc', type_py = enums.BusSpiType.MISO)

Sets the event to be searched for.

Parameters:

type_py

SSACtive | TIMeout | MOSI | MISO | MOMI

  • SSACtive: Searches for the start of the frame when slave select signal SS changes to the active state. This type is available if the slave select line is configured in the bus setup, and BUSb:SPI:FRCondition is SS.

  • TIMeout: Searches for the start of the frame when the clock idle time exceeds the timeout. This type is available if the slave select line is configured in the bus setup, and BUSb:SPI:FRCondition is CLKTimeout.

  • MOSI | MISO: Searches for a specified data pattern expected on the MOSI line or on the MISO line, respectively.

  • MOMI: Searches in parallel for specified data patterns expected on the MOSI and MISO lines.