1.2.10.3 The DRATE statement

The DRATE statement implements a data rate calculator which lets you convert a symbol rate to a interface data rate. This may be useful if a device driver shall supply both values, but the device itself only supports one of these settings.

drate-statement.gif

The DRATE statement collects a symbol rate value, a modulation type, a FEC value and a Reed-Solomon factor, computes an interface data rate from this and stores the result into the destination variable. The input data for the DRATE statement may be from constants given in double quotes or from the contents of driver variables.

The DRATE statement tries to guess the conversion factors from the input data following the rules described below: