5-114 Data Transfer Commands
SR785 Dynamic Signal Analyzer
Host
Send CGET ? i, j. Do NOT wait for IFC to be set in the Serial Poll status.
SR785
Returns n (4-byte binary long int) which is the number of bytes needed to
transfer the Capture buffer.
Host
On receipt of n (4-byte binary long int), executes a binary read from the SR785
of n bytes. Expect EOI with the final byte of the transfer.
Serial Poll until IFC (bit 7) is set in the Serial Poll status before sending another
command.
CPUT ? i
The CPUT command downloads Capture buffer data to the SR785. This
command is valid only via the GPIB interface. The parameter i selects Ch1 (0) or
Ch2 (1). After the download is complete, the Capture Length will be set to the
length of the download.
The download data must be data which was originally uploaded by CGET in its
entirety. The CGET and CPUT commands allow a host computer to save and
reload the Capture buffer without using disks.
The download sequence is as follows:
Host
Send CPUT ? i. Do NOT wait for IFC to be set in the Serial Poll status.
SR785
Returns 1 (4-byte binary long int) when OK to begin binary transfer to the
SR785. A return of 0 indicates that there is no Capture memory allocated.
Host
On receipt of 1 (4-byte binary long int), executes a binary transfer to the SR785
of n bytes (as uploaded using CGET). Asserts EOI with the final byte of the
transfer.
SR785
Receives n bytes and the EOI. If an error is detected during transfer, the Capture
buffer reverts to the empty state and a command execution error occurs. This
may occur if there is insufficient Capture memory allocated.
Serial Poll until IFC (bit 7) is set in the Serial Poll status before sending another
command.
WGET ?
The WGET command uploads the Waterfall buffer to the host computer. This
command is valid only via the GPIB interface.
Содержание 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 ...