AnsweredAssumed Answered

SCPI command to store a screenshot of my PNA E8357A VNA analyzer screen to a file

Question asked by DigtalDeath on Jun 26, 2017
Latest reply on Jun 26, 2017 by DigtalDeath

Hello,

I need the SCPI command sequence to store a screenshot of my PNA E8357A VNA analyzer screen to a file in the Documents directory on the analyzer and if possible also the command to send it to my PC.

I'm communicating with the analyzer via LAN using the C# example provided by Keysight and the communication is working perfectly so far. I can get for instance CATalog file names and all that.
I just can't find the commands to do the screenshot that works in an E8357A VNA.


I sent these commands:

Parse(client, ":MMEM:CAT? \"C:\\Documents\"");
Parse(client, ":MMEM:STOR:SCR \"C:\\Documents\\screen.png\"");

 

They were correctly received like this:
Sent: :MMEM:CAT? "C:\Documents"
Sent: :MMEM:STOR:SCR "C:\Documents\screen.png"

 

it seems to me that the :MMEM:STOR:SCR command doesn't work in the E8357A VNA.

This is what I see in the console screen:
---------------------------------

Sent: *IDN?
Received: Agilent Technologies,E8357A,US42070577,A.07.50.67

Sent: *CLS
Sent: *ESE 1
Sent: *SRE 32
Sent: SYSTem:PRESet;*OPC
Sent: :MMEM:CAT? "C:\Documents"
Received: ??
Received: "30dB High Power Attenuator Male Right.s2p,Setup for 30dB Att and Amp.cst"

Sent: :MMEM:STOR:SCR "C:\Documents\screen.png"
Sent: DCL
Received: ?? Welcome to the Agilent PNA Network Analyzer at AGILENT-F192843

SCPI>
/n Press Enter to continue...
---------------------------------

Thanks in advance.

Outcomes