Design and Analysis of Weapon Simulator using Schedulability Analysis