Agilent X-Series Signal Generators SCPI Command Reference 125
System Commands
Memory Subsystem (:MEMory)
Remarks Refer to “File Name Variables” on page 13 for information on the file name syntax.
:DATA:BIT:INSert
Supported N5172B with Option 653 or 655, N5182B with Option 656 or 657
:MEMory:DATA:BIT:INSert "<filename>",<bitOffset>,<bitCount>,<datablock>
This command inserts a specified number of bits at a specified bit offset in a bit file.
"<filename>" This variable names the destination file and the directory path.
<bitOffset> This number represents a value between 0 and a value that will fill all of the
available memory. This is where the <bitCount> bits of the data in the
<datablock> will be inserted. If the <bitOffset> is greater than the current file
length, then zero bits will fill the file from the current length in bits to the
<bitOffset>.
<bitCount> This number represents the number of bits in the data block.
<datablock> This parameter represents the data to be inserted into the file.
Refer to the Programming Guide for more information on downloading and using files.
Example
:MEM:DATA:BIT:INS "Test_Data",7,16,#12Qz
The preceding example inserts bit data at the 7th bit of the file, Test_Data. The table below
describes the command parameters.
Remarks
Refer to “File Name Variables” on page 13 for information on the file name syntax.
2
Byte count
Qz
16 bits of data (ascii representation of bit data)
• "Test_Data" Test_Data is the file name. The directory path is not
needed. The path "/USER/BIT/" is implied.
• 7
The offset in bits to insert the data in the data block
• 16
Number of bits in the data block
•
#12Qz
Data block
#
This character indicates the beginning of the data block
1
Number of digits in the byte count
2
Byte count
Qz
16 bits of data (ascii representation of bit data)