Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent PNA N5224A


elf_esteem wrote:. Any help/suggestions?

 

 


Yes, read the Help file to understand what the command should be. Too much of a bother for you?

 

CALCulate<cnum>:DATA&colon;SNP:PORTs:SAVE <"x,y,z">,<filename>

 

0 Kudos
Message 21 of 25
(1,979 Views)

Hello nyc,

 

I've tried all of that. I've even run NI SPY, captured the entire command strings and sent it over to Agilent technical support, but it was of little help. 

 

P.S: I thought it was okay to post on this thread, or 'hijack' as you term it, since the owner had faced problems with the same command. Going through the Help file is not too much of a bother for me.

0 Kudos
Message 22 of 25
(1,974 Views)

Make sure you activate  at least 1 trace.

Example

CALC:PAR:SEL 'CH1_SDD11_1'

0 Kudos
Message 23 of 25
(1,928 Views)

On your previous post you have "measurement 1" as the active trace. The trace name/label should be from the PNA screen.

0 Kudos
Message 24 of 25
(1,926 Views)

Use the following command to setup the measurements for each trace/Spar

:CALC1:PAR:DEF:EXT "Meas_S11",S11;

All the spars for a port to port measuremetn must be defined for the command below to get and format the

SNP data to save to loacl VNA drive.

 

The command syntax I am using for the operation is

CALC1:DATA&colon;SNP:PORTs:Save '1,2' , 'C:/Program Files/Agilent/Network Analyzer/Documents/TempFile.s2p'

 

to transfer the data file from the LNA to the controller use. This command opens the VNA local data file

and copies the content into a string variable. This is then saved to controller using labview file commands

to open, save and close the S-ParFile.SNP to the controller to use.

MMEMory:TRANsfer? 'C:/Program Files/Agilent/Network Analyzer/Documents/TempFile.s2p'

 

This should cover everything you need. I use all these commands presently without error.

 

 

 

0 Kudos
Message 25 of 25
(1,912 Views)