WFDB_osigfopen
Keywords: wfdb_tools

Next: WFDB_wfdbinit Up: Selecting Database Records Previous: WFDB_osigopen Contents

##
WFDB_osigfopen

Usage: | `WFDB_osigfopen(S);` |
Input: | `S`: Siginfo structure(s) |

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.8), 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.8)