get_screenshot_data
Capture the oscilloscope's current screen bitmap and save it to a local file under MHO98_DATA_DIR, returning only the file path and size instead of the image blob.
Instructions
Fetch the current screen bitmap via :SAVE:IMAGe:DATA? and write it to a LOCAL file under MHO98_DATA_DIR (alternative to the display subsystem's :DISPlay:DATA? screenshot). Only path + size are returned, never the blob.
The image honors the :SAVE:IMAGe:* options (color/invert/header/format,
see configure_save). Format is sniffed from the magic bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |