EasyManua.ls Logo

LeCroy 9450 - Page 173

LeCroy 9450
232 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
System Commands 5
Response format
EXAMPLE (GPIB)
RELATED COMMANDS
<trace>:WaveForm <block>,<wave form_data_block>
Note: It may be convenient to disable the response header if the
wave form is to be restored. Refer to command COMM HEADER
for further details.
1) The following command reads the block DAT1 from Memory C
and saves it in the file "MEMC.DAT". The path header "MC:"
is saved together with the data.
FILES = "MEMC.DAT"
CMD$ = "MC:WF? DATI"
CALL IBWRT(SCOPE%,CMD$)
CALL IBRDF(SCOPE%,FILE$)
2)
In the following example, the entire contents of Channel 1 are
saved in the file "CHAN1.DAT". The path header "CI:" is
skipped to ensure that the data can later be recalled into the
oscilloscope.
FILES = "CHAN1.DAT" :RD$=SPACE$ (3)
CMD$ = "CHDR SHORT; CI:WF?"
CALL IBWRT(SCOPE%,CMD$)
CALL IBRD(SCOPE%,RD$) Skip first 3 characters "CI:"
CALL IBRDF(SCOPE%,FILE$) Save data in the file
"CHAN 1. DAT"
3)
The following example illustrates how the waveform data saved
in example 2) can be recalled into Memory C.
FILES = "CHAN1.DAT"
CMD$ = MC:TRACE ON"
CALL IBWRT(SCOPE%,CMD$)
CALL IBWRTF(SCOPE%,FILE$)
The MC:TRACE ON command ensures that the <trace> is set
to "MC". When the data file is sent to the instrument, it first
sees the header "WF" (the characters "CI:" having been
skipped when reading the file) and assumes the default destina-
tion "MC".
INSPECT?, COMM FORMAT,
TION_STATE:I:, q~EMPLATE?,
WAVEFORM TEXT,
COMM-ORDER, FUNC-
WAVEFORM_SETUP,
:1: 4-channel oscilloscopes only
167

Table of Contents

Other manuals for LeCroy 9450

Related product manuals