Programming
1053
Entering Data into a Trace
• Overview
• Sample Program
Other topics about Reading-Writing Measurement Data
Overview
You can change the data/memory trace on the LCD by writing the new
data into the Formatted data array/Formatted memory arrays.
When you write data into formatted data/memory array, you can choose
either the ASCII or binary transfer format (see Data Transfer Format).
Using the ASCII Transfer Format to Write Formatted Data Arrays
(write_a.htb) and Using the Binary Transfer Format to Write Formatted
Data Arrays (write_b.htb) show sample programs that demonstrate how to
write data into formatted data arrays. The sample program in Using the
ASCII Transfer Format to Write Formatted Data Arrays (write_a.htb) uses
the ASCII transfer format while the sample in Using the Binary Transfer
Format to Write Formatted Data Arrays (write_b.htb) uses the binary
transfer format. You can find the source files of these programs, named
write_a.htb and write_b.htb, on the sample program disk.
Each of the sample programs holds the sweep on channel 1, retrieves the
data from a specified file (a file saved measurement data using the
:MMEM:STOR:FDAT command), and populates trace 1 for channel 1 with
the retrieved data.
Sample Program
See Writing Data in Ascii Format and Writing Data in Binary Format.