print_readable_snapshot#
- ZIChannelList.print_readable_snapshot(update: bool = True, max_chars: int = 80) None [source]#
Prints a readable version of the snapshot.
The readable snapshot includes the name, value and unit of each parameter. A convenience function to quickly get an overview of the status of an instrument.
- Parameters:
update (bool) – If
True
, update the state by querying the instrument. IfFalse
, just use the latest values in memory. This argument gets passed to the snapshot function.max_chars (int) – the maximum number of characters per line. The readable snapshot will be cropped if this value is exceeded. Defaults to 80 to be consistent with default terminal width.
- Return type:
None