Screenshots
The NanoVNA-H can capture screenshots of the current display for documentation, troubleshooting, or sharing measurement results.
Capture to SD Card
Section titled “Capture to SD Card”- Set up your measurement and display as desired
- Tap the screen to open the menu
- Navigate to
SD CARD - Tap
CAPTUREorSCREENSHOT - The screen is saved to the SD card
The image is saved in BMP format with an auto-generated filename.
File Format
Section titled “File Format”Screenshots are saved in BMP format:
- Resolution: 320x240 (NanoVNA-H) or 480x320 (NanoVNA-H4)
- Color depth: 16-bit RGB565
- Filename: Sequential numbering (e.g.,
CAPTURE001.BMP)
TIFF Format (Optional)
Section titled “TIFF Format (Optional)”Some firmware versions support TIFF format with RLE compression:
- Smaller file size than BMP
- Enable via configuration if available
Capture via USB
Section titled “Capture via USB”Capture screenshots from a connected computer:
Shell Command
Section titled “Shell Command”captureThis sends raw pixel data over USB. Use PC software to decode:
With NanoVNASaver
Section titled “With NanoVNASaver”- Connect NanoVNA-H via USB
- Open NanoVNASaver
- Click the screenshot/capture button
- Save the image file
With Python
Section titled “With Python”import serialimport structfrom PIL import Image
# Connect to NanoVNAser = serial.Serial('/dev/ttyACM0', 115200)
# Request captureser.write(b'capture\r\n')
# Read pixel data (320x240x2 bytes for 16-bit RGB)data = ser.read(320 * 240 * 2)
# Convert to image (RGB565 to RGB888)# ... (conversion code needed)RLE Compressed Capture
Section titled “RLE Compressed Capture”For faster transfer over USB, use compressed capture:
capture 1This sends RLE-compressed 8-bit palette data:
- Smaller transfer size
- Faster capture
- Requires decoding on PC side
Practical Uses
Section titled “Practical Uses”Documentation
Section titled “Documentation”- Set up the measurement showing key data
- Adjust scaling for clarity
- Capture screenshot
- Include in documentation or reports
Troubleshooting
Section titled “Troubleshooting”- Reproduce the issue on screen
- Capture the display state
- Share screenshot for remote assistance
Before/After Comparison
Section titled “Before/After Comparison”- Capture “before” screenshot
- Make adjustments (tuning, modification)
- Capture “after” screenshot
- Compare the two images
Tips for Good Screenshots
Section titled “Tips for Good Screenshots”Shell Commands
Section titled “Shell Commands”# Capture raw (16-bit RGB)capture
# Capture RLE compressed (if supported)capture 1
# List captured files on SD cardsd_list *.BMPRetrieving Screenshots
Section titled “Retrieving Screenshots”From SD Card
Section titled “From SD Card”- Power off NanoVNA-H
- Remove SD card
- Insert in computer card reader
- Copy BMP files
Via Serial Command
Section titled “Via Serial Command”# List filessd_list *.BMP
# Read a specific file (outputs binary data)sd_read CAPTURE001.BMPFile Management
Section titled “File Management”Screenshots accumulate on the SD card. Periodically:
- Transfer files to computer
- Delete from SD card using file browser or
sd_deletecommand
# Delete a screenshotsd_delete CAPTURE001.BMPLimitations
Section titled “Limitations”- No PNG or JPEG support (BMP/TIFF only)
- Files saved to root directory only
- Sequential naming only (no custom names from device)
- SD card required for on-device capture