Token

SCPI Command :

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

Defines, which token packet type is searched for: OUT, IN, SOF, SETUP, or Any token packet.

Returns:

usb_token_type: ANY | OUT | IN | SOF | SETup

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

  • OUT: Searches for an OUT token.

  • IN: Searches for an IN token.

  • SOF: Searches for a start of frame (SOF) token.

  • SETup: Searches for a SETup token.

set(search: str, usb_token_type: BusUsbTokenType) None[source]
# SEARch:TRIGger:USB:TOKen
driver.search.trigger.usb.token.set(search = 'abc', usb_token_type = enums.BusUsbTokenType.ANY)

Defines, which token packet type is searched for: OUT, IN, SOF, SETUP, or Any token packet.

Parameters:

usb_token_type

ANY | OUT | IN | SOF | SETup

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

  • OUT: Searches for an OUT token.

  • IN: Searches for an IN token.

  • SOF: Searches for a start of frame (SOF) token.

  • SETup: Searches for a SETup token.