AnsweredAssumed Answered

SCPI trace data on the N9340B

Question asked by jeremyherbert on Jan 28, 2016
Latest reply on Feb 12, 2016 by am95405

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


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 :) 


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