Reading the GabControl mode of the CA group
//read the GapControlMode of CaGroup1
GapControlMode:=fbXtsEnvironment.Mc2CaGroup(1).GetDefaultGapControlMode();
//read the GapControlMode of CaGroup1
GapControlMode:=fbXtsEnvironment.Mc2CaGroup(1).GetDefaultGapControlMode();