save_screenshot()#

InstroScope.save_screenshot(
filepath: str,
to_instrument: bool = False,
**kwargs,
) → Command[source]#

Capture a screenshot and save it. to_instrument=True writes to the scope’s filesystem; otherwise to the host.