public override void Closed()
        {
            base.Closed();
            PhidgetStepperBoard board = Interface as PhidgetStepperBoard;

            if (board != null)
            {
                board.Detach();
            }
        }
        protected override void OnInterfaceChanged(HeliosInterface oldInterface, HeliosInterface newInterface)
        {
            PhidgetStepperBoard oldBoard = oldInterface as PhidgetStepperBoard;

            if (oldBoard != null)
            {
                oldBoard.Detach();
            }

            PhidgetStepperBoard newBoard = newInterface as PhidgetStepperBoard;

            if (newBoard != null)
            {
                newBoard.Attach();
            }

            _motorList.Clear();
            for (int i = 0; i < newBoard.MotorCount; i++)
            {
                _motorList.Add("Motor " + i);
            }
        }