Menu Variables

In WAVE 's menu file, the variables listed below are interpreted by WAVE before they are passed to the shell, typically as command-line arguments in button-action commands.



$RECORD the current record name
$ANNOTATOR the current input annotator name
$START the current Start (elapsed) time as shown in the Analyze window (the time of the `<' marker, if any)
$END the current End (elapsed) time as shown in the Analyze window (the time of the `>' marker, if any)
$DURATION the time interval between $END and $START
$LEFT the time of the left edge of the signal window
$RIGHT the time of the right edge of the signal window
$WIDTH the time interval between $RIGHT and $LEFT
$SIGNAL the number of the selected signal
$SIGNALS the signal list
$LOG the name of the current log file
$WFDB the WFDB path (from the Load window)
$WFDBCAL the WFDB calibration file (from the Load window)
$TSCALE the time scale, in mm/sec
$VSCALE the amplitude scale, in mm/mV
$DISPMODE the annotation display mode (0: annotations displayed in center, no marker bars; 1: annotations displayed in center, long marker bars; 2: annotations attached to signals, no bars; 3: annotations attached to signals, short bars; 4: annotations displayed as a signal, no bars; 5: annotations displayed as a signal, long bars)

$PSPRINT the command for printing PostScript data from the standard input, as specified in the Print setup window
$TEXTPRINT the command for printing text from the standard input, as specified in the Print setup window
$URL the URL specified by the most recently selected link



Other strings that begin with `$' are passed to the shell unchanged.

George B. Moody (george@mit.edu)
2019-03-08