Technical data
DIGital Commands SCPI Commands Reference
Agilent 81133A/81134A Pulse Generator Programming Guide, March 2007 27
:DIGital[1|2][:STIMulus]:PATTern[:DATa]
Syntax
:DIG[1|2][:STIM]:PATT[:DAT][?]
Form Set & Query
Description This command is used to set or read the pattern data of one of
the channels. The minimum length of these patterns is 32 bits, the
maximum length is 8192 bits, the granularity is 32 bits. For
patterns larger than 8192 bits, see
“:DIGital[1|2][:STIMulus]:PATTern:LDATa” on page 29.
The data can be written in either hexadecimal, binary or dual
format. The query returns the data in hexadecimal format.
For the command, the format is specified by the format parameter;
HEX is the default.
• Hexadecimal
With the hexadecimal format, the characters passed as the data
pattern will be interpreted as hexadecimal values.
The MSB of the first character becomes bit 0 of the data
pattern.
•Binary
With the binary format, the ASCII values of the characters
passed are used to build the data pattern.
•Dual
With the dual format, you can use “0” and “1” to build the data
pattern.
Parameter <data>, [HEX | BIN | DUAL]