Programming Manual
–
T3AWG3K-C Series Arbitrary Waveform Generator
True-Arb Operating Mode
79
NOTE 1:
Only removable units and
"C:\Users\awg3000\Pictures\Saved_Pictures" directory are
accessible by MMEMory commands.
NOTE 2:
Only files with the following extension can be manipulated:
.jpeg, .png, .bmp, .jpg, .gif, .tiff, .zip, .txt, .trc, .bin.
Group
Mass memory
Syntax
MMEMory:DATA <file_name>,<start_index>,<block_data>
MMEMory:DATA? <file_name>[,<start_index>[,<size>]]
Related Commands
MMEMory:CDIRectory,
MMEMory:MSIS
Arguments
<file_name> ::= <string> could be absolute or relative path.
<start_index> ::= <NR1> is the index of byte of the desired
<file_name> where writing/reading operations will start.
<size> ::= <NR1> is the size, in bytes, to write/read.
<block_data> ::= see Block Data Format chapter (IEEE 488.2 data
block).
Returns
<block_data> ::= IEEE 488.2 block data format.
Example
Assuming the current <msus> is "C:" and current directory
"C:\Users\awg3000\Pictures\Saved Pictures".
MMEMORY:DATA "123.TXT",#13ABC loads "ABC" into 123.TXT in the
current directory.
MMEMory:DATA "dat
a.txt",1024,#2048XXXXXX… inserts 2048 bytes
specified by XXXXXX… values of in file "data.txt" in the current
directory.
MMEMory:DATA?
"D:\tmp\waveform.txt",2048,1024
returns
#41024XXXX…. where XXXX…. are 1024 bytes of file “waveform.txt"
located in "D:\
tmp” starting from 2048
-th byte.
Table 97: MMEMory:DATA
Command
MMEMory:DATA:SIZE? (Query Only)
Description
This command returns the size in bytes of a selected file.