public bool[] GetInputs( ) { try { TeRKIceLib.DigitalInState state = digitalInController.getState( ); return state.digitalInStates; } catch { throw new ConnectionLostException( "Connection is lost." ); } } }