Posted Sat, 24 Feb 2024 10:11:52 GMT by Koppanati, Mallikarjuna

Hi,

I was trying to take the screen capture of the scope in MSO5204B.
First, i could not able to find exact command for the operation, I am referring to 077-0010-25 RevA doc.
"Save & Recall" group doesn't have screencapture option.
I have seen similar options in "HARDCOPY" command group
EXPORT:FILENAME,FORMAT,PALETTE,READOUTS and after setting options, EXPORt:START initiates the export
Another method i saw was HARDCOPY:FILENAME,PALETTE, set HARDCOPY:PORT to FILE, then again initiate transfer using HARDCOPY:START. 
I could able to set the settings/options, but actual screenshot save is not happening.
One more way i saw in manual is,
In DISPLAY command group i saw DISPLAY:DATA? JPEG,FULLSCREEN,COLOR.
I tried writing the above command and readinf raw data or sent a query with the above command. Both ways i am getting timeout error.

I am using pyvisa in python to communicate with scope, No issue i see with scope, I can save csv file to Scopes file system, I can get csv data into python and process it. Screenshot i could not able to do it.

Posted Mon, 26 Feb 2024 09:41:28 GMT by Koppanati, Mallikarjuna
update.
When i am running EXPORT:START command or HARDCOPY:START command i am getting following error in scope.
attached screenshot.
 
Posted Mon, 26 Feb 2024 17:59:18 GMT by Teles, Afonso
Hi Mallikarjuna,

Here's some example code to get a hardcopy/screenshot from an MSO5kB: https://forum.tek.com/viewtopic.php?t=138614

You must be signed in to post in this forum.