In an offshore pipeline-riser system, the critical opening of choke valve, i.e., the maximum permanent opening to eradicate severe slugging, plays an important role in both pipeline design and offshore oil and gas production processes. However, solving critical opening online in an offshore oil field is very difficult because only topside measurements are available and system information such as inlet gas–liquid flow rates and transfer functions are unavailable or far from precise. In order to cope with this problem, manually traversal experiments were first conducted in a large-scale experimental system consists of a 114-m horizontal pipeline, an 18.7-m downward-inclined pipeline with an inclination angle of −5˚ and a 16.3-m riser. Based on the results, a new process variable characterizing cut-off ratio of outflow and a new valve parameter describing the influence of valve on flow were derived. An approximate linear relation between these two parameters was found, with which critical openings can be calculated by processing real-time data. Finally, a control scheme was designed to overcome the calculation errors and solve for critical openings on line. The performance was validated by automatic control experiments.