Packets
SCPI Command :
BUS<*>:UART:PACKets
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default) BusUartPackets[source]
# BUS<*>:UART:PACKets value: enums.BusUartPackets = driver.bus.uart.packets.get(bus = repcap.Bus.Default)
Defines the method of packet separation. A packet is a number of subsequent words in a date stream.
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
- Returns:
packets: NONE | EWORd | TOUT
NONE: Packets are not considered.
EWORd: End word, the end condition of a packet is a pattern. To define the end word, use BUSb:UART:EWORd
TOUT: Defines a timeout between the packets. To set the timeout, use BUSb:UART:TOUT
- set(packets: BusUartPackets, bus=Bus.Default) None[source]
# BUS<*>:UART:PACKets driver.bus.uart.packets.set(packets = enums.BusUartPackets.EWORd, bus = repcap.Bus.Default)
Defines the method of packet separation. A packet is a number of subsequent words in a date stream.
- Parameters:
packets –
NONE | EWORd | TOUT
NONE: Packets are not considered.
EWORd: End word, the end condition of a packet is a pattern. To define the end word, use BUSb:UART:EWORd
TOUT: Defines a timeout between the packets. To set the timeout, use BUSb:UART:TOUT
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)