5-108 Data Transfer Commands
SR785 Dynamic Signal Analyzer
The REFY ? d, j command queries the Reference Graph 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 returned data depends upon the display View and Units. The data values are
the same as if they were read with a marker.
DSPB ? d {, j}
The DSPB? d command returns the data in display d in binary format. The
parameter d selects Display A (0) or Display B (1). This command is only
available with the GPIB interface.
The DSPB ? d, j command returns the data value of bin j only. The bins are
numbered from 0 to length-1. The value is returned as a 4 byte IEEE float.
The DSPB ? d command returns all of the data in display d in binary format.
Do not serial poll for IFC (bit 7) in the Serial Poll status after DSPB ? 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.
The DSPB? d returns 4 bytes per bin starting with bin 0 and continuing to bin
#(length-1). There is no separation between data points. No line-feed follows the
last data point, instead, EOI is asserted with the last byte. The 4 bytes are an
IEEE floating point number.
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 (8 bytes per bin). The first value is
the Y axis value and the second is the X axis value. In this case, there are twice
as many points returned.
The host interface must be capable of binary transfer, i.e. accepting line feeds
and carriage returns as data rather than terminators. In addition, the host program
must read exactly the correct number of bytes (4xlength or 8xlength). While a
binary transfer is in progress, the analyzer will not respond to any other queries
and the displays will not update.
If the host program does not start reading the points within 1 second, or pauses
for 1 second while reading, the binary transfer will be aborted.
To read the data in a Trace, recall the Trace to a display and then read the
display.
DBIN ? d, j
The DBIN? command queries the frequency or time of bin j in display d. The
parameter d selects Display A (0) or Display B (1). The parameter j is bin from 0
to length-1.
Содержание SR785
Страница 4: ...ii ...
Страница 10: ...viii ...
Страница 80: ...1 64 Exceedance Statistics ...
Страница 158: ...2 78 Curve Fitting and Synthesis SR785 Dynamic Signal Analyzer ...
Страница 536: ...5 136 Example Program SR785 Dynamic Signal Analyzer ...