<root>
<document scada='1' panel2DSCADA='6' panel3DSCADA='7' panelPropsSCADA='3' panelConsoleSCADA='0' panelDataRecorderSCADA='7' playbackSCADA='0' ShouldAutoStartSCADA='0' ShouldLockCameraSCADA='0' ShouldBundleSCADA='1' SCADAProgramTitle='ComponentTester' schema='102' license='1,65920724,TKD4NB' 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 >
		<watch expr='Main.Reading' />
		<watch expr='Main.str' />
		<watch expr='CalculateDiodeFVoltage.ADC' />
		<watch expr='CalculateDiodeFVoltage.MillivoltsResult' />
		<watch expr='CalulateResistance.ADC' />
		<watch expr='CalulateResistance.FixedLowRestorUsed' />
		<watch expr='CalulateResistance.MillivoltsResult' />
		<watch expr='CalulateResistance.Return' />
	</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='001COM1
003COM3
004COM4
007COM7' />
				</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='Fixed R High (Ohm)' target='FixedRHigh' 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 name='Fixed R Low (Ohm)' target='FixedRLow' typeid='21' hidden='0' locked='0' info='' />
				</property>
				<property name='Pins' folder='property_4' hidden='0' >
					<property name='Digital R High' target='DigitalRHigh' typeid='21' hidden='0' locked='0' info='Sets the number of the digital pin to output a high signal.' />
					<property name='Digital R Low' target='DigitalRLow' typeid='21' hidden='0' locked='0' info='' />
					<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 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='007' />
				<value target='SupplyVoltage' data='4.500000' />
				<value target='ADCBitDepth' data='10' />
				<value target='ADCResolution' data='0.004399' />
				<value target='FixedRHigh' data='98400' />
				<value target='FixedRLow' data='1475' />
				<value target='DigitalRHigh' data='4' />
				<value target='DigitalRLow' data='3' />
				<value target='DigitalPinLow' data='2' />
				<value target='AnalogueTestPin' data='0' />
				<value target='MinResistance' data='96.187683' />
				<value target='MaxResistance' data='100659232.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='Temp' type='u32' description='' isconst='0' 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='CalulateResistance' 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='MillivoltsResult' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='DummyInputValue' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='FixedLowRestorUsed' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
						<command class_type='call' title='Output digital low Low' 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='call' title='Output High R High' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
							<argument exp='DigitalRHigh' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Output Low R low to overide weak pull-ups' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
							<argument exp='DigitalRLow' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Tristate R  Low  So disconnected.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOGetInputPin' >
							<return exp='.DummyInputValue' />
							<argument exp='DigitalRLow' />
						</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='50' type='1' />
						<command class_type='call' title='Read ADC voltage to determine if to use R High or R Low' 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='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='50' type='1' />
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.ADC &lt; 400' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.FixedLowRestorUsed = 1' />
								</command>
								<command class_type='comment' title='' comment='ADC too low.
Switch in lower value resistor &amp; isolate higher value.' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
								<command class_type='call' title='Tristate R  High  so it&apos;s disconnected.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
									<argument exp='DigitalRHigh' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Tristate R  High  so it&apos;s disconnected.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOGetInputPin' >
									<return exp='.DummyInputValue' />
									<argument exp='DigitalRHigh' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='Temp = DigitalRLow' />
								</command>
								<command class_type='call' title='Output high Low value Resistor' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
									<argument exp='DigitalRLow' />
									<argument exp='1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='22' >
							<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='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.MillivoltsResult = .MillivoltsResult + .ADC' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2' type='1' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.MillivoltsResult = .MillivoltsResult &lt;&lt; 1' />
							<exp exp='.MillivoltsResult = .MillivoltsResult / 9' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.FixedLowRestorUsed' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.Return = (FLOAT FixedRLow * (.MillivoltsResult / 1000.0)) / (5 - (.MillivoltsResult / 1000.0))' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.Return = (FLOAT FixedRHigh * (.MillivoltsResult / 1000.0)) / (5 - (.MillivoltsResult / 1000.0))' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='CalculateInductance' description='Takes an analogue reading and returns a inductance 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 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='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='DigitalRHigh' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Counter = 1' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='100' >
							<flowline >
								<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='DigitalRHigh' />
									<argument exp='1' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='.Counter' >
									<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>
									</flowline>
								</command>
								<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='DigitalRHigh' />
									<argument exp='0' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='.Counter' >
									<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>
									</flowline>
								</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='DigitalRHigh' />
						</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 / FixedRHigh' />
						</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='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 = FixedRHigh / 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 / FixedRHigh)' />
						</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$ (DigitalRHigh)' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='DigitalRHighLabel' 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='DigitalRHighLabel1' 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='DigitalRHighLabel2' 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$ (DigitalRLow)' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='DigitalRLowLabel' 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='DigitalRLowLabel1' 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='DigitalRLowLabel2' 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='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='DigitalLowLabel1' 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='DigitalLowLabel2' 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='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='AnalogueLabel1' 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='AnalogueLabel2' 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$ (FixedRHigh) + &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='RHighText' 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='RHighText1' 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='RHighText2' 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$ (FixedRLow) + &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='RLowText' 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='RLowText1' 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='RLowText2' 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 capacitance 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='DigitalRHigh' />
							<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='DigitalRHigh' />
							<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='DigitalRHigh' />
						</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 / FixedRHigh' />
						</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='CalculateDiodeFVoltage' 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='MillivoltsResult' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='DummyInputValue' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='FixedLowRestorUsed' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='call' title='Output digital low val High' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
							<argument exp='DigitalRLow' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Output digital low Low' 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='call' title='Tristate R  High  So disconnected.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOSetOutputPin' >
							<argument exp='DigitalRHigh' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Tristate R  High  So disconnected.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='IOGetInputPin' >
							<return exp='.DummyInputValue' />
							<argument exp='DigitalRHigh' />
						</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='50' type='1' />
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='22' >
							<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='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.MillivoltsResult = .MillivoltsResult + .ADC' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2' type='1' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.MillivoltsResult = .MillivoltsResult &lt;&lt; 1' />
							<exp exp='.MillivoltsResult = .MillivoltsResult / 9' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='MapFunction1' macro='MapUInt' >
							<return exp='.MillivoltsResult' />
							<argument exp='.MillivoltsResult' />
							<argument exp='0' />
							<argument exp='5000' />
							<argument exp='0' />
							<argument exp='SupplyVoltage*1000' />
							<argument exp='1' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Return = FLOAT .MillivoltsResult / 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='SwitchD :: GetState ()' swap='0' >
									<flowline >
										<command class_type='call' title='Collect Resistance Martin&apos;s Method' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='CalculateDiodeFVoltage' >
											<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,2) + &quot;V&quot;' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='DiodeText' 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='SwitchD' macro='SetState' >
											<argument exp='0' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.Reading &gt; 0.2) &amp;&amp; (.Reading &lt; 1.2)' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='LogoIndicator1' macro='AssignLogo' >
													<argument exp='1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='LogoIndicator1' macro='AssignLogo' >
													<argument exp='2' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<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 Martin&apos;s Method' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='CalulateResistance' >
											<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='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='SwitchL :: GetState ()' swap='0' >
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='CalculateInductance' >
											<return exp='.Reading' />
										</command>
										<command class_type='call' title='Deactivate Switch' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SwitchL' 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='007' />
					<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='-65' 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='DigitalRHighLabel' x='-56.5' y='56' z='0' xsz='4.6875' ysz='4.0625' zsz='0' 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='D4' />
					<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='2.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='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='AnalogueLabel' x='-64.769' y='25' z='0' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='1.86457' xquat='0' yquat='0' zquat='0.0162707' wquat='0.999868' 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='-58.9646' y='39' z='2.75' xsz='0.15625' ysz='0.46875' zsz='1' xang='0' yang='0' zang='-11.9999' xquat='0' yquat='0' zquat='-0.104528' wquat='0.994522' 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='-59.0491' y='39' z='2.5' xsz='0.015625' ysz='0.625' zsz='1' xang='0' yang='0' zang='-11.9999' xquat='0' yquat='0' zquat='-0.104528' wquat='0.994522' 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='RHighText' x='-38.7931' y='35' 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='98400R' />
					<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='-34.7862' y='9.45' z='0.5' xsz='15.5' ysz='1.90625' zsz='0' 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='118.6R' />
					<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='0.500000' />
					<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='36.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='DigitalLowLabel1' x='37.8224' 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='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='AnalogueLabel1' x='37.4379' 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_rectangle6' x='37' 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_rectangle8' x='37.0062' 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='CText' x='57.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='118.2uF' />
					<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='37' 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='37.0062' 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='-159' 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 class_type='ref' guid='4b8ae722-573a-473d-8455-a2e6edad1f36' vmin='0' vmaj='1' codename='SwitchL' x='223.311' 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 Inductance' />
					<value target='colBackgroundColour' data='-1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9ec41243-060f-42c3-93b0-de81ada331fa' vmin='0' vmaj='1' codename='shape_rectangle11' x='-71.128' y='39' z='3' xsz='0.15625' ysz='0.46875' zsz='0' xang='0' yang='0' zang='24' xquat='0' yquat='0' zquat='0.207912' wquat='0.978148' 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='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='RLowText' x='-91.5862' y='35' 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='1475R' />
					<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_rectangle13' x='-70.9975' y='39' z='2.5' xsz='0.015625' ysz='0.625' zsz='1' xang='0' yang='0' zang='24' xquat='0' yquat='0' zquat='0.207912' wquat='0.978148' 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='DigitalRLowLabel' x='-75.5' y='56' z='0' xsz='4.6875' ysz='4.0625' zsz='0' 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='2.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='R1Text4' x='-91.3793' y='41' 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='R Low' />
					<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='R1Text5' x='-39.1724' y='41' 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='R High' />
					<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='DigitalRHighLabel1' x='44.6409' y='56' z='0.77' xsz='4.6875' ysz='4.0625' zsz='0' 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='D4' />
					<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='2.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='42.1763' y='38.8884' z='5.75' xsz='0.15625' ysz='0.46875' zsz='1' xang='0' yang='0' zang='-11.9999' xquat='0' yquat='0' zquat='-0.104528' wquat='0.994522' 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='42.0949' y='38.8884' z='5.5' xsz='0.015625' ysz='0.625' zsz='1' xang='0' yang='0' zang='-11.9999' xquat='0' yquat='0' zquat='-0.104528' wquat='0.994522' 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='RHighText1' x='67.5547' y='34.8884' z='1.245' 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='98400R' />
					<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_rectangle12' x='30.0129' y='38.8884' z='3' xsz='0.15625' ysz='0.46875' zsz='0' xang='0' yang='0' zang='24' xquat='0' yquat='0' zquat='0.207912' wquat='0.978148' 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='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='RLowText1' x='9.76162' y='34.8884' z='1.25' 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='1475R' />
					<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_rectangle14' x='30.1465' y='38.8884' z='2.5' xsz='0.015625' ysz='0.625' zsz='1' xang='0' yang='0' zang='24' xquat='0' yquat='0' zquat='0.207912' wquat='0.978148' 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='DigitalRLowLabel1' x='25.6409' y='56' z='0.77' xsz='4.6875' ysz='4.0625' zsz='0' 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='2.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='R1Text6' x='8.96852' y='40.8884' z='1.25' 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='R Low' />
					<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='R1Text7' x='67.1754' y='40.8884' z='1.245' 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='R High' />
					<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='4b8ae722-573a-473d-8455-a2e6edad1f36' vmin='0' vmaj='1' codename='SwitchD' x='153.294' y='-15.9037' 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 Diode' />
					<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='DigitalRHighLabel2' x='161.585' y='56.7709' z='0' xsz='4.6875' ysz='4.0625' zsz='0' 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='D4' />
					<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='2.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='DigitalLowLabel2' x='153.529' y='-4.9687' 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='AnalogueLabel2' x='153.145' y='25.0313' z='0' xsz='9.375' ysz='1.5625' zsz='25' xang='0' yang='0' zang='1.86457' xquat='0' yquat='0' zquat='0.0162707' wquat='0.999868' 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_rectangle15' x='159.12' y='39.7709' z='2.75' xsz='0.15625' ysz='0.46875' zsz='1' xang='0' yang='0' zang='-11.9999' xquat='0' yquat='0' zquat='-0.104528' wquat='0.994522' 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_rectangle17' x='159.039' y='39.7709' z='2.5' xsz='0.015625' ysz='0.625' zsz='1' xang='0' yang='0' zang='-11.9999' xquat='0' yquat='0' zquat='-0.104528' wquat='0.994522' 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_rectangle19' x='146.957' y='39.7709' z='3' xsz='0.15625' ysz='0.46875' zsz='0' xang='0' yang='0' zang='24' xquat='0' yquat='0' zquat='0.207912' wquat='0.978148' 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='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='RLowText2' x='124.706' y='36.7709' 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='1475R' />
					<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_rectangle20' x='147.091' y='39.7709' z='2.5' xsz='0.015625' ysz='0.625' zsz='1' xang='0' yang='0' zang='24' xquat='0' yquat='0' zquat='0.207912' wquat='0.978148' 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='DigitalRLowLabel2' x='142.585' y='56.7709' z='0' xsz='4.6875' ysz='4.0625' zsz='0' 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='2.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='R1Text1' x='124.913' y='42.7709' 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='R Low' />
					<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_rectangle21' x='111.344' y='-44.7291' z='2.75' xsz='0' ysz='0' zsz='0' 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_rectangle22' x='154.019' y='5.23131' z='16.75' xsz='0.015625' ysz='0.3125' zsz='1' xang='0' yang='0' zang='90' xquat='0' yquat='0' zquat='0.707107' wquat='0.707107' 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='783af32a-4d8c-466c-938d-7b3c97e76e83' vmin='0' vmaj='1' codename='shape_prism1' x='153.922' y='10.312' z='0' xsz='0.325' ysz='0.309375' zsz='1' xang='0' yang='0' zang='-180' xquat='0' yquat='0' zquat='-1' wquat='6.12323e-17' 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' />
					<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_rectangle16' x='153.922' y='1.93131' z='16.5' xsz='0.015625' ysz='0.1875' 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_rectangle18' x='153.922' y='18.2313' z='16.25' xsz='0.015625' ysz='0.1875' 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='RHighText2' x='179.662' y='35.6884' z='1.245' 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='98400R' />
					<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='R1Text2' x='179.282' y='41.6884' z='1.245' 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='R High' />
					<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='DiodeText' x='176.321' 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='0.64V' />
					<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='9f9ffa92-a20d-4ba8-94e1-04e45bdea154' vmin='0' vmaj='1' codename='LogoIndicator1' x='154.385' y='-42.1444' z='50.25' xsz='0.940755' ysz='0.843188' 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='DefaultIcon' data='000' />
					<value target='ShowTitle' data='1' />
					<value target='TitleColour' data='16777215' />
					<value target='TitleText' data='Diode Condition' />
					<value target='TitleScale' data='1.500000' />
					<value target='TitleOffset' data='18.000000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ccdce31d-a1a3-437a-88ba-5431745ddf6e' vmin='0' vmaj='2' codename='MapFunction1' x='-55.1' y='93' 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 />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='152.253' ye='-8.47545' ze='332.246' xt='152.253' yt='-8.47545' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='624' dy='493' zoom='227.253' 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---------------------wUAAAAYAAAATQYAANYCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAATQYAANYCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CalculateCapacitance' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAATQYAANYCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CalculateInductance' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAATQYAANYCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CalulateResistance' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAATQYAANYCAAA' zoom='90' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CalculateDiodeFVoltage' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAATQYAANYCAAA' zoom='75' scrollx='0' scrolly='328' flags='0' />
	</layout>
</document>
</root>
