Port

SCPI Command :

BUS<*>:USB:PACKet<*>:PORT
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default, busUsbPacket=BusUsbPacket.Default) int[source]
# BUS<*>:USB:PACKet<*>:PORT
value: int = driver.bus.usb.packet.port.get(bus = repcap.Bus.Default, busUsbPacket = repcap.BusUsbPacket.Default)

Returns the port number for the selected serial bus and packet number.

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:

port: 0 to 127