TypePy

SCPI Command :

TRIGger<*>:I2S:TYPE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(trigger=Trigger.Default) BusI2sType[source]
# TRIGger<*>:I2S:TYPE
value: enums.BusI2sType = driver.trigger.i2S.typePy.get(trigger = repcap.Trigger.Default)

Selects the trigger type for audio signal analysis.

Parameters:

trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)

Returns:

type_py: DATA | WINDow | CONDition | WSELect | ECONdition

  • DATA: Triggers on a data word or data range on a specified channel or on any channel.To set the channel, use TRIGgert:I2S:TCONditionn:CHANnel.To set the data condition, use:TRIGgert:I2S:TCONditionn:CONDtion, TRIGgert:I2S:TCONditionn:DMIN and TRIGgert:I2S:TCONditionn:DMAX.

  • WINDow: Triggers if the decoded data values stay inside a ‘window’ that is formed by a data range and a time specified by a number of subsequent words. It considers a selected channel or all channels.To set up a window trigger, you define the channel and data condition in the same way as for DATA trigger type. Additionally, you set the time limit with TRIGgert:I2S:SOWords.

  • CONDition: The frame condition trigger sets the trigger on an AND combination of data conditions on different channels. The instrument triggers if all conditions are met inside one frame.To set up a CONDition trigger, you define up to four channel and data conditions in the same way as for DATA trigger type.

  • WSELect: WordSELect: Triggers on the selected edge of the WS line (I²S standard, left- and right-justified) . For TDM signals, it triggers on the selected edge of the FSYNC line. Set the edge with TRIGgert:I2S:WSSLope.

  • ECONdition: ErrorCONdition: Triggers on irregularities between the WS or FSYNC edges.

set(type_py: BusI2sType, trigger=Trigger.Default) None[source]
# TRIGger<*>:I2S:TYPE
driver.trigger.i2S.typePy.set(type_py = enums.BusI2sType.CONDition, trigger = repcap.Trigger.Default)

Selects the trigger type for audio signal analysis.

Parameters:
  • type_py

    DATA | WINDow | CONDition | WSELect | ECONdition

    • DATA: Triggers on a data word or data range on a specified channel or on any channel.To set the channel, use TRIGgert:I2S:TCONditionn:CHANnel.To set the data condition, use:TRIGgert:I2S:TCONditionn:CONDtion, TRIGgert:I2S:TCONditionn:DMIN and TRIGgert:I2S:TCONditionn:DMAX.

    • WINDow: Triggers if the decoded data values stay inside a ‘window’ that is formed by a data range and a time specified by a number of subsequent words. It considers a selected channel or all channels.To set up a window trigger, you define the channel and data condition in the same way as for DATA trigger type. Additionally, you set the time limit with TRIGgert:I2S:SOWords.

    • CONDition: The frame condition trigger sets the trigger on an AND combination of data conditions on different channels. The instrument triggers if all conditions are met inside one frame.To set up a CONDition trigger, you define up to four channel and data conditions in the same way as for DATA trigger type.

    • WSELect: WordSELect: Triggers on the selected edge of the WS line (I²S standard, left- and right-justified) . For TDM signals, it triggers on the selected edge of the FSYNC line. Set the edge with TRIGgert:I2S:WSSLope.

    • ECONdition: ErrorCONdition: Triggers on irregularities between the WS or FSYNC edges.

  • trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)