Program Quick Reference
Cub script commands for the Devices page.
Script commands
dwell 120— run 120 seconds at the current frequencyamplitude 10— output voltage (V); applies to the current program channelwaveform square— sine, square, or sawtooth on the current program channelprogram a/program b— select channel A or B for subsequent frequency, waveform, and amplitude linessweep 1000 2000 0.1— sweep start→end, step Hz728.1— run frequency (Hz) on the current program channelbackfreq b 528 50— background on channel B while the next Hz runs on channel A (gang/tandem; no extra dwell). Channel letter may beaorb.pulse 4 50— gate the current program frequency with a 4 Hz, 50% duty background signal on the other channel. Usepulse 0 0to turn pulsing off.- Focal Pulse (program editor checkbox) — inserts
pulse <focalHz> 50just before eachdwellthat precedes asweep. Focal Hz comes from a preceding# Focal:comment, otherwise the sweep midpoint. offset +/offset -— DC / AC offset# comment— ignored linelabel msloop…goto msloop— loop the script
Dual-channel scripts (gang run, program b, backfreq) are fully supported on Spooky2, JDS6600, and GX. Feeltech/FY2300 has a single output — channel B commands are ignored with a log warning.
Example gang script:
dwell 10 backfreq b 528 50 1000 backfreq b 528 50 2000
Example script:
# example dwell 120 sweep 10000 10100 0.03 728.1