summaryrefslogtreecommitdiff
path: root/decoders/usb_request/__init__.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2019-12-07 08:51:16 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-12-07 15:43:50 +0100
commit962983f35ea4c1cdcef12e02971791cc80653dcb (patch)
tree35812534354e1de4f1bf3b793a47253aacb89a73 /decoders/usb_request/__init__.py
parent185db8f1dd104444a63b080ed9e02f20a1b20a58 (diff)
downloadlibsigrokdecode-962983f35ea4c1cdcef12e02971791cc80653dcb.tar.gz
libsigrokdecode-962983f35ea4c1cdcef12e02971791cc80653dcb.zip
ieee488: introduce 'delim' option for improved text output
When a capture contains output from a talking device, but neither contains EOI (end of transmission) nor ATN (new commands, including changes in the set of communicating peers or communication direction), then lower layer data bytes would be shown but accumulated runs of upper layer payload data would not. The hp53131a-ton.sr capture demonstrates this behaviour. Add transparent support for the typical case of communicating SCPI over GPIB. Do emit upper layer payload data annotations when termination sequences for text lines were seen. Allow users to disable this feature when it's not appropriate for binary content. It's an internal implementation detail that accumulated data gets flushed. Communicate the user visible option as "payload data separation", which should most appropriately reflect the resulting behaviour. The specific implementation of this feature can also support different kinds of payload chunk separation.
Diffstat (limited to 'decoders/usb_request/__init__.py')
0 files changed, 0 insertions, 0 deletions