- Open a VISA connection to the oscilloscope using its VISA address.
- Send SCPI commands to the oscilloscope to capture the screen image.
- Read the image data from the oscilloscope.
- Save the image data to a file on the PC.
- Close the VISA connection.
- Adjust the VISA address string to match required oscilloscope’s address.
- Check the oscilloscope's manual for the correct SCPI commands if the ones provided don't work. The commands I've used (SAVE:IMAGE:FILEFORMAT and HARDCOPY START) are common, but required oscilloscope's manual may specify different ones.
- Buffer Size: If the image data is larger than the input buffer, consider increasing the “InputBufferSize”.
- Snap_scope function (File Exchange): https://www.mathworks.com/matlabcentral/fileexchange/5639-snap_scope?s_tid=srchtitle_support_results_2_get%20image%20from%20oscilloscope
- Oscilloscope App to read waveform data (ML Answer): https://www.mathworks.com/matlabcentral/answers/403640-is-there-an-example-app-for-reading-waveform-data-from-an-oscilloscope?s_tid=answers_rc1-1_p1_Topic
- Acquire data from a Tektronix RSA 306 using Instrument Control Toolbox (ML Answer): https://www.mathworks.com/matlabcentral/answers/251299-is-it-possible-to-acquire-data-from-a-tektronix-rsa-306-real-time-signal-analyzer-using-instrument?s_tid=answers_rc1-1_p1_Topic
- Oscilloscope App (File Exchange): https://www.mathworks.com/matlabcentral/fileexchange/69847-oscilloscope-app?s_tid=answers_rc2-1_p4_BOTH