-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1848 from AllenInstitute/feature/1848-macro-own-f…
…iles-ci
- Loading branch information
Showing
19 changed files
with
384 additions
and
335 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
Packages/MIES/MIES_AnalysisBrowser_SweepBrowser_Export_Macro.ipf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#pragma TextEncoding = "UTF-8" | ||
#pragma rtGlobals=3 // Use modern global access method and strict wave access. | ||
#pragma rtFunctionErrors=1 | ||
|
||
#ifdef AUTOMATED_TESTING | ||
#pragma ModuleName=MIES_SBEM | ||
#endif | ||
|
||
Window ExportSettingsPanel() : Panel | ||
PauseUpdate; Silent 1 // building window... | ||
NewPanel /K=1 /W=(367,800,605,1282) as "Export settings" | ||
SetVariable setvar_sweep_export_datafolder,pos={18.00,303.00},size={199.00,18.00},bodyWidth=140,title="Datafolder" | ||
SetVariable setvar_sweep_export_datafolder,value= _STR:"myFolder" | ||
SetVariable setvar_sweep_export_x_range_beg,pos={18.00,109.00},size={170.00,18.00},bodyWidth=50,title="Manual X range begin" | ||
SetVariable setvar_sweep_export_x_range_beg,value= _NUM:NaN | ||
SetVariable setvar_sweep_export_x_range_end,pos={18.00,132.00},size={160.00,18.00},bodyWidth=50,title="Manual X range end" | ||
SetVariable setvar_sweep_export_x_range_end,value= _NUM:NaN | ||
CheckBox checkbox_sweep_export_cursor,pos={18.00,85.00},size={160.00,15.00},title="Duplicate only cursor range" | ||
CheckBox checkbox_sweep_export_cursor,value= 0,side= 1 | ||
CheckBox checkbox_sweep_export_resetOff,pos={18.00,62.00},size={197.00,15.00},title="Reset the wave's dim offset to zero" | ||
CheckBox checkbox_sweep_export_resetOff,value= 0,side= 1 | ||
PopupMenu popup_sweep_export_graph,pos={18.00,276.00},size={192.00,19.00},bodyWidth=120,proc=SBE_PopMenu_ExportTargetGraph,title="Target Graph" | ||
PopupMenu popup_sweep_export_graph,mode=1,popvalue="New",value= #"SBE_ListOfGraphsAndNew()" | ||
PopupMenu popup_sweep_export_x_axis,pos={43.00,329.00},size={154.00,19.00},bodyWidth=120,proc=SBE_PopMenu_ExportTargetAxis,title="X Axis" | ||
PopupMenu popup_sweep_export_x_axis,mode=1,popvalue="New",value= #"SBE_GetSelectedAxis(\"popup_sweep_export_graph\", 1)" | ||
PopupMenu popup_sweep_export_y_axis,pos={43.00,380.00},size={154.00,19.00},bodyWidth=120,proc=SBE_PopMenu_ExportTargetAxis,title="Y Axis" | ||
PopupMenu popup_sweep_export_y_axis,mode=1,popvalue="New",value= #"SBE_GetSelectedAxis(\"popup_sweep_export_graph\", 2)" | ||
Button button_sweep_export_doIt,pos={79.00,454.00},size={81.00,23.00},proc=SBE_ButtonProc_PerformExport,title="Do It" | ||
GroupBox group_sweep_export_input,pos={10.00,8.00},size={217.00,40.00} | ||
PopupMenu popup_sweep_export_source_graph,pos={14.00,16.00},size={194.00,19.00},bodyWidth=120,title="Source Graph" | ||
PopupMenu popup_sweep_export_source_graph,mode=1,popvalue="SweepBrowser1",value= #"SBE_ListOfSweepGraphs()" | ||
GroupBox group_sweep_export_input1,pos={12.00,54.00},size={214.00,397.00} | ||
SetVariable setvar_sweep_export_new_x_name,pos={16.00,352.00},size={200.00,18.00},bodyWidth=140,title="New X axis" | ||
SetVariable setvar_sweep_export_new_x_name,value= _STR:"bottom" | ||
SetVariable setvar_sweep_export_new_y_name,pos={17.00,403.00},size={200.00,18.00},bodyWidth=140,title="New Y axis" | ||
SetVariable setvar_sweep_export_new_y_name,value= _STR:"left" | ||
CheckBox checkbox_sweep_export_equalY,pos={21.00,427.00},size={54.00,15.00},title="Equal Y" | ||
CheckBox checkbox_sweep_export_equalY,help={"Set the y ranges of all vertical axes to the maximum per clamp mode"} | ||
CheckBox checkbox_sweep_export_equalY,value= 1,side= 1 | ||
CheckBox checkbox_sweep_export_redistAx,pos={85.00,427.00},size={105.00,15.00},title="Redistribute Axes" | ||
CheckBox checkbox_sweep_export_redistAx,help={"Redistribute the axes in the target graph so that no axes overlap. Needs to be off for dDAQ view mode."} | ||
CheckBox checkbox_sweep_export_redistAx,value= 1,side= 1 | ||
GroupBox group_pulse_settings,pos={20.00,155.00},size={197.00,118.00} | ||
CheckBox checkbox_sweep_export_pulse_set,pos={26.00,162.00},size={181.00,15.00},proc=SBE_CheckProc_UsePulseForXRange,title="Use pulses for X range selection" | ||
CheckBox checkbox_sweep_export_pulse_set,value= 0,side= 1 | ||
PopupMenu popup_sweep_export_pulse_AD,pos={28.00,181.00},size={69.00,19.00},bodyWidth=50,disable=2,proc=SBE_PopMenuProc_PulsesADTrace,title="AD" | ||
PopupMenu popup_sweep_export_pulse_AD,mode=1,popvalue="0",value= "0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15" | ||
SetVariable setvar_sweep_export_num_pulses,pos={28.00,205.00},size={148.00,18.00},bodyWidth=50,disable=2,title="Number of pulses" | ||
SetVariable setvar_sweep_export_num_pulses,limits={0,12,1},value= _NUM:1 | ||
SetVariable setvar_sweep_export_pulse_pre,pos={28.00,227.00},size={172.00,18.00},bodyWidth=50,disable=2,title="Time before first pulse" | ||
SetVariable setvar_sweep_export_pulse_pre,value= _NUM:0, help={"Positive values increase the x range, negative values decrease it."} | ||
SetVariable setvar_sweep_export_pulse_post,pos={28.00,250.00},size={160.00,18.00},bodyWidth=50,disable=2,title="Time after last pulse" | ||
SetVariable setvar_sweep_export_pulse_post,value= _NUM:0, help={"Positive values increase the x range, negative values decrease it."} | ||
EndMacro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#pragma TextEncoding = "UTF-8" | ||
#pragma rtGlobals=3 // Use modern global access method and strict wave access. | ||
#pragma rtFunctionErrors=1 | ||
|
||
#ifdef AUTOMATED_TESTING | ||
#pragma ModuleName=MIES_DPM | ||
#endif | ||
|
||
Window DebugPanel() : Panel | ||
PauseUpdate; Silent 1 // building window... | ||
NewPanel /K=1 /W=(230,184,625,648) | ||
SetDrawLayer UserBack | ||
CheckBox check_itc_xop_debug_mode,pos={254.00,11.00},size={121.00,15.00},proc=DP_CheckProc_Debug,title="ITC XOP Debugging" | ||
CheckBox check_itc_xop_debug_mode,userdata(ResizeControlsInfo)= A"!!,H9!!#;=!!#@V!!#<(z!!#o2B4uAezzzzzzzzzzzzzz!!#o2B4uAezz" | ||
CheckBox check_itc_xop_debug_mode,userdata(ResizeControlsInfo) += A"zzzzzzzzzzzz!!#u:Du]k<zzzzzzzzzzz" | ||
CheckBox check_itc_xop_debug_mode,userdata(ResizeControlsInfo) += A"zzz!!#?(FEDG<zzzzzzzzzzzzzz!!!" | ||
CheckBox check_itc_xop_debug_mode,value= 0 | ||
CheckBox check_debug_mode,pos={20.00,11.00},size={74.00,15.00},proc=DP_CheckProc_Debug,title="Debugging" | ||
CheckBox check_debug_mode,userdata(ResizeControlsInfo)= A"!!,BY!!#;=!!#?M!!#<(z!!#](Aon\"Qzzzzzzzzzzzzzz!!#](Aon\"Qzz" | ||
CheckBox check_debug_mode,userdata(ResizeControlsInfo) += A"zzzzzzzzzzzz!!#u:Du]k<zzzzzzzzzzz" | ||
CheckBox check_debug_mode,userdata(ResizeControlsInfo) += A"zzz!!#u:Du]k<zzzzzzzzzzzzzz!!!" | ||
CheckBox check_debug_mode,value= 1 | ||
ListBox listbox_mies_files,pos={19.00,33.00},size={356.00,411.00} | ||
ListBox listbox_mies_files,userdata(ResizeControlsInfo)= A"!!,BQ!!#=g!!#Bl!!#C2J,fQL!!#](Aon\"Qzzzzzzzzzzzzzz!!#o2B4uAezz" | ||
ListBox listbox_mies_files,userdata(ResizeControlsInfo) += A"zzzzzzzzzzzz!!#u:Du]k<zzzzzzzzzzz" | ||
ListBox listbox_mies_files,userdata(ResizeControlsInfo) += A"zzz!!#?(FEDG<zzzzzzzzzzzzzz!!!" | ||
PopupMenu popup_select_files,pos={106.00,9.00},size={90.00,19.00},proc=DP_PopMenuProc_Selection,title="Selection:" | ||
PopupMenu popup_select_files,userdata(ResizeControlsInfo)= A"!!,F9!!#:r!!#?m!!#<Pz!!#](Aon#azzzzzzzzzzzzzz!!#](Aon#azz" | ||
PopupMenu popup_select_files,userdata(ResizeControlsInfo) += A"zzzzzzzzzzzz!!#u:Du]k<zzzzzzzzzzz" | ||
PopupMenu popup_select_files,userdata(ResizeControlsInfo) += A"zzz!!#?(FEDG<zzzzzzzzzzzzzz!!!" | ||
PopupMenu popup_select_files,mode=2,popvalue="All",value= #"\"- none -;All\"" | ||
SetWindow kwTopWin,hook(ResizeControls)=ResizeControls#ResizeControlsHook | ||
SetWindow kwTopWin,userdata(ResizeControlsInfo)= A"!!*'\"z!!#C*J,ht#zzzzzzzzzzzzzzzzzzzzz" | ||
SetWindow kwTopWin,userdata(ResizeControlsInfo) += A"zzzzzzzzzzzzzzzzzzzzzzzzz" | ||
SetWindow kwTopWin,userdata(ResizeControlsInfo) += A"zzzzzzzzzzzzzzzzzzz!!!" | ||
Execute/Q/Z "SetWindow kwTopWin sizeLimit={296.25,348,inf,inf}" // sizeLimit requires Igor 7 or later | ||
SetWindow kwTopWin,hook(MainHook)=DP_WindowHook | ||
EndMacro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#pragma TextEncoding = "UTF-8" | ||
#pragma rtGlobals=3 // Use modern global access method and strict wave access. | ||
#pragma rtFunctionErrors=1 | ||
|
||
#ifdef AUTOMATED_TESTING | ||
#pragma ModuleName=MIES_IVSCCM | ||
#endif | ||
|
||
Window IVSCCControlPanel() : Panel | ||
PauseUpdate; Silent 1 // building window... | ||
NewPanel /K=1 /W=(392,734,683,925) as "IVSCC control panel" | ||
Button button_ivs_setup,pos={86.00,19.00},size={130.00,30.00},proc=IVS_ButtonProc_Setup,title="Setup DAEphys panel" | ||
Button button_runGigOhmSealQC,pos={48.00,103.00},size={190.00,30.00},proc=IVS_ButtonProc_GOhmSeal,title="Run GΩ seal check" | ||
Button button_runBaselineQC,pos={48.00,61.00},size={190.00,30.00},proc=IVS_ButtonProc_BaselineQC,title="Run baseline QC" | ||
Button button_runAccessResisQC,pos={48.00,145.00},size={190.00,30.00},proc=IVS_ButtonProc_AccessResist,title="Run access resistance QC check" | ||
SetWindow kwTopWin,userdata(Config_PanelType)="IVSCControlPanel" | ||
EndMacro |
Oops, something went wrong.