TypePy
SCPI Command :
TRIGger<*>:USB:TYPE
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(trigger=Trigger.Default) BusUsbType[source]
# TRIGger<*>:USB:TYPE value: enums.BusUsbType = driver.trigger.usb.typePy.get(trigger = repcap.Trigger.Default)
Selects the trigger type for USB analysis. The available trigger types depend on the activated USB protocol type.
- Parameters:
trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)
- Returns:
type_py: SOP | EOP | RST | SUSPend | RESume | TOKen | DATA | HANDshake | SPECial | ERRCond
SOP: Sets the trigger to the SOP (start of packet) field. The start of packet condition is the end of the SYNC field. The trigger instant is the end of the SOP field.
EOP: Sets the trigger to the EOP (end of packet) field. Not available for USB High Speed and USB HSIC protocol types. The trigger instant is the beginning of the EOP field.
RST: Sets the trigger to the Reset field. Not available for USB High Speed and USB HSIC protocol types. For more information on the reset condition, see the USB standard. The trigger instant is the end of the 10 ms period after the SE0 field.
SUSPend: Sets the trigger to the Suspend field. Not available for USB High Speed and USB HSIC protocol types. For more information on the suspend condition, see the USB standard. The trigger instant will be declared after the defined 3 ms timeout.
RESume: Sets the trigger to the Resume field. Not available for USB High Speed and USB HSIC protocol types. For more information on the resume condition, see the USB standard. The trigger instant will be declared after the defined 20 ms timeout.
TOKen: Sets the trigger to one out of four different token trigger types: OUT, IN, SOF, or SETUP.
DATA: Sets the trigger to one out of four different data trigger types: DATA0, DATA1, DATA2, or MDATA.
HANDshake: Sets the trigger to one out of four different handshake trigger types: ACK, NAK, STALL, or NYET.
SPECial: Sets the trigger to one out of four different Special PID trigger types: PREamble, ERR, SPLIT, or PING.
ERRCond: Sets the trigger to one out of seven different error condition trigger types: PID error, CRC5 error, CRC16 error, Bitstuffing error, Unexpected PID error, SE1 error, or Glitching error.
- set(type_py: BusUsbType, trigger=Trigger.Default) None[source]
# TRIGger<*>:USB:TYPE driver.trigger.usb.typePy.set(type_py = enums.BusUsbType.DATA, trigger = repcap.Trigger.Default)
Selects the trigger type for USB analysis. The available trigger types depend on the activated USB protocol type.
- Parameters:
type_py –
SOP | EOP | RST | SUSPend | RESume | TOKen | DATA | HANDshake | SPECial | ERRCond
SOP: Sets the trigger to the SOP (start of packet) field. The start of packet condition is the end of the SYNC field. The trigger instant is the end of the SOP field.
EOP: Sets the trigger to the EOP (end of packet) field. Not available for USB High Speed and USB HSIC protocol types. The trigger instant is the beginning of the EOP field.
RST: Sets the trigger to the Reset field. Not available for USB High Speed and USB HSIC protocol types. For more information on the reset condition, see the USB standard. The trigger instant is the end of the 10 ms period after the SE0 field.
SUSPend: Sets the trigger to the Suspend field. Not available for USB High Speed and USB HSIC protocol types. For more information on the suspend condition, see the USB standard. The trigger instant will be declared after the defined 3 ms timeout.
RESume: Sets the trigger to the Resume field. Not available for USB High Speed and USB HSIC protocol types. For more information on the resume condition, see the USB standard. The trigger instant will be declared after the defined 20 ms timeout.
TOKen: Sets the trigger to one out of four different token trigger types: OUT, IN, SOF, or SETUP.
DATA: Sets the trigger to one out of four different data trigger types: DATA0, DATA1, DATA2, or MDATA.
HANDshake: Sets the trigger to one out of four different handshake trigger types: ACK, NAK, STALL, or NYET.
SPECial: Sets the trigger to one out of four different Special PID trigger types: PREamble, ERR, SPLIT, or PING.
ERRCond: Sets the trigger to one out of seven different error condition trigger types: PID error, CRC5 error, CRC16 error, Bitstuffing error, Unexpected PID error, SE1 error, or Glitching error.
trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)