Syntax for pulse control:
In the top box, put the function::
pulse(10, 100, levels)
In the bottom box, put the variables:
levels=0; -500:500:50
This makes an “IV” function.
To make a sequence with multiple parameters:
Top:
pulse([10, 60], [50,100], [lev1, 100])
Bottom:
lev1=0; -500.0:101.0:50
lev2=100; 100:201:100
(This is known as “hyp2” in the old DATAC parlance).
An example with the “steps” function:
Top:
steps([10, 510], [lev1, 0])
Bottom:
lev1=0; -500.0:501.0:50
The delay to the first step is 10 msec, the duration of the step is 500 msec (you specify the end time of the step). Using “501” as the end time gets around a bug in the program where the last step won’t be done as expected.
For a pulse train:
Top:
pulse(linspace(begtime,60,npul), widths, levels)
Bottom:
begtime = 20.0
npul = 5.0
widths=1
levels=1000