TypePy
SCPI Command :
BUS<*>:ETHernet:WORD<*>:TYPE
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default, word=Word.Default) int[source]
# BUS<*>:ETHernet:WORD<*>:TYPE value: int = driver.bus.ethernet.word.typePy.get(bus = repcap.Bus.Default, word = repcap.Word.Default)
The sub-protocol (e.g. HTML, video, etc.) determines what meaning this field has. Since the content of this data area is not decoded, the interpretation of the TYPE field is ambivalent.
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
word – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Word’)
- Returns:
type_py: Returns the word type (specific for the sub-protocol) , or the length of the selected word.