The SD in Ewon can be used by log and keep data

SD card is only for the computer configuration can also be used as storage medium for reports and records?
https://websupport.ewon.biz/sites/default/files/aug-062-0-en-ewon_configured_by_sd_card.pdf

@Luis

También puede utilizar la tarjeta SD para expandir el almacenamiento USR. Esto le permitirá almacenar registros históricos o informes allí también.

Por favor consulte este enlace.

[quote=“admin-jose, post:2, topic:411”]
También puede utilizar la tarjeta SD para expandir el almacenamiento USR. Esto le permitirá almacenar registros históricos o informes allí también
[

@Luis

Sorry the previous post lost formatting, can you repost?

Gracias.
Muy útil la información
Saludos.

Can the SD card also be used to store historical logging values?

@nickTriPhase1

Yes but it requires a script to export the data to the SD card. You just would need to pick an interval that you would like to do it at and then you could easily set up an automatic export to the SD card.

Example:
Thanks to our colleagues in Belgium for the following script.


    CLS
    REM GENERATE REPORT EVERY HOUR
    ONDATE 1,"0 * * * *","GOTO GENERATE_REPORT"
    ONSTATUS "GOTO SCHEDULEDACTION_END"
    GOTO GENERATE_REPORT
    END


    GENERATE_REPORT:
    //Check if SD card is inserted or if there is enough space
    SETSYS INF,"LOAD"
    SDCardSize$ = GETSYS INF, "SDExtFree"
    SDCardSize_Int% = Val  SDCardSize$
    IF SDCardSize_Int% > 5000 THEN   // 5 MB remains
       GOSUB READ_LASTTMS
       LAST_TIME$ = @GetCurrentTimeStamp$()
       EBD_STRING$ = "$dtHL$ftT$et" + LAST_TIME$ + "$st" + LASTTMS$
       FILENAME$ = "/usr/sdext/DataReport" + LAST_TIME$ + ".txt"
       WRITEEBD  EBD_STRING$, FILENAME$
       ActionID% = GETSYS Prg, "ACTIONID"
    ELSE 
      LOGEVENT "EUM Card full or not present", -1
    ENDIF
    END

    SCHEDULEDACTION_END:
      CurID% = GETSYS Prg,"EVTINFO" : REM Get ActionID
       REM : Check if it is the right schedule action to save last timestamp otherwize do nothing
       If ActionID% = CurID% THEN
         SETSYS Prg, "ACTIONID", CurID%
         CurID_Status% = GETSYS Prg,"ACTIONSTAT"
         REM Action successfully done --> Write last timestamp in file
         IF CurID_Status% = 0 THEN 
           LOGEVENT "FILE " + FILENAME$ + " SUCCESSFULLY EXPORTED", 100
           @WRITETMS(LAST_TIME$)
          ELSE
            LOGEVENT "FILE " + FILENAME$ + " NOT SUCCESSFULLY EXPORTED", 0
         ENDIF
       ENDIF
    END

    READ_LASTTMS:
    SETSYS PRG,"RESUMENEXT",1
     REM GET LAST TIMESTAMP
    OPEN "file:/usr/tms.dat" FOR BINARY INPUT AS 1
      LASTTMS$ = GET 1,15
    CLOSE 1

    Cur_Err% = GETSYS PRG,"LSTERR"
     
    IF Cur_Err% = 33 THEN //REM File does not exist
      LASTTMS$= "01011970_000000"
      SETSYS PRG,"LSTERR",0
    ENDIF

    SETSYS PRG,"RESUMENEXT",0
    CLS

    RETURN

    FUNCTION WriteTMS($LastTimeStamp$):
    OPEN "file:/usr/tms.dat" FOR BINARY OUTPUT AS 1
      PUT 1,$LastTimeStamp$
    CLOSE 1
    ENDFN

    FUNCTION GetCurrentTimeStamp$()
    REM TIME$ = 19/12/2014 10:03:01
    $EWON_TIME$ = TIME$ 
    $GetCurrentTimeStamp$ = $EWON_TIME$(1 To 2) + $EWON_TIME$(4 To 5) + $EWON_TIME$(7 To 10) + "_" + $EWON_TIME$(12 To 13) + $EWON_TIME$(15 To 16)+ $EWON_TIME$(18 To 19)
    ENDFN
2 Likes