working rigolPS class