Skip to content

Commit

Permalink
ExpConfig_ConfigureMIES: Close the user config notebook immediately
Browse files Browse the repository at this point in the history
This avoids the nagging "missing file dialog" on loading an experiment
without that user config file.

Original-CommitID: 44e5cf4aa92286e279ff7dc167b2bfece8cdd45b
  • Loading branch information
t-b committed Jun 26, 2018
1 parent f07f235 commit 14b1205
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Packages/MIES/MIES_ExperimentConfig.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ Function ExpConfig_ConfigureMIES([middleOfExperiment])
UserConfigNB = winname(0,16)
Wave /T KeyTypes = GetExpConfigKeyTypes()
Wave /T UserSettings = GetExpUserSettings(UserConfigNB, KeyTypes)

KillWindow/Z $UserConfigNB

FindValue /TXOP = 4 /TEXT = AMP_SERIAL UserSettings
AmpSerialLocal = UserSettings[V_value][%SettingValue]
Expand Down

0 comments on commit 14b1205

Please sign in to comment.