Hi,

I am reading s-parameters from my PNA-X N5247A to Matlab, and so far it works fine. Right now I am using a measurement name for each s-parameter to save the data like this:

...

fprintf(instrObj,'CALCulate:PARameter:DEFine:EXT ''SParamMeasurementS11'',S11');

fprintf(instrObj,'CALCulate:PARameter:DEFine:EXT ''SParamMeasurementS21'',S21');

fprintf(instrObj,'CALCulate:PARameter:DEFine:EXT ''SParamMeasurementS12'',S12');

fprintf(instrObj,'CALCulate:PARameter:DEFine:EXT ''SParamMeasurementS22'',S22');

...

fprintf(instrObj, 'CALC:DATA:SNP:PORTs? ''1,2''');

...

I think (correct me if I'm wrong), that like this, Port1 is turned on twice, once for S11 and once for S21 measurement. Now my question is, if it is possible to measure S11 and S21 at the same time, so that Port1 needs to be turned on only once. Because right now the Measurements take quite a long time, and i am looking for a way to shorten this time needed.

Or maybe any idea what is the most effective (time saving) way to get s-parameters?

thx

Laurenz

I am reading s-parameters from my PNA-X N5247A to Matlab, and so far it works fine. Right now I am using a measurement name for each s-parameter to save the data like this:

...

fprintf(instrObj,'CALCulate:PARameter:DEFine:EXT ''SParamMeasurementS11'',S11');

fprintf(instrObj,'CALCulate:PARameter:DEFine:EXT ''SParamMeasurementS21'',S21');

fprintf(instrObj,'CALCulate:PARameter:DEFine:EXT ''SParamMeasurementS12'',S12');

fprintf(instrObj,'CALCulate:PARameter:DEFine:EXT ''SParamMeasurementS22'',S22');

...

fprintf(instrObj, 'CALC:DATA:SNP:PORTs? ''1,2''');

...

I think (correct me if I'm wrong), that like this, Port1 is turned on twice, once for S11 and once for S21 measurement. Now my question is, if it is possible to measure S11 and S21 at the same time, so that Port1 needs to be turned on only once. Because right now the Measurements take quite a long time, and i am looking for a way to shorten this time needed.

Or maybe any idea what is the most effective (time saving) way to get s-parameters?

thx

Laurenz

In this particular case, no optimization is really needed. There are some tricks that could make a minor improvement, such as Fast Sweep.

If you let us know the PNA model, the freq range you are sweeping, IFBW, number of points, and the times you are seeing, we could tell you if you are in the right ballpark.

Are you also using averaging?