next up previous contents
Next: Special input modes Up: Selecting database records Previous: WFDB_osigopen   Contents

WFDB_osigfopen

WFDB_osigfopen(S);

S: Structure array with signal information. Create using WFDB_Siginfo (see section 3.7.3).

This function opens output signals, as does WFDB_osigopen, but the signal specifications, including the signal file names, are supplied by the caller to WFDB_osigfopen, rather than read from a header file as in WFDB_osigopen. Any previously open output signals are closed by WFDB_osigfopen. S is a WFDB_Siginfo structure array (see section 3.7.3), with one element for each signal to be opened.

Before invoking WFDB_osigfopen, the caller must fill in the fields of the WFDB_Siginfo structure S. To make a multiplexed signal file, specify the same fname and group for each signal to be included. For ordinary (non-multiplexed) signal files, specify a unique fname and group for each signal. See section 2.4: Creating a signal file, for an illustration of the use of WFDB_osigfopen.

See also: WFDB_Siginfo (3.7.3)



George Moody 2003-11-30