AnsweredAssumed Answered

Read Data from N5245A GCA

Question asked by eabmo on Aug 12, 2011
Latest reply on Aug 12, 2011 by Dr_joel
Hello Engineers!

I am using the network analyser N5245A (PNA) and its GCA application.

What I am trying to do is simply read (transfer) the measured data from the PNA to my computer through GPIB. I have a working setup and all communication works fine except that I can not find a suitable command to transfer the data (frequency, input power, amplitude and phase, output power, amplitude and phase, gain, amplitude and phase, AI1 and AI2). From the menu all this data can be saved to a csv file which is great but I  want to transfer the data directly to my computer.

In the help file I have found these commands
CALC:GCD:DATA? "pin"
CALC:GCD:DATA? "pout"
but they will only give me the amplitude and not the phase and I found no way to get the frequency at which these measurements are taken.

I have also tried
CALC:DATA:SNP:PORTs? "1,2"
but that seems not to be suitable while in GCA.

Thanks for any help

Regards
Daniel

% start - extraction from the file
!CSV A.01.01
!Agilent Technologies,N5245A,MY49151133,A.09.33.07
!Date: Thursday, August, 11, 2011 14:06:31
!Source: GCA Sweep Data

Calibration State:,"OFF",,,,,,,
Num Freq Points:,3,,,,,,,
Num Power Points:,7,,,,,,,

Frequency,S11,,Pin Data,,Pout Data,,S21,,Delta Gain,,AI1,AI2,
<Hz>,<LogMag (dB)>,<Phase (Deg)>,<LogMag (dBm)>,<Phase (Deg)>,<LogMag (dBm)>,<Phase (Deg)>,<LogMag (dB)>,<Phase (Deg)>,<LogMag (dBm)>,<Phase (Deg)>,<Real (U)>,<Real (U)>

1.8e+010,-15.9791,5.31171,-25,0,-30.4931,102.367,-5.49312,102.367,0,0,0,0
1.8e+010,-15.9799,5.28939,0.226313,-125.902,-5.26147,-22.8444,-5.48779,103.058,0.00533169,0.690689,4.42585,4.25021
1.8e+010,-15.979,5.30687,1.22848,-122.504,-4.25538,-19.2813,-5.48386,103.222,0.0092615,0.855355,4.42679,4.25052
1.8e+010,-15.9789,5.30841,2.26431,-121.177,-3.21707,-17.7721,-5.48138,103.405,0.0117365,1.03826,4.42679,4.25083
1.8e+010,-15.9753,5.32957,3.29434,-116.916,-2.18666,-13.2918,-5.48099,103.624,0.0121258,1.25709,4.42679,4.25114
1.8e+010,-15.9733,5.33773,4.30406,-115.183,-1.17723,-11.2869,-5.48129,103.896,0.0118295,1.52869,4.42742,4.25021
1.8e+010,-15.9699,5.34242,5.29268,-111.516,-0.197095,-7.34507,-5.48977,104.171,0.00334598,1.80437,4.42804,4.25052
1.85e+010,-22.5161,57.1782,-25,0,-30.4659,-67.1005,-5.46586,-67.1005,0,0,0,0
1.85e+010,-22.5411,57.6722,0.126983,-57.8718,-5.31947,-124.334,-5.44646,-66.4618,0.0193997,0.638686,4.42742,4.24927
% end - extraction from the file  

Outcomes