The undulator gap is introduced to Online as an attribute motor.
<device> <name>gap</name> <type>type_tango</type> <module>motor_tango</module> <device>p09/attributemotor/gap</device> <control>tango</control> <hostname>haspp09:10000</hostname> </device>
The following figure displays the properties.