Wer sieht meinen Fehler?
Hallo,
ich wollte meine Beschattung einmal etwas optimieren und habe mir hierzu einige timecharts erstellt.
Ich zeichne Azimuth und Elevation auf. In einem weiteren timechart die Helligkeit und das Signal Beschattung ein/aus auf.
Mein Problem die Beschattung wird nicht aufgezeichnet:
Mein Ansatz:
JalWert= 1.1f16
ID_TIMEBUF_11AZI=11 // Azimuth R6_ID
ID_TIMEBUF_12ELEV=12 // Elevation R6_ID
ID_TIMEBUF_13HELL=13 // Helligkeit R7_ID
ID_TIMEBUF_14BESCHAT=14 // Beschattung R7_ID
ResultTimeBuffer11=timebufferconfig(ID_TIMEBUF_11A ZI,MemTyp,Len1,varAzimuth) // Azimuth
ResultTimeBuffer12=timebufferconfig(ID_TIMEBUF_12E LEV,MemTyp,Len1,JalElevation) // Elevation
ResultTimeBuffer13=timebufferconfig(ID_TIMEBUF_13H ELL,MemTyp,Len1,luxWert) // Helligkeit
ResultTimeBuffer14=timebufferconfig(ID_TIMEBUF_14B ESCHAT,MemTyp,Len1,JalWert) // Beschattung
if mtime(00,00) or mtime(15,00) or mtime(30,00) or mtime(45,00) then {
timebufferadd(ID_TIMEBUF_TEMP10BI,"Temp_OGBad-4/1/6");
timebufferadd(ID_TIMEBUF_11AZI,varAzimuth);
timebufferadd(ID_TIMEBUF_12ELEV,JalElevation);
timebufferadd(ID_TIMEBUF_13HELL,luxWert);
timebufferadd(ID_TIMEBUF_14BESCHAT,JalWert);
timebufferadd(ID_TIMEBUF_15ATEMP,"Temp_AussenOst-4/1/3");
} endif
bein Systemstart
timebufferread(ID_TIMEBUF_11AZI); /* Azimuth*/
timebufferread(ID_TIMEBUF_12ELEV); /* Elevation*/
timebufferread(ID_TIMEBUF_13HELL); /* Helligkeit*/
timebufferread(ID_TIMEBUF_14BESCHAT); /* Beschattung */
Nachts um 3:00 Uhr
timebufferstore(ID_TIMEBUF_11AZI); /* Azimuth*/
timebufferstore(ID_TIMEBUF_12ELEV); /* Elevation*/
timebufferstore(ID_TIMEBUF_13HELL); /* Helligkeit*/
timebufferstore(ID_TIMEBUF_14BESCHAT); /* Beschattung*/
Die Darstellung:
if change(JalBeschattung) then {
if JalBeschattung ==EIN then JalWert= 2.0f16 else JalWert= 1.0f16 endif
} endif
line $Helligkeit$
mtimechart(R7_ID)[EXTLONG,NOAUTOSCALE, 192, 0, 120000, 0, 2]($LUX$, LEFT, ID_TIMEBUF_13HELL,$Beschatt.$,RIGHT,ID_TIMEBUF_14B ESCHAT)
line $Sonnenstand$
mtimechart(R6_ID)[EXTLONG,AUTOSCALE,192,15,36,15,36]($Azimuth$,LEFT,ID_TIMEBUF_11AZI,$Elevation$,RIGHT ,ID_TIMEBUF_12ELEV)
Alle Werte, außer dem Wechsel der Beschattung, d.h. JalWert 1 oder 2 wird nicht angezeigt, sogar der Datumseintrag unterbleibt.
Wegen des trüben Wetters habe ich über den Debugger die Einträge in JalWert über das Eibstudio verändert. Genügend lange, jeweils 1 Std gewartet. Eingabe nachträglich kontrolliert. JalWert war unverändert.
Die Scala mit AUTOSCALE und NOAUTOSCALE variert.
Die Reihenfolde der Timebuffer in der Definition und auch im mTimechart variiert. Min/Max bei NOAUTOSCALE variert, JalWert entsprechend
Ale Werte werden angezeigt, nur der Jalwert, bzw der timebufferadd(ID_TIMEBUF_14BESCHAT,JalWert) geht ins Nirwana.
Wo liegt mein Problem?
Danke für jede Hilfe !
Wolfgang
Hallo,
ich wollte meine Beschattung einmal etwas optimieren und habe mir hierzu einige timecharts erstellt.
Ich zeichne Azimuth und Elevation auf. In einem weiteren timechart die Helligkeit und das Signal Beschattung ein/aus auf.
Mein Problem die Beschattung wird nicht aufgezeichnet:
Mein Ansatz:
JalWert= 1.1f16
ID_TIMEBUF_11AZI=11 // Azimuth R6_ID
ID_TIMEBUF_12ELEV=12 // Elevation R6_ID
ID_TIMEBUF_13HELL=13 // Helligkeit R7_ID
ID_TIMEBUF_14BESCHAT=14 // Beschattung R7_ID
ResultTimeBuffer11=timebufferconfig(ID_TIMEBUF_11A ZI,MemTyp,Len1,varAzimuth) // Azimuth
ResultTimeBuffer12=timebufferconfig(ID_TIMEBUF_12E LEV,MemTyp,Len1,JalElevation) // Elevation
ResultTimeBuffer13=timebufferconfig(ID_TIMEBUF_13H ELL,MemTyp,Len1,luxWert) // Helligkeit
ResultTimeBuffer14=timebufferconfig(ID_TIMEBUF_14B ESCHAT,MemTyp,Len1,JalWert) // Beschattung
if mtime(00,00) or mtime(15,00) or mtime(30,00) or mtime(45,00) then {
timebufferadd(ID_TIMEBUF_TEMP10BI,"Temp_OGBad-4/1/6");
timebufferadd(ID_TIMEBUF_11AZI,varAzimuth);
timebufferadd(ID_TIMEBUF_12ELEV,JalElevation);
timebufferadd(ID_TIMEBUF_13HELL,luxWert);
timebufferadd(ID_TIMEBUF_14BESCHAT,JalWert);
timebufferadd(ID_TIMEBUF_15ATEMP,"Temp_AussenOst-4/1/3");
} endif
bein Systemstart
timebufferread(ID_TIMEBUF_11AZI); /* Azimuth*/
timebufferread(ID_TIMEBUF_12ELEV); /* Elevation*/
timebufferread(ID_TIMEBUF_13HELL); /* Helligkeit*/
timebufferread(ID_TIMEBUF_14BESCHAT); /* Beschattung */
Nachts um 3:00 Uhr
timebufferstore(ID_TIMEBUF_11AZI); /* Azimuth*/
timebufferstore(ID_TIMEBUF_12ELEV); /* Elevation*/
timebufferstore(ID_TIMEBUF_13HELL); /* Helligkeit*/
timebufferstore(ID_TIMEBUF_14BESCHAT); /* Beschattung*/
Die Darstellung:
if change(JalBeschattung) then {
if JalBeschattung ==EIN then JalWert= 2.0f16 else JalWert= 1.0f16 endif
} endif
line $Helligkeit$
mtimechart(R7_ID)[EXTLONG,NOAUTOSCALE, 192, 0, 120000, 0, 2]($LUX$, LEFT, ID_TIMEBUF_13HELL,$Beschatt.$,RIGHT,ID_TIMEBUF_14B ESCHAT)
line $Sonnenstand$
mtimechart(R6_ID)[EXTLONG,AUTOSCALE,192,15,36,15,36]($Azimuth$,LEFT,ID_TIMEBUF_11AZI,$Elevation$,RIGHT ,ID_TIMEBUF_12ELEV)
Alle Werte, außer dem Wechsel der Beschattung, d.h. JalWert 1 oder 2 wird nicht angezeigt, sogar der Datumseintrag unterbleibt.
Wegen des trüben Wetters habe ich über den Debugger die Einträge in JalWert über das Eibstudio verändert. Genügend lange, jeweils 1 Std gewartet. Eingabe nachträglich kontrolliert. JalWert war unverändert.
Die Scala mit AUTOSCALE und NOAUTOSCALE variert.
Die Reihenfolde der Timebuffer in der Definition und auch im mTimechart variiert. Min/Max bei NOAUTOSCALE variert, JalWert entsprechend
Ale Werte werden angezeigt, nur der Jalwert, bzw der timebufferadd(ID_TIMEBUF_14BESCHAT,JalWert) geht ins Nirwana.
Wo liegt mein Problem?
Danke für jede Hilfe !
Wolfgang
Kommentar