How to get a list of the channels in a frame file

Peter Shawhan
January 18, 2005

The FrChannels utility reads the first (or only) frame in a frame file and outputs a list of the channels in the file. Here is the usage information (which you get by typing 'FrChannels' without any arguments):

Usage: FrChannels  [-a] [-r] [-p] [-s] [-v]

This utility lists the channels in a frame file, one per line, followed by the
sampling rate in Hz.

The frame format supports three different types of channels: ADC (also referred
to as raw), processed, and simulated.  By default, the output from this utility
includes all three types; however, you can restrict the output to a particular
type by giving the option -a (or equivalently -r) for raw ADC data, -p for
processed data, or -s for simulated data.  Options can be combined after one
hyphen, e.g. '-ap' to list raw and processed channels.  If none of these
options is given, then all three types will be included in the output.

The -v (verbose) option causes the channel type ('Adc', 'Proc' or 'Sim') to be
displayed after the channel name and sampling rate.