Data:bit:insert - Agilent Technologies N5171B Command Reference Manual

X-series signal generators
Hide thumbs Also See for N5171B:
Table of Contents

Advertisement

2
Qz
Refer to
Remarks

: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.
This variable names the destination file and the directory path.
"<filename>"
<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.
"Test_Data"
7
16
#12Qz
#
1
2
Qz
Refer to
Remarks
Agilent X-Series Signal Generators SCPI Command Reference
Byte count
16 bits of data (ascii representation of bit data)
"File Name Variables" on page 13
Test_Data is the file name. The directory path is not
needed. The path "/USER/BIT/" is implied.
The offset in bits to insert the data in the data block
Number of bits in the data block
Data block
This character indicates the beginning of the data block
Number of digits in the byte count
Byte count
16 bits of data (ascii representation of bit data)
"File Name Variables" on page 13
Memory Subsystem (:MEMory)
for information on the file name syntax.
for information on the file name syntax.
System Commands
125

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents