<root>
<file schema='103' />
<macros >
<macro >
<flowline name='Thermocouple_get_strg' description='' statediag='0' >
<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
<param name='number_of_thermocouple' type='u8' description='1-12' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
<local name='count_loop' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='apend_strg = &quot;&quot;' />
<exp exp='.count_loop = 0' />
</command>
<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='2' exp='.number_of_thermocouple' >
<flowline >
<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='.count_loop &gt; 7' swap='0' >
<flowline >
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='I2C_TCA9548A1' macro='ChangeAddress' >
<argument exp='1' />
</command>
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='I2C_TCA9548A1' macro='ExclusiveChannel' >
<argument exp='.count_loop-8' />
</command>
</flowline>
<flowline >
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='I2C_TCA9548A1' macro='ChangeAddress' >
<argument exp='0' />
</command>
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='I2C_TCA9548A1' macro='ExclusiveChannel' >
<argument exp='.count_loop' />
</command>
</flowline>
</command>
<command class_type='call' title='sample all values' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='MCP960X_Thermocouple1' macro='Sample' >
<return exp='ret_byte' />
</command>
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='MCP960X_Thermocouple1' macro='ReadThermocouple_Float' >
<return exp='temp_Float' />
</command>
<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='temp_16B = temp_Float * 100 //change float to Init and multiplay with 100' />
<exp exp='All_Temperatur[.count_loop] = temp_16B // add to array remove IT later!!!' />
<exp exp='//apend_strg = apend_strg + ToString$(temp_16B) // add to string' />
<exp exp='//apend_strg = apend_strg + &quot;,&quot; // add for excel' />
<exp exp='.count_loop = .count_loop + 1 // next value' />
</command>
</flowline>
</command>
<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='apend_strg = apend_strg + &quot;\r\n&quot;' />
</command>
</flowline>
</macro>
</macros>
<variables >
<variable public='0' >
<def class_type='variable' name='temp_16B' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
</variable>
<variable public='0' >
<def class_type='variable' name='temp_Float' type='f32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0' />
</variable>
<variable public='0' >
<def class_type='variable' name='apend_strg' type='T8' description='to save on disk' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='200' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='ret_byte' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
</variable>
<variable public='0' >
<def class_type='variable' name='All_Temperatur' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
<array size='32' />
</def>
</variable>
</variables>
</root>
