Added as5 extraction of scanPeriod. Added action to write to AS7 file.