Igor opens every graph at startup (all, not just the graph macros), how to fix that
Moodhound
Wed, 04/16/2014 - 12:15 am
I'm having problems with my igor file. at startup it opens every window I've ever created. not just the macros. how can i stop this? it's really annoying ;-)
thanks for help
It also executes any commands in the main procedure window that appear before the first function or macro definition. Choose Windows->Procedure Windows->Procedure Window and see if there is text at the start of the file that should not be there.
April 16, 2014 at 06:27 am - Permalink
The way you say, "every window I've ever created" suggests that you are using just one experiment file every time you run Igor. You might try keeping more than one file as you work.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
April 16, 2014 at 09:40 am - Permalink
I know, it shouldn't open these windows. I've made multiple macros and of course some waves withou names and without generating a macro.
EVEN IF I CLOSE every window, it is opening again at startup.
in my procedure-file (just an example):
#include <Function Grapher>
Tagesverlaeufe()
Heizkurve_FW_Dorf()
Gesamtuebersicht_FreitagSamstag()
FWL_Dorf_Uebersicht_vortrag()
WRG_Uebersicht()
Kunstharz_Uebersicht()
FWL_2_Uebersicht()
FWL_Dorf_Uebersicht()
Heizkurve()
Gesamtuebersicht_Mittwoch()
Gesamtuebersicht()
Gesamtuebersicht_unt_vortrag()
Gaskessel_KW_MWhth_vortrag()
Gaskessel_KW_MWhthermisch()
Gaskessel_Uebersicht()
Verbraucher_Dorf_Heizkurve_Tag()
Verbraucher_Dorf_Heizkurve()
Erzeugerkurve()
Gesamtuebersicht_unterteilt()
Erzeugerkurve_gaskessel()
Winterwoche_Typisch()
Window Winterwoche_Typisch() : Graph
PauseUpdate; Silent 1 // building window...
String fldrSav0= GetDataFolder(1)
SetDataFolder root:Speicherauslegung:'Wochenwerte Winter':
Display /W=(0,44,1644,1049)/L=a_y/B=a_x Winterdurchschnitt_Verbrauch
AppendToGraph/L=b_y/B=a_x Aussentemp
AppendToGraph/L=c_y/B=a_x :Integration:Woche_Winter_zumIntegrieren_INT
SetDataFolder fldrSav0
ModifyGraph gfSize=12,gmSize=24
ModifyGraph mode(Winterdurchschnitt_Verbrauch)=7
ModifyGraph lSize=1.5
ModifyGraph rgb(Winterdurchschnitt_Verbrauch)=(26112,0,20736),rgb(Aussentemp)=(1,3,39321)
ModifyGraph rgb(Woche_Winter_zumIntegrieren_INT)=(52224,0,0)
ModifyGraph hbFill(Winterdurchschnitt_Verbrauch)=5,hbFill(Aussentemp)=5
ModifyGraph grid(a_y)=2,grid(a_x)=2,grid(b_y)=2
ModifyGraph zero(b_y)=1
ModifyGraph nticks(a_y)=10,nticks(b_y)=10
ModifyGraph minor(a_y)=1
ModifyGraph lblMargin(c_y)=722
ModifyGraph gridRGB(a_y)=(13056,13056,13056),gridRGB(a_x)=(0,0,0),gridRGB(b_y)=(13056,13056,13056)
ModifyGraph gridRGB(c_y)=(13056,13056,13056)
ModifyGraph axRGB(b_y)=(1,3,39321)
ModifyGraph tlblRGB(b_y)=(1,3,39321)
ModifyGraph alblRGB(b_y)=(1,3,39321)
ModifyGraph gridStyle(a_x)=1
ModifyGraph lblPosMode(a_x)=1,lblPosMode(c_y)=1
ModifyGraph lblPos(a_y)=67,lblPos(b_y)=-25
ModifyGraph lblLatPos(a_y)=-10,lblLatPos(c_y)=-40
ModifyGraph axisOnTop(b_y)=1,axisOnTop(c_y)=1
ModifyGraph freePos(a_y)=0
ModifyGraph freePos(a_x)=0
ModifyGraph freePos(b_y)=-53
ModifyGraph freePos(c_y)=-601
ModifyGraph manTick(a_x)={0,12,0,0,hr},manMinor(a_x)={5,0}
ModifyGraph dateInfo(a_x)={0,1,-1},dateFormat(a_x)={German,1,2,1,1,"DayOfWeek, DayOfMonth. Month ",-29}
Label a_y "\\Z20Thermische Leistung [kW\\Bth\\M\\Z20]"
Label a_x "Kalte Winterwoche"
Label b_y "\\Z18Aussentemperatur"
Label c_y "\\Z20Thermische Wärmeenergie [kWh\\Bth\\M\\Z20]"
ShowInfo
Legend/C/N=text0/J/F=0/A=MC/X=-23.98/Y=39.91 "\\Z20\\s(Winterdurchschnitt_Verbrauch) Thermische Leistung [kW\\Bth\\M\\Z20]\r\\s(Aussentemp) Aussentemperatur"
AppendText "\\s(Woche_Winter_zumIntegrieren_INT) Thermische Wärmeenergie [kWh\\Bth\\M\\Z20]"
ShowTools
EndMacro
So the problem is for example: it opens the graph Heizkurve_1() Heizkurve_2() Heizkurve_3() and so on. (even though there is just one macro "heizkurve")
so every graph i've ever created....
during opening the experiment it runs the macro "experiment recreation". could this cause this properties?
thanks
and i'll create multiple files for my experience, thanks for the advice
April 19, 2014 at 05:28 am - Permalink
What happens when you keep only those function calls that you absolutely want to run at startup?
You can always find a graph window macro from the Window menu list when you want to display it.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
April 19, 2014 at 08:32 am - Permalink
thanks for reply
April 21, 2014 at 05:29 am - Permalink
DisplayHelpTopic "Experiment Initialization Commands"
Can you tell us why you have those calls at the top of the main procedure window?
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
April 21, 2014 at 09:19 am - Permalink
Have you closed (killed) those windows and then saved the experiment?
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
April 21, 2014 at 09:59 am - Permalink
April 21, 2014 at 10:14 am - Permalink
perfect. thanks
solved
April 24, 2014 at 05:22 am - Permalink