Update Attenuator.py

Uses of Send and Receive Common functions