Hi,

I am trying to dump the trace data out of an N9340B. Looking through the programming manual, it is easy to get the y axis data, but I am unsure of how to get the x axis data and I can't seem to find any references to it in there. Specifically, I am wondering which of the following two formulae is correct (if either!) as I am not sure how it segments the bins:

N = number of bins (integer)

Fstart = start frequency

Fstop = stop frequency

F = frequency at *bin center*

X = bin number (integer)

F = X * (Fstop - Fstart) / (N-1) + Fstart

or

F = (X + 0.5) * (Fstop - Fstart) / (N-1) + Fstart

Can anyone help me with this? Alternatively, if I have missed where this is documented, it would be great if you could point out to me where it is :)

Thanks!

Edited by: jeremyherbert on Jan 28, 2016 6:18 AM; off by 1 error

I am trying to dump the trace data out of an N9340B. Looking through the programming manual, it is easy to get the y axis data, but I am unsure of how to get the x axis data and I can't seem to find any references to it in there. Specifically, I am wondering which of the following two formulae is correct (if either!) as I am not sure how it segments the bins:

N = number of bins (integer)

Fstart = start frequency

Fstop = stop frequency

F = frequency at *bin center*

X = bin number (integer)

F = X * (Fstop - Fstart) / (N-1) + Fstart

or

F = (X + 0.5) * (Fstop - Fstart) / (N-1) + Fstart

Can anyone help me with this? Alternatively, if I have missed where this is documented, it would be great if you could point out to me where it is :)

Thanks!

Edited by: jeremyherbert on Jan 28, 2016 6:18 AM; off by 1 error

Check out this programming example for N9912A. Maybe it will help out?

http://na.support.keysight.com/fieldfox/help/Programming/webhelp/Examples/N9912A_SpecAn_Get_Data_as_ASCII_Output_IMAGE.png

There are a few FieldFox programming examples that perhaps you will find helpful. though I am not sure if FieldFox and N9340B behave the same way. I would hope so, for something simple, but I am not 100% sure.

http://na.support.keysight.com/fieldfox/help/Programming/webhelp/FFProgrammingHelp.htm

Afsi Moaveni

Edited by: am95405 on Feb 12, 2016 2:16 PM