Hello,
I am trying to open (and subsequently write to) a file on SD card using a standard path. So instead of:
FileName:=CONCAT('/media/SA08G_0x4431264e/77616767/Logs/PLC_log',PLC_DATE); FileName:=CONCAT(FileName,'.log'); FileID := SysFileOpen(FileName,'a');
I would like to use something like:
FileName:=CONCAT('/media/*/*/Logs/PLC_log',PLC_DATE); FileName:=CONCAT(FileName,'.log'); FileID := SysFileOpen(FileName,'a');
Is this at all possible using SysLibFile.lib. If not, does anyone know of another library which I may use which provides for this functionality?
Thanks.
I don't have an answer but I was wondering if you have found out more about using wildcards in Codesys?
Log in to post a comment.
Hello,
I am trying to open (and subsequently write to) a file on SD card using a standard path.
So instead of:
I would like to use something like:
Is this at all possible using SysLibFile.lib.
If not, does anyone know of another library which I may use which provides for this functionality?
Thanks.
I don't have an answer but I was wondering if you have found out more about using wildcards in Codesys?