One page summary of common commands in pulse programs:

All the following commands are in the format “5u …”.  This means to do the specified command after a 5 us delay.  This can be replaced by any delay variable (IE d0) if you want.  Do not confuse do with d0.  ‘do’ turns the decoupler on.  ‘d0’ is a delay.  Keep an eye out for cpd (decoupler).  Usually, channels f1=H, f2=C, f3=N.

 

5u (p1:pl1 ph0):f1
Apply a pulse of length p1 at power level pl1 with phase ph0 on channel f1.

 

5u pl2:f1

This means to set the power level on channel f1 (H) to pl2.  Especially important prior to and following shaped pulses.

 

5u (p3:sp3 ph3):f1

Apply a shaped pulse (sp3) of maximum power sp3 with phase determined by the list in ph3 (usually at the end of the pulseprogram) for a length of time p3 on the f1 channel (you can #define H to be f1 in the beginning then use H, N, C here).  The shape of the pulse is determined by SPNAM3.  Two important points.  First, the power level must be set to 120dB (zero power) prior to applying a shaped pulse.  Second, each “pulse shape file” has a certain number of points that define the shape.   The length of the pulse must be long enough to allow 375ns per point.  (IE Sq.128 has 128 points defining a square shape.  The minimum pulse length for this shape is 48us.).

 

5u p21:gp21

Apply a gradient pulse of shape GPNAM21 (gp21) that has a length p21.   Note that this is a magnetic field gradient: no nucleus is defined, and no power level is specified.  The power of the gradient is specified in gpx21 gpy21 gpz21.  Each “gradient shape file” has a certain number of points that define the shape.   The length of the gradient pulse must be long enough to allow ???us per point.  (IE Sinc.1000 has 1000 points defining the sinc shape.  The minimum pulse length for this shape is ???us).

 

5u fq3:f2

Change the center frequency / carrier frequency on channel f2.  For fq3 the list of frequencies used is in fqlist3.  This variable points to a file with the list.  The file is formatted so as to define the main offset in the first line.  Each line after defines the first, second, third, etc frequency to shift to at the first, second, third, etc. fq3 command.  Usually there are an equal number of “definition lines” as fq commands.

 

At the bottom of a pulse sequence you may find:

5u go=2

Acquire the FID

 

5u id0                                    5u id5

Increment d0 by in0            Increment d5 by in5

 

5u ip0

Increment each of the phase in ph0 by one unit (whatever the fundamental units happen to be).  If no fundamental units are specified on a phase list, the unit is assumed to be 90degrees.  Remember, if the ppg is incremented a pulse phase, then it is States.  If it also increments the phase of the receiver, it’s States TPPI.

 

5u rp0 or rd0

Reset ph0 or d0 to the originally set value, removing  the influence of any ip0 or id0 commands.

ph7=0 2

This means that when ph7 is first referenced, pulse at phase (x).  Next time it is referenced, pulse at phase (-x).  After that it goes back to the first.  “5u ip7” would then increment the list to 1 3, then to 2 0, then to 3 1, then to 0 2.

 

ph7=(360) 0 180

This means that when ph7 is first referenced, pulse at phase (x).  Next time it is referenced, pulse at phase (-x).  After that it goes back to the first.  “5u ip7” would increment the list DIFFERENTLY FROM ABOVE, though.  It would increment the phase by 1 degree, not 90 degrees.