beautypg.com

Manually editing a configuration file – Grass Valley PROFILE FAMILY v.2.5 User Manual

Page 221

background image

Manually Editing a Configuration File

Profile Family

221

Manually Editing a Configuration File

In some special cases, you may wish to manually edit a configuration file. For
example, you may wish to assign more than one video codec for use with a
channel.

You can use any text editor to make changes to an existing configuration file.
Notepad will save your file in the required format. If you decide to use any other
editor, such as WordPad, be sure to save the file as a text document (ASCII or
txt) and use the .cfg filename extension if you change the name of the file.

Configuration files are simple text files, containing three types of lines. The
lines are parsed on a column basis as follows:

• If column 1 contains anything besides a number from 0-9, the line is ignored

as a comment line.

• If column 7 contains a “C” or “c”, the line is treated as a crosspoint line.

• All other lines are treated as resource lines.

Both resource allocation lines and crosspoint lines share a similar format:

xx-yy[,][func1][func2]

NOTE: Although resource and crosspoint lines look similar, they
have very different meanings. This is a frequent source of confusion
and error. Make sure whether you are editing a resource line or a
crosspoint line!