Data
SCPI Command :
TRIGger<*>:USB:DATA
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(trigger=Trigger.Default) BusUsbDataType[source]
# TRIGger<*>:USB:DATA value: enums.BusUsbDataType = driver.trigger.usb.data.get(trigger = repcap.Trigger.Default)
Sets the trigger to one out of four different payload data types: DATA0, DATA1, DATA2, or MDATA.
- Parameters:
trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)
- Returns:
usb_data_type: D0 | D1 | D2 | MD
D0: Sets the trigger to the DATA0 field (even PID) .
D1: Sets the trigger to the DATA1 field (odd PID) .
D2: Sets the trigger to the DATA2 field (data packet PID for high-speed, high bandwidth isochronous transaction in a microframe) .
MD: Sets the trigger to the MDATA field (high-speed data packet PID for split and high bandwidth isochronous transactions) .
- set(usb_data_type: BusUsbDataType, trigger=Trigger.Default) None[source]
# TRIGger<*>:USB:DATA driver.trigger.usb.data.set(usb_data_type = enums.BusUsbDataType.ANY, trigger = repcap.Trigger.Default)
Sets the trigger to one out of four different payload data types: DATA0, DATA1, DATA2, or MDATA.
- Parameters:
usb_data_type –
D0 | D1 | D2 | MD
D0: Sets the trigger to the DATA0 field (even PID) .
D1: Sets the trigger to the DATA1 field (odd PID) .
D2: Sets the trigger to the DATA2 field (data packet PID for high-speed, high bandwidth isochronous transaction in a microframe) .
MD: Sets the trigger to the MDATA field (high-speed data packet PID for split and high bandwidth isochronous transactions) .
trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)