<root>
<document scada='1' panel2DSCADA='0' panel3DSCADA='6' panelPropsSCADA='0' panelConsoleSCADA='0' panelDataRecorderSCADA='0' playbackSCADA='0' ShouldAutoStartSCADA='0' ShouldLockCameraSCADA='0' ShouldBundleSCADA='1' SCADAProgramTitle='' schema='102' license='1,Bubthenib,RMFW7Y' title='App Developer Project' description='' fcversion='589824' target='SCADA.SCADA.GENERIC' >
	<config data='' clkspd='100000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='4095' />
			<data name='ClockPin' value='0' />
			<data name='DataPort' value='4095' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='2' />
			<data name='CalculatedCommsDelay' value='2' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='80679a5f-cc27-4346-b0c2-6dd774d94e96' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='1' embeddedCompatible='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties >
				<property name='Communications' folder='property_5' hidden='0' >
					<property name='COM Port' target='SCADA_Ard_Uno1::scada_uart1::com_port' typeid='16' hidden='0' locked='0' info='Lists all the current available COM port hardware on your PC.' filter='032COM32' />
				</property>
				<property name='MCU Specifications' folder='property_6' hidden='0' >
					<property name='Supply Voltage' target='SupplyVoltage' typeid='15' hidden='0' locked='0' info='Voltage output by the microcontroller pins' />
					<property name='ADC Bit Depth' target='ADCBitDepth' typeid='21' hidden='0' locked='0' info='' />
					<property name='ADC Resolution' target='ADCResolution' typeid='15' hidden='0' locked='1' info='Specifies the voltage resolution of the ADC input' />
					<property name='Series Resistance (Ohm)' target='SeriesResistance' typeid='21' hidden='0' locked='0' info='Specifies the value of resistor used between pin D2 and pin A0 in K Ohms.
Recommend around 10K.
Minimum safe value is 330R to limit I/O current. ' />
				</property>
				<property name='Pins' folder='property_4' hidden='0' >
					<property name='Digital Pin High' target='DigitalPinHigh' typeid='21' hidden='0' locked='0' info='Sets the number of the digital pin to output a high signal.' />
					<property name='Digital Pin Low' target='DigitalPinLow' typeid='21' hidden='0' locked='0' info='Sets the number of the digital pin to output a low signal.' />
					<property name='Analogue Test Pin' target='AnalogueTestPin' typeid='21' hidden='0' locked='0' info='Sets the number of the analogue pin to perform the test.' />
				</property>
				<property name='Resistor Values' folder='property_1' hidden='0' >
					<property name='Min Resistance (Ohm)' target='MinResistance' typeid='15' hidden='0' locked='0' info='' />
					<property name='Max Resistance (Ohm)' target='MaxResistance' typeid='15' hidden='0' locked='0' info='' />
				</property>
				<property name='Capacitor Values' folder='property_2' hidden='0' >
					<property name='Capacitor Resolution' target='CapacitorResolution' typeid='15' hidden='0' locked='0' info='' />
					<property name='Min Capacitance' target='MinCapacitance' typeid='15' hidden='0' locked='0' info='' />
					<property name='Capacitor Delay' target='CapacitorDelay' typeid='14' hidden='0' locked='0' info='Number of milliseconds to wait in between each sample' />
				</property>
				<property name='Inductance Values' folder='property_3' hidden='0' >
					<property name='Min Inductance' target='MinInductance' typeid='15' hidden='0' locked='0' info='' />
				</property>
			</properties>
			<values >
				<value target='SCADA_Ard_Uno1::scada_uart1::com_port' data='032' />
				<value target='SupplyVoltage' data='5.000000' />
				<value target='ADCBitDepth' data='10' />
				<value target='ADCResolution' data='0.004888' />
				<value target='SeriesResistance' data='11000' />
				<value target='DigitalPinHigh' data='2' />
				<value target='DigitalPinLow' data='3' />
				<value target='AnalogueTestPin' data='0' />
				<value target='MinResistance' data='10.752688' />
				<value target='MaxResistance' data='11252046.000000' />
				<value target='CapacitorResolution' data='0.000000' />
				<value target='MinCapacitance' data='0.000000' />
				<value target='CapacitorDelay' data='50' />
				<value target='MinInductance' data='0.000000' />
			</values>
			<events >
				<event class='Components' event='Property' target='Ev_Property' />
			</events>
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='CalculateResistance' description='Takes an analogue reading and returns a resistance as a floating point value' statediag='0' >
						<return name='Return' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='ADC' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='SR_I' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='SR_V' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='Test_V' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='call' title='Output High Pin 2' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
							<argument exp='DigitalPinHigh' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Output Low Pin 3' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
							<argument exp='DigitalPinLow' />
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Allow time for voltages to settle' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
						<command class_type='call' title='Read ADC Voltage' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='ADCSample10' >
							<return exp='.ADC' />
							<argument exp='AnalogueTestPin' />
						</command>
						<command class_type='call' title='Convert Output back to Input' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOGetInputPin' >
							<argument exp='DigitalPinHigh' />
						</command>
						<command class_type='call' title='Convert Output back to Input' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOGetInputPin' >
							<argument exp='DigitalPinLow' />
						</command>
						<command class_type='comment' title='' comment='Perform Ohms law to convert ADC reading into Resistance' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='calculation' title='Convert ADC Reading into Voltage' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Test_V = FLOAT .ADC * ADCResolution' />
						</command>
						<command class_type='calculation' title='Work out current across series resistor' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.SR_V = SupplyVoltage - .Test_V' />
							<exp exp='.SR_I = .SR_V / FLOAT SeriesResistance' />
						</command>
						<command class_type='calculation' title='Work out test resistance' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Return = .Test_V / .SR_I' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Property' description='Sent when a property has been changed by the User' statediag='0' >
						<return name='Return' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Calc' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculate ADC Resolution' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Calc = SupplyVoltage / FLOAT ((1 &lt;&lt; ADCBitDepth) - 1)' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;ADCResolution&quot;' />
							<argument exp='.Calc' />
						</command>
						<command class_type='calculation' title='Calculate Min Resistance' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Calc = SeriesResistance / FLOAT ((1 &lt;&lt; ADCBitDepth) - 1)' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;MinResistance&quot;' />
							<argument exp='.Calc' />
						</command>
						<command class_type='calculation' title='Calculate Max Resistance' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Calc = SupplyVoltage / (ADCResolution / SeriesResistance)' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;MaxResistance&quot;' />
							<argument exp='.Calc' />
						</command>
						<command class_type='comment' title='' comment='Show Property Values on Panel' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.str = &quot;D&quot; + ToString$ (DigitalPinHigh)' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='DigitalHighLabel' macro='SetText' >
							<argument exp='.str' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.str = &quot;D&quot; + ToString$ (DigitalPinLow)' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='DigitalLowLabel' macro='SetText' >
							<argument exp='.str' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.str = &quot;A&quot; + ToString$ (AnalogueTestPin)' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='AnalogueLabel' macro='SetText' >
							<argument exp='.str' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.str = ToString$ (SeriesResistance) + &quot;R&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='R1Text' macro='SetText' >
							<argument exp='.str' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='R1Text1' macro='SetText' >
							<argument exp='.str' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.str = &quot;0R&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='R2Text' macro='SetText' >
							<argument exp='.str' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='CalculateCapacitance' description='Takes an analogue reading and returns a resistance as a floating point value' statediag='0' >
						<return name='Return' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='ADC' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='999' setinit='999' />
						<local name='Time' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='SR_V' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='Test_V' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='Counter' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='ADC_Old' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='999' setinit='999' />
						<local name='StaticCounter' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='LineChart1' macro='Clear' />
						<command class_type='call' title='Output Low Pin 2' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
							<argument exp='DigitalPinHigh' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Output Low Pin 3' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
							<argument exp='DigitalPinLow' />
							<argument exp='0' />
						</command>
						<command class_type='loop' title='Wait for Cap to discharge' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='.ADC &gt; 3' >
							<flowline >
								<command class_type='call' title='Read ADC Voltage' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='ADCSample10' >
									<return exp='.ADC' />
									<argument exp='AnalogueTestPin' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='LineChart1' macro='AddPoint' >
									<argument exp='&quot;&quot;' />
									<argument exp='.ADC * ADCResolution' />
									<argument exp='1' />
								</command>
								<command class_type='delay' title='Allow time for cap to discharge' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
							</flowline>
						</command>
						<command class_type='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='LineChart1' macro='Clear' />
						<command class_type='call' title='Output High Pin 2' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
							<argument exp='DigitalPinHigh' />
							<argument exp='1' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='.StaticCounter &lt; 10' >
							<flowline >
								<command class_type='call' title='Read ADC Voltage' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='ADCSample10' >
									<return exp='.ADC' />
									<argument exp='AnalogueTestPin' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='LineChart1' macro='AddPoint' >
									<argument exp='&quot;&quot;' />
									<argument exp='.ADC * ADCResolution' />
									<argument exp='1' />
								</command>
								<command class_type='delay' title='Allow time for cap to discharge' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CapacitorDelay' type='1' />
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.Adc + 1 &gt;= .ADC_Old) &amp;&amp; (.Adc - 1 &lt;= .ADC_Old)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.StaticCounter = .StaticCounter + 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.StaticCounter = 0' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.ADC_Old = .Adc' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.Counter = .Counter + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Convert Output back to Input' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOGetInputPin' >
							<argument exp='DigitalPinHigh' />
						</command>
						<command class_type='call' title='Convert Output back to Input' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOGetInputPin' >
							<argument exp='DigitalPinLow' />
						</command>
						<command class_type='comment' title='' comment='Perform Ohms law to convert ADC reading into Resistance' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='calculation' title='Convert charge time into time constant' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Time = FLOAT .Counter * FLOAT CapacitorDelay' />
							<exp exp='.Time = .Time / 5' />
						</command>
						<command class_type='calculation' title='Work out test capacitance' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Return = .Time / SeriesResistance' />
						</command>
						<command class_type='calculation' title='Convert from F to uF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Return = .Return * 1000.0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='Reading' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='Initialise' />
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='1' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='SwitchR :: GetState ()' swap='0' >
									<flowline >
										<command class_type='call' title='Collect Resistance' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='CalculateResistance' >
											<return exp='.Reading' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.str = FloatToString$ (.Reading,1) + &quot;R&quot;' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='R2Text' macro='SetText' >
											<argument exp='.str' />
										</command>
										<command class_type='call' title='Deactivate Switch' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SwitchR' macro='SetState' >
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='SwitchC :: GetState ()' swap='0' >
									<flowline >
										<command class_type='call' title='Collect Resistance' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='CalculateCapacitance' >
											<return exp='.Reading' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.str = FloatToString$ (.Reading,1) + &quot;uF&quot;' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='CText' macro='SetText' >
											<argument exp='.str' />
										</command>
										<command class_type='call' title='Deactivate Switch' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SwitchC' macro='SetState' >
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Short Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='2b53c2f2-b5d4-4e36-a647-6f9238744a75' vmin='0' vmaj='2' codename='SCADA_Ard_Uno1' x='0' y='87' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='scada_uart1::DataSource' data='001' />
					<value target='scada_uart1::com_port' data='032' />
					<value target='scada_uart1::RefreshPorts' data='0' />
					<value target='scada_uart1::Injector' data='000' />
					<value target='ConsoleLog' data='1' />
					<value target='LogMode' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4b8ae722-573a-473d-8455-a2e6edad1f36' vmin='0' vmaj='1' codename='SwitchR' x='-57' y='-15' z='0' xsz='25' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='7' >
				<resources />
				<properties />
				<values >
					<value target='nState' data='000' />
					<value target='nStyle' data='000' />
					<value target='nType' data='002' />
					<value target='sLabelOn' data='Testing' />
					<value target='sLabelOff' data='Test Resistance' />
					<value target='colBackgroundColour' data='-1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='DigitalHighLabel' x='-65' y='55' z='0' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='D2' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='DigitalLowLabel' x='-64.3845' y='-5' z='0' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='D3' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='AnalogueLabel' x='-64.769' y='25' z='0' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='A0' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle1' x='-65' y='40' z='2.75' xsz='0.15625' ysz='0.46875' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.100000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle2' x='-65' y='10' z='2.75' xsz='0.15625' ysz='0.46875' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.100000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle3' x='-65' y='40' z='2.5' xsz='0.015625' ysz='0.625' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.050000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle4' x='-64.9969' y='10' z='2.5' xsz='0.015625' ysz='0.625' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.050000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='R1Text' x='-44.7931' y='40' z='0.5' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='11000R' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='R2Text' x='-44.5862' y='10' z='0.5' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='0R' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='4b8ae722-573a-473d-8455-a2e6edad1f36' vmin='0' vmaj='1' codename='SwitchC' x='10.1556' y='-15' z='0' xsz='25' ysz='6.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='7' >
				<resources />
				<properties />
				<values >
					<value target='nState' data='000' />
					<value target='nStyle' data='000' />
					<value target='nType' data='002' />
					<value target='sLabelOn' data='Testing' />
					<value target='sLabelOff' data='Test Capacitance' />
					<value target='colBackgroundColour' data='-1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='DigitalHighLabel1' x='-2.79309' y='55' z='0' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='D2' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='DigitalLowLabel1' x='-2.17759' y='-5' z='0' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='D3' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='AnalogueLabel1' x='-2.56209' y='25' z='0' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='A0' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle5' x='-3' y='40' z='3.25' xsz='0.15625' ysz='0.46875' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.100000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle6' x='-3' y='11' z='2.75' xsz='0.15625' ysz='0.0625' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.100000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle7' x='-2.99688' y='40' z='3' xsz='0.015625' ysz='0.625' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.050000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle8' x='-2.99378' y='15' z='2.5' xsz='0.015625' ysz='0.25' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.050000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='R1Text1' x='17.4138' y='40' z='0.5' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='11000R' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='CText' x='17.6207' y='10' z='0.5' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='8' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='82.7uF' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='1.000000' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='33023' />
					<value target='colTextGradient' data='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle9' x='-3' y='7' z='4.25' xsz='0.15625' ysz='0.0625' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.100000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle10' x='-2.99378' y='4' z='4' xsz='0.015625' ysz='0.25' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0.050000' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3a68ebf7-1225-4b29-87da-a734c0720591' vmin='0' vmaj='1' codename='LineChart1' x='0' y='-89' z='1.255' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='12' >
				<resources />
				<properties />
				<values >
					<value target='Base2dChart::sCategories' data='' />
					<value target='Base2dChart::sYValues' data='' />
					<value target='Base2dChart::nFileOperation' data='' />
					<value target='Base2dChart::nStyle' data='000' />
					<value target='Base2dChart::sTitle' data='Voltage vs Time' />
					<value target='Base2dChart::nStackType' data='000' />
					<value target='Base2dChart::bDataBetweenTicks' data='1' />
					<value target='Base2dChart::sXName' data='Time' />
					<value target='Base2dChart::bXShowGrid' data='0' />
					<value target='Base2dChart::sYName' data='Voltage' />
					<value target='Base2dChart::bYShowGrid' data='1' />
					<value target='Base2dChart::bYAuto' data='1' />
					<value target='Base2dChart::dYStart' data='0' />
					<value target='Base2dChart::dYEnd' data='100.000000' />
					<value target='Base2dChart::bYLogarithmic' data='0' />
					<value target='Base2dChart::bLabelsShow' data='0' />
					<value target='Base2dChart::bShowCategory' data='0' />
					<value target='Base2dChart::bShowValue' data='0' />
					<value target='Base2dChart::bShowSeries' data='0' />
					<value target='Base2dChart::nLabelsAngle' data='45' />
					<value target='Base2dChart::nLegendPosition' data='000' />
					<value target='Base2dChart::bDrawBorder' data='1' />
					<value target='Base2dChart::nSelectSeries' data='000' />
					<value target='Base2dChart::sSeriesName1' data='Series 1' />
					<value target='Base2dChart::bSeriesVisible1' data='1' />
					<value target='Base2dChart::nLineStyle1' data='000' />
					<value target='Base2dChart::nLineType1' data='001' />
					<value target='Base2dChart::nLineWidth1' data='000' />
					<value target='Base2dChart::bShadow1' data='0' />
					<value target='Base2dChart::bShowMarker1' data='0' />
					<value target='Base2dChart::nMarkerShape1' data='001' />
					<value target='Base2dChart::nMarkerSize1' data='5' />
					<value target='Base2dChart::sSeriesName2' data='Series 2' />
					<value target='Base2dChart::bSeriesVisible2' data='0' />
					<value target='Base2dChart::nLineStyle2' data='000' />
					<value target='Base2dChart::nLineType2' data='001' />
					<value target='Base2dChart::nLineWidth2' data='000' />
					<value target='Base2dChart::bShadow2' data='0' />
					<value target='Base2dChart::bShowMarker2' data='0' />
					<value target='Base2dChart::nMarkerShape2' data='001' />
					<value target='Base2dChart::nMarkerSize2' data='3' />
					<value target='Base2dChart::sSeriesName3' data='Series 3' />
					<value target='Base2dChart::bSeriesVisible3' data='0' />
					<value target='Base2dChart::nLineStyle3' data='000' />
					<value target='Base2dChart::nLineType3' data='001' />
					<value target='Base2dChart::nLineWidth3' data='000' />
					<value target='Base2dChart::bShadow3' data='0' />
					<value target='Base2dChart::bShowMarker3' data='0' />
					<value target='Base2dChart::nMarkerShape3' data='001' />
					<value target='Base2dChart::nMarkerSize3' data='3' />
					<value target='Base2dChart::sSeriesName4' data='Series 4' />
					<value target='Base2dChart::bSeriesVisible4' data='0' />
					<value target='Base2dChart::nLineStyle4' data='000' />
					<value target='Base2dChart::nLineType4' data='001' />
					<value target='Base2dChart::nLineWidth4' data='000' />
					<value target='Base2dChart::bShadow4' data='0' />
					<value target='Base2dChart::bShowMarker4' data='0' />
					<value target='Base2dChart::nMarkerShape4' data='001' />
					<value target='Base2dChart::nMarkerSize4' data='3' />
					<value target='Base2dChart::sSeriesName5' data='Series 5' />
					<value target='Base2dChart::bSeriesVisible5' data='0' />
					<value target='Base2dChart::nLineStyle5' data='000' />
					<value target='Base2dChart::nLineType5' data='001' />
					<value target='Base2dChart::nLineWidth5' data='000' />
					<value target='Base2dChart::bShadow5' data='0' />
					<value target='Base2dChart::bShowMarker5' data='0' />
					<value target='Base2dChart::nMarkerShape5' data='001' />
					<value target='Base2dChart::nMarkerSize5' data='3' />
					<value target='Base2dChart::sSeriesName6' data='Series 6' />
					<value target='Base2dChart::bSeriesVisible6' data='0' />
					<value target='Base2dChart::nLineStyle6' data='000' />
					<value target='Base2dChart::nLineType6' data='001' />
					<value target='Base2dChart::nLineWidth6' data='000' />
					<value target='Base2dChart::bShadow6' data='0' />
					<value target='Base2dChart::bShowMarker6' data='0' />
					<value target='Base2dChart::nMarkerShape6' data='001' />
					<value target='Base2dChart::nMarkerSize6' data='3' />
					<value target='Base2dChart::sSeriesName7' data='Series 7' />
					<value target='Base2dChart::bSeriesVisible7' data='0' />
					<value target='Base2dChart::nLineStyle7' data='000' />
					<value target='Base2dChart::nLineType7' data='001' />
					<value target='Base2dChart::nLineWidth7' data='000' />
					<value target='Base2dChart::bShadow7' data='0' />
					<value target='Base2dChart::bShowMarker7' data='0' />
					<value target='Base2dChart::nMarkerShape7' data='001' />
					<value target='Base2dChart::nMarkerSize7' data='3' />
					<value target='Base2dChart::sSeriesName8' data='Series 8' />
					<value target='Base2dChart::bSeriesVisible8' data='0' />
					<value target='Base2dChart::nLineStyle8' data='000' />
					<value target='Base2dChart::nLineType8' data='001' />
					<value target='Base2dChart::nLineWidth8' data='000' />
					<value target='Base2dChart::bShadow8' data='0' />
					<value target='Base2dChart::bShowMarker8' data='0' />
					<value target='Base2dChart::nMarkerShape8' data='001' />
					<value target='Base2dChart::nMarkerSize8' data='3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='-1.70735' ye='-15.3555' ze='320.869' xt='-1.70735' yt='-15.3555' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='624' dy='669' zoom='235.311' fix_topleft='0' />
		<page x='1000' y='1000' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXwQAAE0CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXwQAAE0CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CalculateResistance' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXwQAAE0CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CalculateCapacitance' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXwQAAE0CAAA' zoom='75' scrollx='0' scrolly='1330' flags='0' />
	</layout>
</document>
</root>
