public void DeactivateInstrument(Instrument instrument) { ActiveInstruments.Remove(instrument); instrument.ClearData(ChannelCompartment.View); Cache.RemoveInstrumentCache(instrument.Cache); UpdateGlobalStartEnd(); }