File MIES_MiesUtilities_Settings.ipf¶
This file holds MIES utility functions for settings management.
Functions
-
variable GenerateSettingsDefaults()¶
Generate a default settings file in JSON format.
{ "diagnostics": { "last upload": "2020-03-05T13:43:32Z" }, "version": 1 }
Explanation:
Window coordinates are stored as
{“coordinates” : {“left” : 123, “top” : 456, “bottom” 789, “right” : 101112}}
Entries:
“version”: Major version number to track breaking changes
”diagnostics”: Groups settings related to diagnostics and crash dump handling
”diagnostics/last upload”: ISO8601 timestamp when the last successfull upload of crash dumps was tried. This is also set when no crash dumps have been uploadad.
”analysisbrowser”: Groups settings related to the Analysisbrowser
”analysisbrowser/directory”: The directory initially opened for browsing existing NWB/PXP files
”logfiles”: Groups settings related to log files
”logfiles/last upload”: ISO8601 timestamp when the last successfull upload of log files was tried. This is also set when no log files have been uploadad.
”*[/*]/coordinates”: window coordinates
Caller is responsible for releasing the document.
- Returns:
JSONid
-
variable UpgradeSettings(variable JSONid)¶
-
variable ToggleUserPingSetting()¶
-
variable GetUserPingEnabled()¶
-
string GetUserPingTimestamp()¶
-
variable SetUserPingTimestamp(variable timeStamp)¶