Data
SCPI Command :
BUS<*>:USB:PACKet<*>:DATA
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default, busUsbPacket=BusUsbPacket.Default) int[source]
# BUS<*>:USB:PACKet<*>:DATA value: int = driver.bus.usb.packet.data.get(bus = repcap.Bus.Default, busUsbPacket = repcap.BusUsbPacket.Default)
Returns the payload data from the packet with the selected packet number (for the selected serial bus) .
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
busUsbPacket – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Packet’)
- Returns:
data: Comma-separated sequence of integer values (N, D1, D2,…, DN) . N is the number of bytes in the packet. and D1…DN are the values of the bytes.