Data Transfer Commands 5-107
SR785 Dynamic Signal Analyzer
Data Transfer Commands
DSPN ? d
The DSPN ? command queries the length of display d. The parameter d selects
Display A (0) or Display B (1).
The returned value is the length (number of points or bins) of display d. The
points are numbered from 0 to (length-1).
Always use the DSPN ? command to determine the display length before reading
all of the data from a display.
DSPY ? d {, j}
The DSPY ? command queries the data in display d. The parameter d selects
Display A (0) or Display B (1).
The DSPY ? d, j command queries the data value of bin j only. The bins are
numbered from 0 to length-1. The value is returned as an ASCII real number.
The DSPY ? d command queries all of the data in display d. Do not serial poll
for IFC (bit 7) in the Serial Poll status after this command is sent. IFC will NOT
be set until the transfer is complete. Send the command and then make the host
computer a listener and the SR785 a talker. Data is returned continuously
starting with bin 0 and ending with bin #(length-1). The data points are ASCII
real numbers, separated by commas, and the last data point is followed by a
terminator. If the DSPY? d command is used with the RS232 interface, the host
computer interface must be fast enough to keep up with the data stream.
The DSPY ? command returns data from the last available display update. To
keep the data static, pause the measurement or take the display Off-Line.
The returned data depends upon the display View and Units. The data values are
the same as if they were read with the marker. In the case of a 2-D view (Nyquist
or Nichols), two values per bin are returned (separated by a comma). The values
are in the same order as shown in the Marker Position Bar. In this case, there are
twice as many points returned.
To read the data in a Trace, recall the Trace to a display and then read the
display.
When the display d is a waterfall display, this command queries the value for the
trace corresponding to the waterfall marker.
REFY ? d, j
The REFY ? command queries the data in Reference Graph of display d. The
parameter d selects Display A (0) or Display B (1). An error occurs if the display
has no Reference Graph.
Summary of Contents for SR785
Page 4: ...ii ...
Page 10: ...viii ...
Page 80: ...1 64 Exceedance Statistics ...
Page 158: ...2 78 Curve Fitting and Synthesis SR785 Dynamic Signal Analyzer ...
Page 536: ...5 136 Example Program SR785 Dynamic Signal Analyzer ...