Existing pin-logging code was commented out. I've made this selectable at run-time with the ability to export logs.
Added capabilities
Runtime enable/disable/reset of logging
Export of a single pin or all pins matching a regex to VCD file format which can be imported into PulseView.
Sample after importing pins matching ^X_ into PulseView:
Known Issues
Changing logging state or resetting logs while not paused can crash
There is nothing protecting access to the logging data structures, so if a pin state is changed while the log is being cleared errors can occur.
The file selection dialog is not very good
I reused the file dialog from the file streaming option. It doesn't actually guarantee a ".vcd" file extension, and could use improvement.
Existing pin-logging code was commented out. I've made this selectable at run-time with the ability to export logs.
Added capabilities
Runtime enable/disable/reset of logging
Export of a single pin or all pins matching a regex to VCD file format which can be imported into PulseView.
Sample after importing pins matching
^X_
into PulseView:Known Issues
Changing logging state or resetting logs while not paused can crash There is nothing protecting access to the logging data structures, so if a pin state is changed while the log is being cleared errors can occur.
The file selection dialog is not very good I reused the file dialog from the file streaming option. It doesn't actually guarantee a ".vcd" file extension, and could use improvement.