public void UnloadRealTimeModel(IHasTargetConnection targetConnection) { try { targetConnection.TargetPC.Unload(); } catch { } LoadedApplication = null; IsModelLoadedOnTarget = false; IsSimulationRunning = false; }
public void LoadRealTimeModel(IHasTargetConnection targetConnection, string realTimeModelFilePath) { this.LoadedApplication = targetConnection.TargetPC.Load(realTimeModelFilePath); if (this.LoadedApplication != null) { IsModelLoadedOnTarget = true; IsSimulationRunning = false; } else { IsModelLoadedOnTarget = false; IsSimulationRunning = false; } }