[r909]: / branches / develop / mqttsparkplug / mqttsparkplug / Sparkplug™ MQTT edge and host / Function Blocks / FB_MetricFileTransfer / FB_MetricFileTransfer / ReturnFileName / svnobj  Maximize  Restore  History

Download this file

8 lines (7 with data), 3.3 kB

1
2
3
4
5
6
7
METHOD PRIVATE ReturnFileName : WSTRING
VAR_INPUT
PT := ADR(FileName);
            iLength := TO_INT((SIZEOF(FileName) - RightMostAfterLastSlash)),
            iPosition := TO_INT(RightMostAfterLastSlash),
            pwstResult := ADR(ReturnFileName),
            uiResultBufferSize := SIZEOF(ReturnFileName));