I’m trying to increase my knowledge well on how to use SD on EWon Device Flexy 205. The Ewon Firmware is updated to 13.02s
I want to log historical data on an SD card on monthly basis and then use FTP Server to access the historical data. The format for the log file should be in CSV.
Please, could you guide me on how to write the script IDE
I saw the below script but am not sure if this would work for me,
IF di@ = 1 THEN
SETSYS INF, “LOAD”
SDCardSize$ = GETSYS INF, “SDExtFree”
SDCardSize_Int% = Val SDCardSize$
IF SDCardSize_Int% > 5000 THEN // 5 MB remains
EBD_STRING$ = “$dtHL$ftT$st_h4$et_s0”
FILENAME$ = “/usr/sdext/DataReport” + TIME$ + “.txt”
WRITEEBD EBD_STRING$, FILENAME$
ActionID% = GETSYS Prg, “ACTIONID”
ELSE
LOGEVENT “EUM Card full or not present”, -1
ENDIF
ENDIF