The list of patterns associated with particular command is located at 'arguments' key of pulse command definition section.

Each patterns has it own definition section with the name produced from command name and pattern name in a form [command_name/pattern_name].

Pattern keys

Key

Value

Description

movable

0 / 1

Defines pattern to be movable or not. (See movable pattern definition )

channels

list of hardware-channel

Defines virtual channels associated with the pattern. (See channel definition for more details)

selnumber

int

Defines number of different states pattern has.

default

int

Defines the state which will be selected on default.

ch<0 based number of channel>

comma separated list of 0 /1
or
$<bit>

Define the table of states.
Number of 'ch' keys equal to number of channels. 0 means OFF state, 1 means ON state.
Columns of the table represent the set of all channel state in a pattern. Number of columns has to be smaller or equal to 'selnumber'. Omitted states are assumed to be OFF.
Or.
Bit in the argument that defines OFF and ON states.

Channel-related keys 'channels' ,'connectspace', 'length', 'dutycycle', 'maxlength' and mapping rules for hardware channels are discussed in channel definition topic.

Configuration file example:

[mwpulse] arguments = phase source [mwpulse/phase] channels = a1@RS690, a2@RS690, a3@RS690 default = 0 selnumber = 2 ch0 = 1, 0 ch1 = 0, 1 ch2 = 1, 1 [mwpulse/source] channels = a5@RS690, a7@RS690, a9@RS690 default = 0 ch0 = $0 ch1 = $1 ch2 = $2