next up previous contents
Next: WFDB_osigfopen Up: Selecting Database Records Previous: WFDB_isigopen   Contents


WFDB_osigopen

Usage: S = WFDB_osigopen(RECORD, NSIG);  
Input: RECORD: (string) record name  
  NSIG: number of signals to open  
Output: S: Siginfo structure(s)  

This function opens output signal files. Use it only if signals are to be written using WFDB_putvec. The signal specifications, including the file names, are read from the header file for a specified record and returned in the structure array S. If RECORD begins with `+', previously opened output signal files are left open, and the record name is taken to be the remainder of RECORD after discarding the `+'. Otherwise, osigopen closes any previously opened output signal files, and takes all of RECORD as the record name. S is a WFDB_Siginfo structure array which, on return, will be filled with the signal specifications.

No more than NSIG (additional) output signals will be opened by WFDB_osigopen, even if the header file contains specifications for more than NSIG signals.

See also: WFDB_Siginfo (3.8), WFDB_putvec (3.3)


next up previous contents
Next: WFDB_osigfopen Up: Selecting Database Records Previous: WFDB_isigopen   Contents
George B. Moody 2005-06-02