next up previous contents index
Next: Starting WAVE Up: A quick look at WAVE Previous: If you need to run WAVE remotely

Checking the environment and the sample record

 In common with all programs built using the DB library, WAVE finds its input files in any of the directories specified by the DB environment variable.   (See the discussion of the database path in the ECG Database Programmer's Guide for details.) Type ``echo $DB'' to check the value of the DB variable. If the response is

    DB: Undefined variable.
type the command needed to initialize the database environment (item 2 from the worksheet).

In this exercise, you will use WAVE to examine record 100s, a sample record containing one minute of annotated two-channel ECG. Record 100s is distributed with all versions of WAVE and should be available on any WAVE host. Check that it is available by typing

    rdsamp -r 100s -f 59.99; rdann -r 100s -a atr -f 59
  The output should be
      21596      2       1
      21597     -2      -5
      21598     -5      -6
      21599     -5      -5
         0:59.508    21423     N     0     0     0
If you do not obtain this output, see your system administrator.



George B. Moody (george@hstbme.mit.edu)
Wed May 7 20:21:25 EDT 1997