<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='0' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='StoredMilliVolts' />
		<watch expr='GetCapacitanceValue.Counter' />
	</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
006COM6
007COM7' />
					<property name='Refresh Ports' target='SCADA_Ard_Uno1::scada_uart1::RefreshPorts' typeid='7' hidden='0' locked='0' info='' />
				</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='D2 Resistor' target='D2Resistor' typeid='21' hidden='0' locked='0' info='Enter in ohms resoistor value connected to D2' />
					<property name='D3 Resistor' target='D3Resistor' typeid='21' hidden='0' locked='0' info='Enter in ohms resoistor value connected to D3' />
					<property name='D4 Resistor' target='D4Resistor' typeid='21' hidden='0' locked='0' info='Enter in ohms resoistor value connected to D4' />
					<property name='D5 Resistor' target='D5Resistor' typeid='21' hidden='0' locked='0' info='Enter in ohms resoistor value connected to D5' />
					<property name='D6 Resistor' target='D6Resistor' typeid='21' hidden='0' locked='0' info='Enter in ohms resoistor value connected to D6' />
					<property name='D7 Resistor' target='D7Resistor' typeid='21' hidden='0' locked='0' info='Enter in ohms resoistor value connected to D7' />
				</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='Console' folder='property_1' hidden='0' >
					<property name='Clear Console On Test' target='ClearConsole' typeid='7' hidden='0' locked='0' info='' />
				</property>
			</properties>
			<values >
				<value target='SCADA_Ard_Uno1::scada_uart1::com_port' data='007' />
				<value target='SCADA_Ard_Uno1::scada_uart1::RefreshPorts' data='0' />
				<value target='SupplyVoltage' data='4.937000' />
				<value target='ADCBitDepth' data='10' />
				<value target='ADCResolution' data='0.004826' />
				<value target='D2Resistor' data='1483' />
				<value target='D3Resistor' data='468100' />
				<value target='D4Resistor' data='1473' />
				<value target='D5Resistor' data='469400' />
				<value target='D6Resistor' data='1480' />
				<value target='D7Resistor' data='468100' />
				<value target='CapacitorDelay' data='50' />
				<value target='ClearConsole' data='1' />
			</values>
			<events >
				<event class='Components' event='Property' target='Ev_Property' />
				<event class='Components' event='Initialise' target='Ev_Initialise' />
			</events>
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='ResistorLowSelection' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ADCPin' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<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='CapacitorPinReference' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Results' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TotalComponentTests' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='GetCapacitanceValueActive' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StoredMilliVolts' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='15' />
					</def>
				</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='HardwareDiag' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='MillivoltsResult' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='StaticText' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='60' />
						</local>
						<local name='state' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
						<local name='Exit' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='1' exp='.Exit' start='0' >
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.state' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='call' title='Test D2, D4, R1, R3 &amp; A1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='4' />
												<argument exp='16' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.StaticText = &quot;Testing:D2, D4, R1, R3 &amp; A1&quot;' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='call' title='Test D6, R5 &amp; A2' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='16' />
												<argument exp='64' />
												<argument exp='2' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.StaticText = &quot;Testing:D6, R5 &amp; A2&quot;' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='call' title='Test D3, D5, R2, R4 &amp; A3' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='8' />
												<argument exp='32' />
												<argument exp='3' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.StaticText = &quot;Testing:D3, D5, R2, R4 &amp; A3&quot;' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='call' title='Test D7 &amp; R6' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='32' />
												<argument exp='128' />
												<argument exp='3' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.StaticText = &quot;Testing:D7 &amp; R6&quot;' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.MillivoltsResult &gt; 2430) &amp;&amp; (.MillivoltsResult &lt; 2570)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.StaticText = .StaticText + &quot;...Pass&quot;' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
											<argument exp='.StaticText' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='ConsoleWriter1' macro='AddString' >
											<argument exp='.StaticText' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='1' type='2' />
										<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.state = 4' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
													<exp exp='.Exit = 1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.StaticText = .StaticText + &quot;...Fail\n Click Diag SW\nto return to\nthe start&quot;' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
											<argument exp='.StaticText' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='ConsoleWriter1' macro='AddString' >
											<argument exp='.StaticText' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2' type='2' />
										<command class_type='call' title='Deactivate Switch' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SwitchHardwareDiag' macro='SetState' >
											<argument exp='0' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='1' exp='SwitchHardwareDiag :: GetState ()' start='0' >
											<flowline >
												<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' 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='.Exit = 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='.state = .state + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ComponentTesting' description='Takes an analogue reading and returns a resistance as a floating point value' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='MillivoltsResult' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='TestState' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='EndTests' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='CalculatedComponentValue' type='f32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0.0' />
						<local name='Count' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='ResultsIndex' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='ComponentTypeDetected' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='TestResults' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
							<array size='2' />
						</local>
						<local name='ResistanceValue' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='9' />
						</local>
						<local name='ResistanceValueUsed' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='DiodeForwardBiasedRef' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Loop' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='ConsoleString' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='60' />
						</local>
						<local name='StaticText' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='60' />
						</local>
						<local name='RepeatTest' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='ClearConsole' swap='0' >
							<flowline >
								<command class_type='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='ConsoleWriter1' macro='Clear' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='//.TestState = 2 //miss out cap testing for now' />
							<exp exp='.StaticText = &quot;&quot;' />
							<exp exp='.TestState = 1' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.ComponentTypeDetected = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='1' exp='.EndTests' start='0' >
							<flowline >
								<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='switch' title='Switch' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestState' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='comment' title='' comment='Test for capacitors.
capacitor can be detected as a diode so loop twice to confirm
Repeat same test only if second result is too low i.e under 100mv' textarea='82,-5,82,-5' 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='.RepeatTest = 3' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='1' exp='.RepeatTest &lt; 2' start='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
														<exp exp='.Count = 0' />
														<exp exp='Results = 0' />
														<exp exp='.Loop = 0' />
													</command>
													<command class_type='call' title='D2, A2 &amp; D6  pins to 0V to discharged cap if connected?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
														<return exp='ADCPin' />
														<argument exp='0' />
														<argument exp='0' />
														<argument exp='0' />
														<argument exp='4' />
														<argument exp='0' />
														<argument exp='68' />
														<argument exp='0' />
													</command>
													<command class_type='delay' title='Delay, Wait for caps to discharge if fitted?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='200' type='1' />
													<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='2' >
														<flowline >
															<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(Results = 0) || (Results = 1)' swap='0' >
																<flowline >
																	<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.RepeatTest &lt; 3' swap='0' >
																		<flowline >
																			<command class_type='call' title='Cap connected betwen A1 &amp; A2? Using low value resistors' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
																				<return exp='ADCPin' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='4' />
																				<argument exp='68' />
																				<argument exp='0' />
																				<argument exp='1' />
																			</command>
																			<command class_type='comment' title='' comment=' Set with Lower resistance values as ADC too low' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
																		</flowline>
																		<flowline >
																			<command class_type='comment' title='' comment=' Set with higher resistance values' textarea='143,24,143,24' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
																			<command class_type='call' title='Cap connected betwen A1 &amp; A2?  Using high value resistors' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
																				<return exp='ADCPin' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='4' />
																				<argument exp='72' />
																				<argument exp='0' />
																				<argument exp='1' />
																			</command>
																		</flowline>
																	</command>
																	<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
																		<return exp='.MillivoltsResult' />
																		<argument exp='ADCPin' />
																	</command>
																</flowline>
																<flowline />
															</command>
															<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.Count' swap='0' >
																<flowline >
																	<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Results = 1' swap='0' >
																		<flowline >
																			<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																				<exp exp='StoredMilliVolts[9] = .MillivoltsResult' />
																				<exp exp='' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																</flowline>
																<flowline >
																	<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																		<exp exp='StoredMilliVolts[1] = .MillivoltsResult' />
																		<exp exp='.TestResults[.Count] = 0' />
																	</command>
																	<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='StoredMilliVolts[1] &lt; 4200 //Check if pin is lower than 4200mV' swap='0' >
																		<flowline >
																			<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																				<exp exp='Results = 1' />
																				<exp exp='.Count = 1' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																	<command class_type='decision' title='Possible cap found so dont risk disharging' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Results' swap='0' >
																		<flowline />
																		<flowline >
																			<command class_type='call' title='D2, A2 &amp; D6  pins to 0V to discharged cap if connected?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
																				<return exp='ADCPin' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='4' />
																				<argument exp='0' />
																				<argument exp='68' />
																				<argument exp='0' />
																			</command>
																			<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
																				<return exp='.MillivoltsResult' />
																				<argument exp='ADCPin' />
																			</command>
																			<command class_type='delay' title='Delay, Wait for caps to discharge if fitted?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='50' type='1' />
																		</flowline>
																	</command>
																</flowline>
															</command>
															<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(Results = 0) || (Results = 2)' swap='0' >
																<flowline >
																	<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.RepeatTest &lt; 3' swap='0' >
																		<flowline >
																			<command class_type='comment' title='' comment=' Set with Lower resistance values as ADC too low' textarea='46,19,46,19' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
																			<command class_type='call' title='Cap connected betwen A1 &amp; A3?  Using low value resistors' textarea='70,19,70,19' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
																				<return exp='ADCPin' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='8' />
																				<argument exp='20' />
																				<argument exp='16' />
																				<argument exp='1' />
																			</command>
																		</flowline>
																		<flowline >
																			<command class_type='comment' title='' comment=' Set with higher resistance values' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
																			<command class_type='call' title='Cap connected betwen A1 &amp; A3?  Using high value resistors' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
																				<return exp='ADCPin' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='8' />
																				<argument exp='24' />
																				<argument exp='16' />
																				<argument exp='1' />
																			</command>
																		</flowline>
																	</command>
																	<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
																		<return exp='.MillivoltsResult' />
																		<argument exp='ADCPin' />
																	</command>
																</flowline>
																<flowline />
															</command>
															<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.Count' swap='0' >
																<flowline >
																	<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Results = 2' swap='0' >
																		<flowline >
																			<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																				<exp exp='StoredMilliVolts[10] = .MillivoltsResult' />
																				<exp exp='' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																</flowline>
																<flowline >
																	<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																		<exp exp='StoredMilliVolts[2] = .MillivoltsResult' />
																	</command>
																	<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='StoredMilliVolts[2] &lt; 4200 //Check if pin is lower than 4200mV' swap='0' >
																		<flowline >
																			<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																				<exp exp='Results = 2' />
																				<exp exp='.Count = 1' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																	<command class_type='decision' title='Possible cap found so dont risk disharging' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Results' swap='0' >
																		<flowline />
																		<flowline >
																			<command class_type='call' title='D2, A2 &amp; D6  pins to 0V to discharged cap if connected?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
																				<return exp='ADCPin' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='4' />
																				<argument exp='0' />
																				<argument exp='68' />
																				<argument exp='0' />
																			</command>
																			<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
																				<return exp='.MillivoltsResult' />
																				<argument exp='ADCPin' />
																			</command>
																			<command class_type='delay' title='Delay, Wait for caps to discharge if fitted?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='50' type='1' />
																		</flowline>
																	</command>
																</flowline>
															</command>
															<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(Results = 0) || (Results = 3)' swap='0' >
																<flowline >
																	<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.RepeatTest &lt; 3' swap='0' >
																		<flowline >
																			<command class_type='comment' title='' comment=' Set with Lower resistance values as ADC too low' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
																			<command class_type='call' title='Cap connected betwen A2 &amp; A3?  Using low value resistors' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
																				<return exp='ADCPin' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='8' />
																				<argument exp='20' />
																				<argument exp='64' />
																				<argument exp='2' />
																			</command>
																		</flowline>
																		<flowline >
																			<command class_type='comment' title='' comment=' Set with higher resistance values' textarea='155,4,155,4' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
																			<command class_type='call' title='Cap connected betwen A2 &amp; A3?  Using low high resistors' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
																				<return exp='ADCPin' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='0' />
																				<argument exp='8' />
																				<argument exp='36' />
																				<argument exp='64' />
																				<argument exp='2' />
																			</command>
																		</flowline>
																	</command>
																	<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
																		<return exp='.MillivoltsResult' />
																		<argument exp='ADCPin' />
																	</command>
																</flowline>
																<flowline />
															</command>
															<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.Count' swap='0' >
																<flowline >
																	<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Results = 3' swap='0' >
																		<flowline >
																			<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																				<exp exp='StoredMilliVolts[11] = .MillivoltsResult' />
																				<exp exp='' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																</flowline>
																<flowline >
																	<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																		<exp exp='StoredMilliVolts[3] = .MillivoltsResult' />
																	</command>
																	<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(StoredMilliVolts[3]) &lt; 4200 || .TestResults[0] = 3 //Check if pin is lower than 4200mV' swap='0' >
																		<flowline >
																			<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																				<exp exp='Results = 3' />
																				<exp exp='.Count = 1' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																</flowline>
															</command>
															<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='600' type='1' />
														</flowline>
													</command>
													<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CapacitorPinReference' swap='0' >
														<flowline >
															<command class_type='call' title='D2, A2 &amp; D6  pins to 0V to discharged cap if connected?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
																<return exp='ADCPin' />
																<argument exp='0' />
																<argument exp='0' />
																<argument exp='0' />
																<argument exp='4' />
																<argument exp='0' />
																<argument exp='68' />
																<argument exp='0' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
														<exp exp='CapacitorPinReference = 0' />
													</command>
													<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Results' >
														<case >
															<flowline />
														</case>
														<case exp='1' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='StoredMilliVolts[9] - StoredMilliVolts[1] &gt; 100' swap='0' >
																	<flowline >
																		<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(StoredMilliVolts[9] &gt; 3500) &amp;&amp; (.RepeatTest = 3)' swap='0' >
																			<flowline >
																				<command class_type='comment' title='' comment='Must be a low value cap, so use the higher value resisters.' 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='ResistorLowSelection = 0' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='comment' title='' comment='Must be a high value cap, so use the lower value resisters.' 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='ResistorLowSelection = 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='.ComponentTypeDetected = 2 //Capacitor' />
																			<exp exp='CapacitorPinReference = 1' />
																			<exp exp='.RepeatTest = 0' />
																		</command>
																		<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetCapacitanceValue' >
																			<return exp='.CalculatedComponentValue' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</case>
														<case exp='2' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='StoredMilliVolts[10] - StoredMilliVolts[2] &gt; 35' swap='0' >
																	<flowline >
																		<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(StoredMilliVolts[10]) &gt; 3500 &amp;&amp; (.RepeatTest = 3)' swap='0' >
																			<flowline >
																				<command class_type='comment' title='' comment='Must be a low value cap, so use the higher value resisters.' 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='ResistorLowSelection = 0' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='comment' title='' comment='Must be a high value cap, so use the lower value resisters.' 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='ResistorLowSelection = 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='.ComponentTypeDetected = 2 //Capacitor' />
																			<exp exp='CapacitorPinReference = 2' />
																			<exp exp='.RepeatTest = 0' />
																		</command>
																		<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetCapacitanceValue' >
																			<return exp='.CalculatedComponentValue' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</case>
														<case exp='3' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='StoredMilliVolts[11] - StoredMilliVolts[3] &gt; 35' swap='0' >
																	<flowline >
																		<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(StoredMilliVolts[11] &gt; 3500) &amp;&amp; (.RepeatTest = 3)' swap='0' >
																			<flowline >
																				<command class_type='comment' title='' comment='Must be a low value cap, so use the higher value resisters.' 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='ResistorLowSelection = 0' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='comment' title='' comment='Must be a high value cap, so use the lower value resisters.' 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='ResistorLowSelection = 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='.ComponentTypeDetected = 2 //Capacitor' />
																			<exp exp='CapacitorPinReference = 3' />
																			<exp exp='.RepeatTest = 0' />
																		</command>
																		<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetCapacitanceValue' >
																			<return exp='.CalculatedComponentValue' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</case>
													</command>
													<command class_type='call' title='D2, A2 &amp; D6  pins to 0V to discharged cap if connected?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
														<return exp='ADCPin' />
														<argument exp='0' />
														<argument exp='0' />
														<argument exp='0' />
														<argument exp='4' />
														<argument exp='0' />
														<argument exp='68' />
														<argument exp='0' />
													</command>
													<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.RepeatTest' swap='0' >
														<flowline >
															<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																<exp exp='.RepeatTest = .RepeatTest - 1' />
															</command>
														</flowline>
														<flowline />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='call' title='Setup 1. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='4' />
												<argument exp='4' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[1] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 2. Will Set  pins to required state &amp; retrieve ADC in mV.' comment='Test will Set all pins to required state &amp; retrieve ADC in millivolts.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='2' />
												<argument exp='16' />
												<argument exp='0' />
												<argument exp='2' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[2] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 3. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='4' />
												<argument exp='8' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[3] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 4. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='2' />
												<argument exp='32' />
												<argument exp='0' />
												<argument exp='2' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[4] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 5. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='8' />
												<argument exp='16' />
												<argument exp='0' />
												<argument exp='2' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[5] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 6. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='4' />
												<argument exp='64' />
												<argument exp='0' />
												<argument exp='3' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[6] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 7. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='8' />
												<argument exp='32' />
												<argument exp='0' />
												<argument exp='2' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[7] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 8. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='4' />
												<argument exp='128' />
												<argument exp='0' />
												<argument exp='3' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[8] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 9. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='8' />
												<argument exp='4' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[9] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 10. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='2' />
												<argument exp='64' />
												<argument exp='0' />
												<argument exp='3' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[10] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 11. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='8' />
												<argument exp='8' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[11] = .MillivoltsResult' />
											</command>
											<command class_type='call' title='Setup 12. Will Set  pins to required state &amp; retrieve ADC in mV.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='2' />
												<argument exp='128' />
												<argument exp='0' />
												<argument exp='3' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
												<return exp='.MillivoltsResult' />
												<argument exp='ADCPin' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='StoredMilliVolts[12] = .MillivoltsResult' />
												<exp exp='Results = 0' />
												<exp exp='.Count = 1' />
												<exp exp='.ResultsIndex = 0' />
												<exp exp='.ComponentTypeDetected = 0' />
											</command>
											<command class_type='loop' title='Loop to detect all connected PN junctions' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='3' >
												<flowline >
													<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='StoredMilliVolts[.Count] &lt; 1200 &amp;&amp; (StoredMilliVolts[.Count + 1] &gt; 4500)' swap='0' >
														<flowline >
															<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																<exp exp='.TestResults[.ResultsIndex] = (.Count &gt;&gt; 1) + 1' />
																<exp exp='.ResultsIndex = 1' />
																<exp exp='.ComponentTypeDetected = 3' />
																<exp exp='.DiodeForwardBiasedRef = .Count' />
															</command>
														</flowline>
														<flowline >
															<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='StoredMilliVolts[.Count + 1] &lt; 1200 &amp;&amp; (StoredMilliVolts[.Count] &gt; 4500)' swap='0' >
																<flowline >
																	<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																		<exp exp='.TestResults[.ResultsIndex] = ((.Count + 1) &gt;&gt; 1) + 1' />
																		<exp exp='.ResultsIndex = 1' />
																		<exp exp='.ComponentTypeDetected = 3' />
																		<exp exp='.DiodeForwardBiasedRef = .Count + 1' />
																	</command>
																</flowline>
																<flowline />
															</command>
														</flowline>
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
														<exp exp='.Count = .Count + 4' />
													</command>
												</flowline>
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.Count = 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.ComponentTypeDetected' swap='0' >
												<flowline />
												<flowline >
													<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='12' >
														<flowline >
															<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='StoredMilliVolts[.Count] &lt; 4700' swap='0' >
																<flowline >
																	<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																		<exp exp='.ComponentTypeDetected = 1 //A resistor' />
																	</command>
																</flowline>
																<flowline />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																<exp exp='.Count = .Count + 1' />
															</command>
														</flowline>
													</command>
												</flowline>
											</command>
											<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.ComponentTypeDetected = 0' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
														<exp exp='.EndTests = 1' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.ComponentTypeDetected' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.EndTests = 1' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='TotalComponentTests = TotalComponentTests + 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='.TestState = 2' />
										</command>
									</flowline>
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.ComponentTypeDetected' >
									<case >
										<flowline />
									</case>
									<case exp='1 //Resister' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.Count = 1' />
												<exp exp='Results = 0' />
												<exp exp='.MillivoltsResult = 5000' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='12' >
												<flowline >
													<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(StoredMilliVolts[.Count] &gt; 60) &amp;&amp; (StoredMilliVolts[.Count] &lt; 4600)' swap='0' >
														<flowline >
															<command class_type='decision' title='Decision. Find the lowest value as will be more accurate.' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='StoredMilliVolts[.Count] &lt;= .MillivoltsResult' swap='0' >
																<flowline >
																	<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																		<exp exp='.MillivoltsResult = StoredMilliVolts[.Count]' />
																		<exp exp='.TestResults[0] = .MillivoltsResult' />
																		<exp exp='.TestResults[1] = .Count' />
																	</command>
																</flowline>
																<flowline />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																<exp exp='.ComponentTypeDetected = 1' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
														<exp exp='.Count = .Count + 1' />
													</command>
												</flowline>
											</command>
											<command class_type='switch' title='Switch. Check to see what resistor was used (R1 - R6), Get value' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[1]' >
												<case >
													<flowline />
												</case>
												<case exp='1' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D2Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='2' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D4Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='3' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D3Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='4' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D5Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='5' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D4Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='6' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D6Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='7' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D5Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='8' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D7Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='9' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D2Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='10' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D6Resistor' />
														</command>
													</flowline>
												</case>
											</command>
											<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[1]' >
												<case >
													<flowline />
												</case>
												<case exp='11' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D3Resistor' />
														</command>
													</flowline>
												</case>
												<case exp='12' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ResistanceValueUsed = D7Resistor' />
														</command>
													</flowline>
												</case>
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.CalculatedComponentValue = (FLOAT .ResistanceValueUsed * (.MillivoltsResult / 1000.0)) / (5 - (.MillivoltsResult / 1000.0))' />
												<exp exp='.ResistanceValue = FloatToString$ (.CalculatedComponentValue,2)' />
											</command>
											<command class_type='switch' title='Switch. Display connected pins' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[1]' >
												<case >
													<flowline />
												</case>
												<case exp='1' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA1   A2&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A1 &amp; A2\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='2' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA1   A2&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A1 &amp; A2\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='3' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA1   A2&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A1 &amp; A2\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='4' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA1   A2&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A1 &amp; A2\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='5' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA2   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A2 &amp; A3\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='6' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA2   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A2 &amp; A3\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='7' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA2   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A2 &amp; A3\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='8' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA2   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A2 &amp; A3\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='9' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA1   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A1 &amp; A3\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='10' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA1   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A1 &amp; A3\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
											</command>
											<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[1]' >
												<case >
													<flowline />
												</case>
												<case exp='11' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA1   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A1 &amp; A3\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='12' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Resistor\n&quot; + .ResistanceValue + &quot;R&quot; + &quot;\nConnections\nA1   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Resistor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot; Ohms\nConnections are A1 &amp; A3\nSeries Resistor used = &quot;' />
															<exp exp='.ConsoleString = .ConsoleString + ToString$ (.ResistanceValueUsed) + &quot; Ohms&quot;' />
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
									<case exp='2 //Capacitor' >
										<flowline >
											<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Results' >
												<case >
													<flowline />
												</case>
												<case exp='1' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Capacitor\n&quot;' />
															<exp exp='.StaticText = .StaticText + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.StaticText = .StaticText + &quot;uF\nConnections\nA1   A2&quot;' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Capacitor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot;uF\nConnections are A1 &amp; A2&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='2' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Capacitor\n&quot;' />
															<exp exp='.StaticText = .StaticText + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.StaticText = .StaticText + &quot;uF\nConnections\nA1   A3&quot;' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Capacitor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot;uF\nConnections are A1 &amp; A3&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='3' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Capacitor\n&quot;' />
															<exp exp='.StaticText = .StaticText + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.StaticText = .StaticText + &quot;uF\nConnections\nA2   A3&quot;' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Capacitor\nValue = &quot; + FloatToString$ (.CalculatedComponentValue,2)' />
															<exp exp='.ConsoleString = .ConsoleString + &quot;uF\nConnections are A2 &amp; A3&quot;' />
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
									<case exp='3 //Pn Junctions' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='Results = (.TestResults[1] + 1) * 6 + .TestResults[0] - 6' />
											</command>
											<command class_type='switch' title='Switch                                                         ' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Results' >
												<case >
													<flowline />
												</case>
												<case exp='1' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='.StaticText = &quot;Diode x 1\nFV = &quot; + .StaticText + &quot;mV&quot;' />
															<exp exp='.StaticText = .StaticText + &quot;\nConnections\nA   K\nA1   A2&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' mark='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Diode\nForward voltage drop = &quot; + ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='.ConsoleString = .ConsoleString + &quot;mV\nConnections are anode = A1 &amp; cathode = A2&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='2' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Diode x 1\nFV = &quot; + .StaticText + &quot;mV&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = .StaticText + &quot;\nConnections\nK   A\nA1   A2&quot;' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Diode\nForward voltage drop = &quot; + ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='.ConsoleString = .ConsoleString + &quot;mV\nConnections are cathode = A1 &amp; anode = A2&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='3' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Diode x 1\nFV = &quot; + .StaticText + &quot;mV&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = .StaticText + &quot;\nConnections\nA   K\nA2   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Diode\nForward voltage drop = &quot; + ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='.ConsoleString = .ConsoleString + &quot;mV\nConnections are cathode = A2 &amp; anode = A3&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='4' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Diode x 1\nFV = &quot; + .StaticText + &quot;mV&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = .StaticText + &quot;\nConnections\nK   A\nA2   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Diode\nForward voltage drop = &quot; + ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='.ConsoleString = .ConsoleString + &quot;mV\nConnections are cathode = A2 &amp; anode = A3&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='5' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Diode x 1\nFV = &quot; + .StaticText + &quot;mV&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = .StaticText + &quot;\nConnections\nA   K\nA1   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Diode\nForward voltage drop = &quot; + ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='.ConsoleString = .ConsoleString + &quot;mV\nConnections are anode = A2 &amp; cathode = A3&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='6' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = &quot;Diode x 1\nFV = &quot; + .StaticText + &quot;mV&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.StaticText = .StaticText + &quot;\nConnections\nK   A\nA1   A3&quot;' />
															<exp exp='' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
															<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Diode\nForward voltage drop = &quot; + ToString$ (StoredMilliVolts[.DiodeForwardBiasedRef])' />
															<exp exp='.ConsoleString = .ConsoleString + &quot;mV\nConnections are cathode = A1 &amp; anode = A3&quot;' />
														</command>
													</flowline>
												</case>
												<case exp='20' >
													<flowline >
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='8' />
															<argument exp='36' />
															<argument exp='0' />
															<argument exp='1' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[0] = .MillivoltsResult' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='2' />
															<argument exp='96' />
															<argument exp='0' />
															<argument exp='3' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[1] = .MillivoltsResult' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.TestResults[0] &lt; 4000) || (.TestResults[1] &lt; 4000)' swap='0' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[0] &lt; .TestResults[1]' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor NPN\nConnections\nC    B    E\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = NPN Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are collector = A1, base = A2 &amp; emitter = A3&quot;' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor NPN\nConnections\nE    B    C\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = NPN Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are emitter = A1, base = A2 &amp; collector = A3&quot;' />
																		</command>
																	</flowline>
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.StaticText = &quot;Diode x 2\nConnections\nK    A    K\nA1   A2   A3&quot;' />
																	<exp exp='' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																	<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Two Diodes&quot;' />
																	<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are anodes = A1 &amp; A2 &amp; cathode = A3&quot;' />
																</command>
															</flowline>
														</command>
													</flowline>
												</case>
												<case exp='25 //PNP A K A' >
													<flowline >
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='8' />
															<argument exp='4' />
															<argument exp='32' />
															<argument exp='1' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[0] = .MillivoltsResult' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='2' />
															<argument exp='64' />
															<argument exp='32' />
															<argument exp='3' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[1] = .MillivoltsResult' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.TestResults[0] &lt; 4000) || (.TestResults[1] &lt; 4000)' swap='0' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[0] &lt; .TestResults[1]' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor PNP\nConnections\nE    B    C\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = PNP Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are emitter = A1, base = A2 &amp; collector = A3&quot;' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor PNP\nConnections\nC    B    E\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = PNP Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are collector = A1, base = A2 &amp; emitter = A3&quot;' />
																		</command>
																	</flowline>
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.StaticText = &quot;Diode x 2\nConnections\nA    K    A\nA1   A2   A3&quot;' />
																	<exp exp='' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																	<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Two Diodes&quot;' />
																	<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are anodes = A1 &amp; A3, cathode = A2&quot;' />
																</command>
															</flowline>
														</command>
													</flowline>
												</case>
												<case exp='31' >
													<flowline >
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='8' />
															<argument exp='24' />
															<argument exp='16' />
															<argument exp='2' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[0] = .MillivoltsResult' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='4' />
															<argument exp='72' />
															<argument exp='16' />
															<argument exp='3' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[1] = .MillivoltsResult' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.TestResults[0] &lt; 4000) || (.TestResults[1] &lt; 4000)' swap='0' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[0] &lt; .TestResults[1]' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor NPN\nConnections\nB    C    E\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = NPN Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are collector = A1, base = A2 &amp; emitter = A3&quot;' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor NPN\nConnections\nB    E    C\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = NPN Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are base = A1, emitter = A2 &amp; collector = A3&quot;' />
																		</command>
																	</flowline>
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.StaticText = &quot;Diode x 2\nConnections\nA    K    K\nA1   A2   A3&quot;' />
																	<exp exp='' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																	<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Two Diodes&quot;' />
																	<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are anodes = A1, cathode = A2 &amp; A3&quot;' />
																</command>
															</flowline>
														</command>
													</flowline>
												</case>
												<case exp='33' >
													<flowline >
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='4' />
															<argument exp='4' />
															<argument exp='128' />
															<argument exp='1' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[0] = .MillivoltsResult' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='2' />
															<argument exp='16' />
															<argument exp='128' />
															<argument exp='2' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[1] = .MillivoltsResult' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.TestResults[0] &lt; 4000) || (.TestResults[1] &lt; 4000)' swap='0' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[0] &lt; .TestResults[1]' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor PNP\nConnections\nE    C    B\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = PNP Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are emitter = A1, collector = A2 &amp; base = A3&quot;' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor PNP\nConnections\nC    E    B\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = PNP Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are collector = A1, emitter = A2 &amp; base = A3&quot;' />
																		</command>
																	</flowline>
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.StaticText = &quot;Diode x 2\nConnections\nA    A    K\nA1   A2   A3&quot;' />
																	<exp exp='' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																	<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Two Diodes&quot;' />
																	<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are anodes = A1 &amp; A2, cathode = A3&quot;' />
																</command>
															</flowline>
														</command>
													</flowline>
												</case>
											</command>
											<command class_type='switch' title='                                                                ' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Results' >
												<case >
													<flowline />
												</case>
												<case exp='38' >
													<flowline >
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='8' />
															<argument exp='16' />
															<argument exp='4' />
															<argument exp='2' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[0] = .MillivoltsResult' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='4' />
															<argument exp='64' />
															<argument exp='4' />
															<argument exp='3' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[1] = .MillivoltsResult' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.TestResults[0] &lt; 4000) || (.TestResults[1] &lt; 4000)' swap='0' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[0] &lt; .TestResults[1]' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor PNP\nConnections\nB    E    C\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = PNP Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are base = A1, emitter = A2 &amp; collector = A3&quot;' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor PNP\nConnections\nB    C    E\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = PNP Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are base = A1, collector = A2 &amp; emitter = A3&quot;' />
																		</command>
																	</flowline>
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.StaticText = &quot;Diode x 2\nConnections\nK    A    A\nA1   A2   A3&quot;' />
																	<exp exp='' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																	<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Two Diodes&quot;' />
																	<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are cathode = A1, anodes = A2 &amp; A3&quot;' />
																</command>
															</flowline>
														</command>
													</flowline>
												</case>
												<case exp='40' >
													<flowline >
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='4' />
															<argument exp='132' />
															<argument exp='0' />
															<argument exp='1' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[0] = .MillivoltsResult' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
															<return exp='ADCPin' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='2' />
															<argument exp='144' />
															<argument exp='0' />
															<argument exp='2' />
														</command>
														<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
															<return exp='.MillivoltsResult' />
															<argument exp='ADCPin' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.TestResults[1] = .MillivoltsResult' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.TestResults[0] &lt; 4000) || (.TestResults[1] &lt; 4000)' swap='0' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TestResults[0] &lt; .TestResults[1]' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor NPN\nConnections\nC    E    B\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = NPN Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are collector = A1, emitter = A2 &amp; base = A3&quot;' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.StaticText = &quot;Transistor NPN\nConnections\nE    C    B\nA1   A2   A3&quot;' />
																			<exp exp='' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																			<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																			<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = NPN Transistor&quot;' />
																			<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are emitter = A1, collector = A2 &amp; base= A3&quot;' />
																		</command>
																	</flowline>
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.StaticText = &quot;Diode x 2\nConnections\nK    K    A\nA1   A2   A3&quot;' />
																	<exp exp='' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
																	<exp exp='.ConsoleString = ToString$ (TotalComponentTests)' />
																	<exp exp='.ConsoleString = &quot;Test &quot; + .ConsoleString + &quot;:\nComponent detected = Two Diodes&quot;' />
																	<exp exp='.ConsoleString = .ConsoleString + &quot;\nConnections are cathodes = A1 &amp; A2, anode = A1, &quot;' />
																</command>
															</flowline>
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.ComponentTypeDetected = 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.StaticText = &quot;Unable to\nidentify\ncomponent&quot;' />
									<exp exp='.ConsoleString = &quot;Unable to identify component&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
							<argument exp='.StaticText' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.ConsoleString = .ConsoleString + &quot;\n&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='ConsoleWriter1' macro='AddString' >
							<argument exp='.ConsoleString' />
						</command>
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
					</flowline>
				</macro>
				<macro >
					<flowline name='StoreRSettings' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='idx' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='CSV_Writer1' macro='OpenFile' >
							<argument exp='&quot;config.cfg&quot;' />
							<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' forvar='.idx' exp='6' >
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.idx' >
									<case >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.str = ToString$ (D2Resistor)' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.str = ToString$ (D3Resistor)' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.str = ToString$ (D4Resistor)' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.str = ToString$ (D5Resistor)' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.str = ToString$ (D6Resistor)' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.str = ToString$ (D7Resistor)' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='CSV_Writer1' macro='AddString' >
									<argument exp='.str' />
								</command>
							</flowline>
						</command>
						<command class_type='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='CSV_Writer1' macro='CloseFile' />
					</flowline>
				</macro>
				<macro >
					<flowline name='RetreiveRSettings' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='idx' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='inneridx' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='done' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='char' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='FileSCADA1' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='FileSCADA1' macro='OpenFile' >
							<return exp='.done' />
							<argument exp='&quot;config.cfg&quot;' />
						</command>
						<command class_type='decision' title='File Exists?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.done = 0' swap='0' >
							<flowline >
								<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' forvar='.idx' exp='6' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.inneridx = 0' />
											<exp exp='.done = 0' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='.done = 0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='FileSCADA1' macro='ReadByteFromFile' >
													<return exp='.char' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.char = &apos;,&apos; || .char = 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.done = 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='.str[.inneridx] = .char' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
															<exp exp='.inneridx = .inneridx + 1' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.str[.inneridx] = 0' />
										</command>
										<command class_type='decision' title='String contains data?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='Length$ (.str)' swap='0' >
											<flowline >
												<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.idx' >
													<case >
														<flowline >
															<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;D2Resistor&quot;' />
																<argument exp='.str' />
															</command>
														</flowline>
													</case>
													<case exp='1' >
														<flowline >
															<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;D3Resistor&quot;' />
																<argument exp='.str' />
															</command>
														</flowline>
													</case>
													<case exp='2' >
														<flowline >
															<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;D4Resistor&quot;' />
																<argument exp='.str' />
															</command>
														</flowline>
													</case>
													<case exp='3' >
														<flowline >
															<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;D5Resistor&quot;' />
																<argument exp='.str' />
															</command>
														</flowline>
													</case>
													<case exp='4' >
														<flowline >
															<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;D6Resistor&quot;' />
																<argument exp='.str' />
															</command>
														</flowline>
													</case>
													<case exp='5' >
														<flowline >
															<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;D7Resistor&quot;' />
																<argument exp='.str' />
															</command>
														</flowline>
													</case>
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='FileSCADA1' macro='OpenFile' >
									<return exp='.done' />
									<argument exp='&quot;config2.cfg&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Initialise' description='Initialisation routine for the component once the component is linked to its parent' statediag='0' >
						<return name='Return' type='u32' description='Non-zero to prevent initialisation' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='RetreiveRSettings' />
					</flowline>
				</macro>
				<macro >
					<flowline name='GetADC' description='' statediag='0' >
						<return name='Return' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='ADCPin' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ADC' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='MillivoltsResult' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='MillivoltsFloat' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='ADCSample10' >
							<return exp='.ADC' />
							<argument exp='.ADCPin' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='1' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='ADCSample10' >
							<return exp='.ADC' />
							<argument exp='.ADCPin' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='GetCapacitanceValueActive' 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 = .ADC' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.MillivoltsFloat = 5.00 / 1023.0 * FLOAT .ADC * 1000' />
									<exp exp='.MillivoltsResult = .MillivoltsFloat' />
									<exp exp='.Return = .MillivoltsResult' />
								</command>
							</flowline>
						</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='StaticText' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='60' />
						</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='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='.StaticText = &quot;R1 =&quot; + ToString$ (D2Resistor) + &quot; ohms\nR2 =&quot; + ToString$ (D3Resistor) + &quot; ohms\nR3 =&quot; + ToString$ (D4Resistor) + &quot; ohms\nR4 =&quot; + ToString$ (D5Resistor)' />
							<exp exp='.StaticText = .StaticText + &quot; ohms\nR5 =&quot; + ToString$ (D6Resistor) + &quot; ohms\nR6 =&quot; + ToString$ (D7Resistor) + &quot; ohms&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText2' macro='SetText' >
							<argument exp='.StaticText' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='StoreRSettings' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetPins' description='' statediag='0' >
						<return name='Return' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='OutputHighPortB' type='u8' description='Digital pins 8 - 13.  (0 to 255)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='OutputLowPortB' type='u8' description='Digital pins 8 - 13.  (0 to 255)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='OutputHighPortC' type='u8' description='Analogue Pins A0 to A4 (0 to 255)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='OutputLowPortC' type='u8' description='Analogue Pins A0 to A4  (0 to 255)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='OutputHighPortD' type='u8' description='Digital Pins 0 to 7  (0 to 255)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='OutputLowPortD' type='u8' description='Digital Pins 0 to 7  (0 to 255)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='ADCReadPin' type='u8' description='Use 0 for A0......5 for A5 (0 to 5)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='DDRB' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='DDRC' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='DDRD' type='u8' 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' >
							<exp exp='.DDRB = 0' />
							<exp exp='.DDRB = .DDRB | .OutputHighPortB | .OutputLowPortB' />
							<exp exp='.DDRC = 0' />
							<exp exp='.DDRC = .DDRC | .OutputHighPortC | .OutputLowPortC' />
							<exp exp='.DDRD = 2 //Keep TX as output' />
							<exp exp='.DDRD = .DDRD | .OutputHighPortD | .OutputLowPortD' />
							<exp exp='' />
							<exp exp='' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='RegisterWrite' >
							<argument exp='0x24' />
							<argument exp='.DDRB' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='RegisterWrite' >
							<argument exp='0x27' />
							<argument exp='.DDRC' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='RegisterWrite' >
							<argument exp='0x2A' />
							<argument exp='.DDRD' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='RegisterWrite' >
							<argument exp='0x25' />
							<argument exp='.OutputHighPortB' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='RegisterWrite' >
							<argument exp='0x28' />
							<argument exp='.OutputHighPortC' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='RegisterWrite' >
							<argument exp='0x2B' />
							<argument exp='.OutputHighPortD' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Return = .ADCReadPin' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PreDiag' description='' statediag='0' >
						<return name='Return' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ADC1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ADC2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ADC3' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Difference' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
							<return exp='ADCPin' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0x08' />
							<argument exp='0x04' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
							<return exp='.ADC1' />
							<argument exp='ADCPin' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
							<return exp='ADCPin' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0x20' />
							<argument exp='0x10' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
							<return exp='.ADC2' />
							<argument exp='ADCPin' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
							<return exp='ADCPin' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0x80' />
							<argument exp='0x40' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
							<return exp='.ADC3' />
							<argument exp='ADCPin' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Difference = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.ADC1 &gt; .ADC2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.Difference = .Difference + (.ADC1 - .ADC2)' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.Difference = .Difference + (.ADC2 - .ADC1)' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.ADC1 &gt; .ADC3' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.Difference = .Difference + (.ADC1 - .ADC3)' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.Difference = .Difference + (.ADC3 - .ADC1)' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.Difference &gt; 20' 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 = 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 = 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCapacitanceValue' description='' statediag='0' >
						<return name='Return' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='ADCOld' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='StaticCounter' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Time' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='SeriesResistance' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Counter' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='ADC' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Timeout' type='u16' 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='XYChart1' macro='Clear' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='GetCapacitanceValueActive = 1' />
						</command>
						<command class_type='switch' title='Switch Discharge capacitor &amp; read correct ADC' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CapacitorPinReference' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='D2 &amp; A2  pins to 0V to discharged cap' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
										<return exp='ADCPin' />
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='4' />
										<argument exp='0' />
										<argument exp='4' />
										<argument exp='1' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='ResistorLowSelection' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.SeriesResistance = D2Resistor' />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.SeriesResistance = D3Resistor' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='D2 &amp; A3  pins to 0V to discharged cap' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
										<return exp='ADCPin' />
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='8' />
										<argument exp='0' />
										<argument exp='4' />
										<argument exp='1' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='ResistorLowSelection' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.SeriesResistance = D2Resistor' />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.SeriesResistance = D3Resistor' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='D4 &amp; A3 pins to 0V to discharged cap ' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
										<return exp='ADCPin' />
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='16' />
										<argument exp='0' />
										<argument exp='16' />
										<argument exp='2' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='ResistorLowSelection' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.SeriesResistance = D4Resistor' />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
												<exp exp='.SeriesResistance = D5Resistor' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Counter = 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) &amp;&amp; .Counter &lt; 150' start='0' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
									<return exp='.ADC' />
									<argument exp='ADCPin' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='XYChart1' macro='AddPoint' >
									<argument exp='.Counter *(CapacitorDelay+3)' />
									<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='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='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='XYChart1' macro='Clear' />
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='500' type='1' />
						<command class_type='switch' title='Switch Charge capacitor' textarea='36,25,36,25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='CapacitorPinReference' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='ResistorLowSelection' swap='0' >
										<flowline >
											<command class_type='call' title='Cap connected betwen A1 &amp; A2' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='4' />
												<argument exp='4' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Cap connected betwen A1 &amp; A2' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='4' />
												<argument exp='8' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='ResistorLowSelection' swap='0' >
										<flowline >
											<command class_type='call' title='Cap connected betwen A1 &amp; A3' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='8' />
												<argument exp='4' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Cap connected betwen A1 &amp; A3' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='8' />
												<argument exp='8' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='ResistorLowSelection' swap='0' >
										<flowline >
											<command class_type='call' title='Cap connected betwen A2 &amp; A3' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='8' />
												<argument exp='16' />
												<argument exp='0' />
												<argument exp='2' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Cap connected betwen A2 &amp; A3' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
												<return exp='ADCPin' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='8' />
												<argument exp='32' />
												<argument exp='0' />
												<argument exp='2' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Counter = 0' />
						</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) &amp;&amp; .Counter &lt; 150' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='GetADC' >
									<return exp='.ADC' />
									<argument exp='ADCPin' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='XYChart1' macro='AddPoint' >
									<argument exp='.Counter *(CapacitorDelay+3)' />
									<argument exp='.ADC * ADCResolution' />
									<argument exp='1' />
								</command>
								<command class_type='delay' title='Allow time for cap to charge' 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 + 2 &gt;= .ADCOld) &amp;&amp; (.ADC - 2 &lt;= .ADCOld)' 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='.ADCOld = .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='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 - 10)' />
							<exp exp='GetCapacitanceValueActive = 0' />
						</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='.Time = .Time / 5' />
							<exp exp='.Return = .Time / .SeriesResistance' />
						</command>
						<command class_type='calculation' title='Convert from F to uF' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Return = .Return * 1000.0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<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='call' title='Set Reference Voltage to internal Vcc' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='ADCSetReferenceVoltage' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Read Reg 0x55 (MCUCR Reg)' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='RegisterRead' >
							<return exp='Results' />
							<argument exp='0x55' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='Results = Results | (1 &lt;&lt; 4) //Set bit 4  (PUD) of MCUCR Reg' />
						</command>
						<command class_type='call' title='Set  PUD of MCUCR Reg to disable pull-up function' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SCADA_Ard_Uno1' macro='RegisterWrite' >
							<argument exp='0x55' />
							<argument exp='Results' />
						</command>
						<command class_type='call' title='Makesure Switch is off' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SwitchCT' macro='SetState' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Deactivate Switch' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SwitchHardwareDiag' macro='SetState' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
							<argument exp='&quot;Rev 1.0&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2' type='2' />
						<command class_type='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='XYChart1' macro='Clear' />
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
							<argument exp='&quot;Push button\nto start test&quot;' />
						</command>
						<command class_type='call' title='Set all pins to inputs. Use a dummy retun value' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
							<return exp='Results' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<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='SwitchCT :: GetState ()' swap='0' >
									<flowline >
										<command class_type='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='XYChart1' macro='Clear' />
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
											<argument exp='&quot;\n\nTesting.....&quot;' />
										</command>
										<command class_type='call' title='D2, A2 &amp; D6  pins to 0V to discharged cap if connected?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
											<return exp='Results' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='4' />
											<argument exp='0' />
											<argument exp='68' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='ComponentTesting' />
										<command class_type='call' title='Deactivate Switch' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SwitchCT' 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='SwitchHardwareDiag :: GetState ()' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='ClearConsole' swap='0' >
											<flowline >
												<command class_type='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='ConsoleWriter1' macro='Clear' />
											</flowline>
											<flowline />
										</command>
										<command class_type='sim' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='XYChart1' macro='Clear' />
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='ConsoleWriter1' macro='AddString' >
											<argument exp='&quot;Diagnostics&quot;' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='PreDiag ()' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
													<argument exp='&quot;\nTesting hardware\nLink A1, A2 &amp; A3 together\nThen click Diag SW again.&quot;' />
												</command>
												<command class_type='call' title='Deactivate Switch' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SwitchHardwareDiag' macro='SetState' >
													<argument exp='0' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='1' exp='SwitchHardwareDiag :: GetState ()' start='0' >
													<flowline >
														<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
													</flowline>
												</command>
												<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
													<argument exp='&quot;\n\nTesting Hardware.....&quot;' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='HardwareDiag' />
											</flowline>
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
													<argument exp='&quot;A1, A2, A3 Potential wiring problem\nA1 should be connected to R1, R2 etc&quot;' />
												</command>
												<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='ConsoleWriter1' macro='AddString' >
													<argument exp='&quot;A1, A2, A3 Potential wiring problem\nA1 should be connected to R1, R2 etc&quot;' />
												</command>
												<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2' type='2' />
											</flowline>
										</command>
										<command class_type='call' title='Deactivate Switch' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='SwitchHardwareDiag' macro='SetState' >
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='StaticText1' macro='SetText' >
											<argument exp='&quot;Push button\nto start test&quot;' />
										</command>
										<command class_type='call' title='Set all pins to inputs. Use a dummy retun value' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetPins' >
											<return exp='Results' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<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='200' 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='-533.8' y='808.9' z='1.255' 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='SwitchCT' x='133.7' y='-189.4' z='0.5' xsz='90' ysz='21.25' 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='7' >
				<resources />
				<properties />
				<values >
					<value target='nState' data='000' />
					<value target='nStyle' data='000' />
					<value target='nType' data='004' />
					<value target='sLabelOn' data='Testing' />
					<value target='sLabelOff' data='Test Component' />
					<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_rectangle21' x='-432.356' y='753.074' 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='ccdce31d-a1a3-437a-88ba-5431745ddf6e' vmin='0' vmaj='2' codename='MapFunction1' x='-584.6' y='811.2' 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 class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='StaticText1' x='118.6' y='171.3' z='2.005' xsz='38.4375' ysz='30.3125' 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='Transistor NPN
Connections
E    B    C
A1   A2   A3' />
					<value target='bWordWrap' data='1' />
					<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='12592128' />
					<value target='colTextGradient' data='-1' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='16777215' />
					<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='133.8' y='-30.3' z='5.25' xsz='6.71875' ysz='8.96875' 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='-1' />
					<value target='Thickness' data='0.100000' />
					<value target='Image' data='.\Ardunio &amp; Breadboard3_bb.png' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='940e39a6-d035-4e43-8dbb-455ee4679066' vmin='0' vmaj='1' codename='ConsoleWriter1' x='-614' y='811' 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='ConsoleName' data='Component Test Results' />
					<value target='OldName' data='Component Test Results' />
					<value target='Colour0' data='0' />
					<value target='Colour1' data='255' />
					<value target='Colour2' data='65280' />
					<value target='Colour3' data='16711680' />
					<value target='NLAfterData' data='1' />
					<value target='NLOnColChange' data='0' />
					<value target='ClearOnSimStart' data='0' />
					<value target='Timestamp' data='1' />
					<value target='TimeStamp1::DateFormat' data='000' />
					<value target='TimeStamp1::TimeSeperator' data=':' />
					<value target='TimeStamp1::DateSeparator' data='/' />
					<value target='TimeStamp1::TimeStampSeparator' data=' - ' />
					<value target='OverrideColour' data='1' />
					<value target='TimestampColour' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='StaticText2' x='327.5' y='-70.5' z='0' xsz='47.1875' ysz='40' 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='R1 =1483 ohms
R2 =468100 ohms
R3 =1473 ohms
R4 =469400 ohms
R5 =1480 ohms
R6 =468100 ohms' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='000' />
					<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='12592128' />
					<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='SwitchHardwareDiag' x='133.2' y='-225.4' z='0.5' xsz='90' ysz='21.25' 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='7' >
				<resources />
				<properties />
				<values >
					<value target='nState' data='000' />
					<value target='nStyle' data='000' />
					<value target='nType' data='004' />
					<value target='sLabelOn' data='Running Diag...' />
					<value target='sLabelOff' data='Hardware Diag' />
					<value target='colBackgroundColour' data='-1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0187d13d-8822-4e75-ab22-474c7058ebe4' vmin='0' vmaj='1' codename='XYChart1' x='-199' y='-63.5' z='0' xsz='47.7083' ysz='96.4583' 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='17' >
				<resources />
				<properties />
				<values >
					<value target='Base2dChart::sXValues' 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::sXName' data='Millisconds' />
					<value target='Base2dChart::bXShowGrid' data='1' />
					<value target='Base2dChart::bXAuto' data='1' />
					<value target='Base2dChart::dXStart' data='0' />
					<value target='Base2dChart::dXEnd' data='100.000000' />
					<value target='Base2dChart::bXLogarithmic' data='0' />
					<value target='Base2dChart::bXScalable' 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::bYScalable' data='0' />
					<value target='Base2dChart::sY2Name' data='Y-axis (secondary)' />
					<value target='Base2dChart::bY2ShowGrid' data='1' />
					<value target='Base2dChart::bY2Auto' data='1' />
					<value target='Base2dChart::dY2Start' data='0' />
					<value target='Base2dChart::dY2End' data='100.000000' />
					<value target='Base2dChart::bY2Logarithmic' data='0' />
					<value target='Base2dChart::bY2Scalable' data='0' />
					<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::bSecondaryAxis1' data='0' />
					<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='3' />
					<value target='Base2dChart::sSeriesName2' data='Series 2' />
					<value target='Base2dChart::bSeriesVisible2' data='0' />
					<value target='Base2dChart::bSecondaryAxis2' 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::bSecondaryAxis3' 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::bSecondaryAxis4' 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::bSecondaryAxis5' 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::bSecondaryAxis6' 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::bSecondaryAxis7' 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::bSecondaryAxis8' 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='c31acc1a-f3a2-4fe2-b57c-f654379dd832' vmin='0' vmaj='1' codename='StaticText3' x='289.923' y='171.3' z='2.005' xsz='38.4375' ysz='30.3125' 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='Polerized Caps
+ to the left
e.g.+=A1 &amp; -= A2 / A3' />
					<value target='bWordWrap' data='1' />
					<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='12592128' />
					<value target='colTextGradient' data='-1' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='16777215' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9cb6d9da-5555-4e1c-a65c-93b299b6011c' vmin='0' vmaj='1' codename='FileSCADA1' x='-677' y='811' 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='max_concurrent_files' data='10' />
					<value target='EOFtype' data='000' />
					<value target='root_dir' data='$(srcdir)' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7d0c33a1-0aaa-4250-84bb-f96fc113abac' vmin='0' vmaj='1' codename='CSV_Writer1' x='-473' y='802' z='9.75' 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='Filepath' data='$(srcdir)' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='1' brightness='153' >
		<background rgb='16777215' img='' style='0' />
		<camera xe='-32.7033' ye='-33.9725' ze='1191.6' xt='-32.7033' yt='-33.9725' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='652' dy='696' zoom='66.207' 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---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='60' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ComponentTesting' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetPins' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='60' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCapacitanceValue' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetADC' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='HardwareDiag' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PreDiag' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Initialise' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='StoreRSettings' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RetreiveRSettings' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwYAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
