Data

SCPI Command :

SEARch:TRIGger:USB:DATA
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(search: str) BusUsbDataType[source]
# SEARch:TRIGger:USB:DATA
value: enums.BusUsbDataType = driver.search.trigger.usb.data.get(search = 'abc')

Defines, which data packet type is searched for: DATA0, DATA1, DATA2, or MDATA, as well as Any data packet.

Returns:

usb_data_type: ANY | D0 | D1 | D2 | MD

  • ANY: Searches for any of the data packet types listed below

  • D0: Searches for a DATA0 packet (even PID)

  • D1: Searches for a DATA1 packet (odd PID)

  • D2: Searches for a DATA2 packet (high-speed data packet for high bandwidth isochronous transaction in a microframe)

  • MD: Searches for an MDATA packet (high-speed data packet for split and high bandwidth isochronous transactions)

set(search: str, usb_data_type: BusUsbDataType) None[source]
# SEARch:TRIGger:USB:DATA
driver.search.trigger.usb.data.set(search = 'abc', usb_data_type = enums.BusUsbDataType.ANY)

Defines, which data packet type is searched for: DATA0, DATA1, DATA2, or MDATA, as well as Any data packet.

Parameters:

usb_data_type

ANY | D0 | D1 | D2 | MD

  • ANY: Searches for any of the data packet types listed below

  • D0: Searches for a DATA0 packet (even PID)

  • D1: Searches for a DATA1 packet (odd PID)

  • D2: Searches for a DATA2 packet (high-speed data packet for high bandwidth isochronous transaction in a microframe)

  • MD: Searches for an MDATA packet (high-speed data packet for split and high bandwidth isochronous transactions)