<root>
<file schema='103' />
<macros >
<macro >
<flowline name='file_last_file_found' description='' statediag='0' >
<return name='Return' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
<param name='filename_prefix' type='T8' description='maximal 5 char' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='20' />
</param>
<param name='filename_extension' type='T8' description='include the dot  &quot;.csv&quot;    or &quot;.txt&quot;' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='20' />
</param>
<local name='last_file_found' type='u16' description='nummer for filename' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
<local name='file_nr' type='u16' description='counter for nummer' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
<local name='ret_file_open' type='u8' description='ret_byte' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
<local name='filename' type='T8' description='filename to try to open' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='20' />
</local>
<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='0' exp='.last_file_found = 0' >
<flowline >
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='.file_nr = .file_nr + 1' />
<exp exp='.filename = .filename_prefix + ToString$(.file_nr)' />
<exp exp='.filename = .filename + .filename_extension' />
</command>
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='File_ESP32_SDMode1' macro='OpenFile' >
<return exp='.ret_file_open' />
<argument exp='.filename' />
</command>
<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='100' type='1' />
<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='.ret_file_open = 0' swap='0' >
<flowline >
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='File_ESP32_SDMode1' macro='CloseFile' />
<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='100' type='1' />
</flowline>
<flowline >
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='.last_file_found = 1' />
</command>
</flowline>
</command>
</flowline>
</command>
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='.return = .file_nr' />
</command>
</flowline>
</macro>
</macros>
<variables />
</root>
