TypePy

SCPI Command :

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

Selects the type of frame to be triggered on.

Parameters:

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

Returns:

type_py: STARt | PATTern | ADVFrame | ADVCerror

  • STARt: Selects to trigger for the start of frame: search for the preamble and set the trigger instant thereafter.

  • PATTern: Selects to trigger for a bit pattern (data) to be specified in TRIGgert:ETHernet:PATTern.

  • ADVFrame: Sets the trigger to the advanced frame. You can further define the values of the frame.

  • ADVCerror: Sets the trigger to advanced error. You can further enable the error conditions you want to trigger on.

set(type_py: BusEthernetType, trigger=Trigger.Default) None[source]
# TRIGger<*>:ETHernet:TYPE
driver.trigger.ethernet.typePy.set(type_py = enums.BusEthernetType.ADVCerror, trigger = repcap.Trigger.Default)

Selects the type of frame to be triggered on.

Parameters:
  • type_py

    STARt | PATTern | ADVFrame | ADVCerror

    • STARt: Selects to trigger for the start of frame: search for the preamble and set the trigger instant thereafter.

    • PATTern: Selects to trigger for a bit pattern (data) to be specified in TRIGgert:ETHernet:PATTern.

    • ADVFrame: Sets the trigger to the advanced frame. You can further define the values of the frame.

    • ADVCerror: Sets the trigger to advanced error. You can further enable the error conditions you want to trigger on.

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