The attribute bSavOldRes

The input variable bSavOldRes of method ResExtract has been implemented to enable a configuration of received controls' information. The array aCtrlProp is able to store QRC_NUMBER_OF_CONTROL number of controls' information. This attribute can be changed in parameter list.

To get a better understanding of the behavior, there is an example shown underneath.

1st. Step: Control information of "Channel1Mute" received.

The attribute bSavOldRes 1:

At Step 1, a QRC frame was received at aRxFrame and the control information are extracted by FB_QRC_RecExtract.

The array aCtrlProp is empty. Because of this, control Channel1Mute is saved at element aCtrlProp[0] whether bSavOldRes is TRUE or not.

2nd Step: Control information of "Channel2Gain" (different control) received.

The attribute bSavOldRes 2:

At Step 2, second QRC frame was received. After extraction of the new control information, it is stored depending on the value of bSavOldRes.

3rd Step: Control information of "Channel1Mute" (An update of already received control) received.

The attribute bSavOldRes 3:

At step 3, third QRC frame was received. After extraction, it recognized that the control name has been already stored at aCtrlProp[0]:

The attribute bSavOldRes 4:

All past controls' properties will be saved only when the bSavOldRes is TRUE. In the case bSavOldRes is FALSE, all past control information will be cleared.