<root>
<document scada='0' projtype='1' schema='103' license='1,69436901,0G6PVR' title='' description='' fcversion='720896' target='ARD.ATMEGA.Arduino Uno R3 SMD' >
	<config data='' clkspd='16000000' simspd='1' usewdt='0' constif='0' commport='3' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Input' />
		<watch expr='$PORTD' />
		<watch expr='$PORTB' />
	</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='3' />
			<data name='ClockPin' value='1' />
			<data name='DataPort' value='3' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='11' />
			<data name='CalculatedCommsDelay' value='11' />
			<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='0' center='1' unitscale='0' fixedscale='0' fixedx='25' fixedy='25' fixedz='25' headcode='0' />
		<definition guid='a9bab22a-1256-41db-b644-ca0714eb9844' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' bIs3dOnly='0' bIsWysiwyg='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' showmacros='1' iconpath='' />
		<component class_type='root' codename='ComponentRoot' panelId='-1' 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' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
			<resources />
			<properties >
				<property name='Text' target='newproperty' typeid='10' hidden='0' locked='0' info='' />
				<property name='Colour' target='label1::Color' typeid='1' hidden='0' locked='0' info='Specifies the font colour for the item' />
			</properties>
			<values >
				<value target='newproperty' data='' />
				<value target='label1::Color' data='0' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Input' type='f32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Input from dSpace  &quot; R Out_2 type Channel &quot;  3 - 100k range
forming a potential divider with a 15k resistor on the Arduino board

Giving 18 steps ~ 200mV apart to provide the desired window control outputs.
1M input from dSpace is essentially &quot;NO Output&quot; or &quot;OFF&quot;

see Seat control logic excel doc for details

' textarea='480,-3,480,-3' />
						<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
						<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='comment' title='' comment='Delay added in an attempt to solve a problem seen with the dSpace &quot;R&quot; input.

Where on changing the output setting the window controller would not respond correctly.
Issue seemed to be resolved if the dSpace &quot;R&quot; output was disconnected
i.e. raised to max &quot;R&quot; before changing to the new output level.' textarea='199,-3,199,-3' />
								<command class_type='delay' title='Delay' exp='500' type='1' />
								<command class_type='call' title='Component Macro' component='Potentiometer1' macro='GetVoltage' >
									<return exp='Input' />
								</command>
								<command class_type='decision' title='Decision' exp='Input &gt; 0.7' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' exp='Input &gt; 0.95' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' exp='Input &gt; 1.15' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' exp='Input &gt; 1.35' swap='0' >
															<flowline >
																<command class_type='decision' title='Decision' exp='Input &gt; 1.5' swap='0' >
																	<flowline >
																		<command class_type='decision' title='Decision' exp='Input &gt; 1.65' swap='0' >
																			<flowline >
																				<command class_type='decision' title='Decision' exp='Input &gt; 1.78' swap='0' >
																					<flowline >
																						<command class_type='comment' title='' comment='AUTO UP

For this function the Auto Up &amp; Man Up switches are operated together

i.e. in // . See excel window logic table for details.' textarea='999,-13,999,-13' />
																						<command class_type='decision' title='Decision' exp='Input &gt; 2.0' swap='0' >
																							<flowline >
																								<command class_type='decision' title='Decision' exp='Input &gt; 2.20' swap='0' >
																									<flowline >
																										<command class_type='decision' title='Decision' exp='Input &gt; 2.4' swap='0' >
																											<flowline >
																												<command class_type='decision' title='Decision' exp='Input &gt; 2.65' swap='0' >
																													<flowline >
																														<command class_type='decision' title='Decision' exp='Input &gt; 2.80' swap='0' >
																															<flowline >
																																<command class_type='decision' title='Decision' exp='Input &gt; 3.0' swap='0' >
																																	<flowline >
																																		<command class_type='decision' title='Decision' exp='Input &gt; 3.25' swap='0' >
																																			<flowline >
																																				<command class_type='decision' title='Decision' exp='Input &gt; 3.45' swap='0' >
																																					<flowline >
																																						<command class_type='decision' title='Decision' exp='Input &gt; 3.7' swap='0' >
																																							<flowline >
																																								<command class_type='decision' title='Decision' exp='Input &gt; 3.95' swap='0' >
																																									<flowline >
																																										<command class_type='decision' title='Decision' exp='Input &gt; 4.25' swap='0' >
																																											<flowline >
																																												<command class_type='decision' title='Decision' exp='Input &gt; 4.6' swap='0' >
																																													<flowline >
																																														<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
																																														<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																																													</flowline>
																																													<flowline >
																																														<command class_type='comment' title='' comment='RL seat occupy sw
' textarea='83,0,83,0' />
																																														<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='1' usechipref='1' />
																																														<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																																													</flowline>
																																												</command>
																																											</flowline>
																																											<flowline >
																																												<command class_type='comment' title='' comment='RL seat belt buckle sw
' textarea='83,0,83,0' />
																																												<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='2' usechipref='1' />
																																												<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																																											</flowline>
																																										</command>
																																									</flowline>
																																									<flowline >
																																										<command class_type='comment' title='' comment='RR seat occupy sw
' textarea='83,0,83,0' />
																																										<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='4' usechipref='1' />
																																										<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																																									</flowline>
																																								</command>
																																							</flowline>
																																							<flowline >
																																								<command class_type='comment' title='' comment='RR seat belt buckle sw
' textarea='83,0,83,0' />
																																								<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='8' usechipref='1' />
																																								<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																																							</flowline>
																																						</command>
																																					</flowline>
																																					<flowline >
																																						<command class_type='comment' title='' comment='RM seat occupy sw
' textarea='132,4,132,4' />
																																						<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='16' usechipref='1' />
																																						<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																																					</flowline>
																																				</command>
																																			</flowline>
																																			<flowline >
																																				<command class_type='comment' title='' comment='RM seat belt buckle sw
' textarea='132,4,132,4' />
																																				<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='32' usechipref='1' />
																																				<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																																			</flowline>
																																		</command>
																																	</flowline>
																																	<flowline >
																																		<command class_type='comment' title='' comment='RL seat occupy &amp; buckle sw
' textarea='132,4,132,4' />
																																		<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='3' usechipref='1' />
																																		<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																																	</flowline>
																																</command>
																															</flowline>
																															<flowline >
																																<command class_type='comment' title='' comment='RR seat occupy &amp; buckle sw
' textarea='132,4,132,4' />
																																<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='12' usechipref='1' />
																																<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																															</flowline>
																														</command>
																													</flowline>
																													<flowline >
																														<command class_type='comment' title='' comment='RM seat occupy &amp; buckle sw
' textarea='158,-4,158,-4' />
																														<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='48' usechipref='1' />
																														<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																													</flowline>
																												</command>
																											</flowline>
																											<flowline >
																												<command class_type='comment' title='' comment='ALL Rear occupy &amp; buckle sw
' textarea='154,-4,154,-4' />
																												<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='63' usechipref='1' />
																												<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
																											</flowline>
																										</command>
																									</flowline>
																									<flowline >
																										<command class_type='comment' title='' comment='FR seat belt buckle sw
' textarea='194,5,194,5' />
																										<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
																										<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='1' usechipref='1' />
																									</flowline>
																								</command>
																							</flowline>
																							<flowline >
																								<command class_type='comment' title='' comment='FR seat occupy sw
' textarea='114,-5,114,-5' />
																								<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
																								<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='2' usechipref='1' />
																							</flowline>
																						</command>
																					</flowline>
																					<flowline >
																						<command class_type='comment' title='' comment='FL seat belt buckle sw
' textarea='88,-4,88,-4' />
																						<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
																						<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='4' usechipref='1' />
																					</flowline>
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='comment' title='' comment='FL seat occupy sw
' textarea='12,0,12,0' />
																				<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
																				<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='8' usechipref='1' />
																			</flowline>
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='comment' title='' comment='FL seat occupy &amp; buckle sw
' textarea='61,0,61,0' />
																		<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
																		<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='3' usechipref='1' />
																	</flowline>
																</command>
															</flowline>
															<flowline >
																<command class_type='comment' title='' comment='FR seat occupy &amp; buckle sw
' textarea='88,-5,88,-5' />
																<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
																<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='12' usechipref='1' />
															</flowline>
														</command>
													</flowline>
													<flowline >
														<command class_type='comment' title='' comment='ALL Front occupy &amp; buckle sw
' textarea='79,-5,79,-5' />
														<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
														<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='15' usechipref='1' />
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='All Front &amp; Rear occupy &amp; buckle sw
' textarea='82,-5,82,-5' />
												<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='63' usechipref='1' />
												<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='15' usechipref='1' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='output' title='Output' mode='0' port='1048579' mask='0' exp='0' usechipref='1' />
										<command class_type='output' title='Output' mode='0' port='1048577' mask='0' exp='0' usechipref='1' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='b07ae733-c144-4558-979a-be737044519c' vmin='0' vmaj='1' codename='LED_Array1' panelId='0' x='387' y='-294' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Count' data='006' />
					<value target='SimulationOnly' data='0' />
					<value target='port' data='000' />
					<value target='PortByte' data='$PORTD' />
					<value target='Pin0' data='$PORTD.0' />
					<value target='Pin1' data='$PORTD.1' />
					<value target='Pin2' data='$PORTD.2' />
					<value target='Pin3' data='$PORTD.3' />
					<value target='Pin4' data='$PORTD.4' />
					<value target='Pin5' data='$PORTD.5' />
					<value target='Pin6' data='$PORTD.6' />
					<value target='Pin7' data='$PORTD.7' />
					<value target='Polarity' data='001' />
					<value target='bitmask' data='255' />
					<value target='inv_bitmask' data='-256' />
					<value target='Label' data='002' />
					<value target='LEDMono1::GdiText2::sText' data='LED_Array1' />
					<value target='LEDMono2::GdiText2::sText' data='' />
					<value target='LEDMono3::GdiText2::sText' data='' />
					<value target='LEDMono4::GdiText2::sText' data='' />
					<value target='LEDMono5::GdiText2::sText' data='' />
					<value target='LEDMono6::GdiText2::sText' data='' />
					<value target='LEDMono7::GdiText2::sText' data='' />
					<value target='LEDMono8::GdiText2::sText' data='' />
					<value target='SwitchLayout' data='000' />
					<value target='DistanceBetweenLEDs' data='60' />
					<value target='Style' data='001' />
					<value target='Shape' data='000' />
					<value target='Colour' data='005' />
					<value target='LabelColour' data='9868950' />
					<value target='ShowConnectionLabel' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='AutoOffColour' data='1' />
					<value target='OnColour' data='65280' />
					<value target='OffColour' data='16128' />
					<value target='Enabled' data='1' />
					<value target='AppDevDetected' data='0' />
					<value target='Product' data='ARD' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='b07ae733-c144-4558-979a-be737044519c' vmin='0' vmaj='1' codename='LED_Array2' panelId='0' x='333' y='-128' z='1' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Count' data='004' />
					<value target='SimulationOnly' data='0' />
					<value target='port' data='000' />
					<value target='PortByte' data='$PORTB' />
					<value target='Pin0' data='$PORTB.0' />
					<value target='Pin1' data='$PORTB.1' />
					<value target='Pin2' data='$PORTB.2' />
					<value target='Pin3' data='$PORTB.3' />
					<value target='Pin4' data='$PORTA.4' />
					<value target='Pin5' data='$PORTA.5' />
					<value target='Pin6' data='$PORTA.6' />
					<value target='Pin7' data='$PORTA.7' />
					<value target='Polarity' data='001' />
					<value target='bitmask' data='255' />
					<value target='inv_bitmask' data='-256' />
					<value target='Label' data='002' />
					<value target='LEDMono1::GdiText2::sText' data='LED_Array2' />
					<value target='LEDMono2::GdiText2::sText' data='' />
					<value target='LEDMono3::GdiText2::sText' data='' />
					<value target='LEDMono4::GdiText2::sText' data='' />
					<value target='LEDMono5::GdiText2::sText' data='' />
					<value target='LEDMono6::GdiText2::sText' data='' />
					<value target='LEDMono7::GdiText2::sText' data='' />
					<value target='LEDMono8::GdiText2::sText' data='' />
					<value target='SwitchLayout' data='000' />
					<value target='DistanceBetweenLEDs' data='60' />
					<value target='Style' data='001' />
					<value target='Shape' data='000' />
					<value target='Colour' data='001' />
					<value target='LabelColour' data='9868950' />
					<value target='ShowConnectionLabel' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='AutoOffColour' data='1' />
					<value target='OnColour' data='65280' />
					<value target='OffColour' data='16128' />
					<value target='Enabled' data='1' />
					<value target='AppDevDetected' data='0' />
					<value target='Product' data='ARD' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text1' panelId='0' x='240' y='-39' z='2' xsz='37.5' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Front Seats
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.2' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='1' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='1' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text2' panelId='0' x='234' y='-194' z='3' xsz='37.5' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Rear Seats
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.2' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='1' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='1' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text3' panelId='0' x='344' y='-89' z='4' xsz='37.5' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Belt R
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text4' panelId='0' x='278' y='-89' z='5' xsz='37.5' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Occ R
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text5' panelId='0' x='151' y='-88' z='6' xsz='37.5' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Occ L
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text6' panelId='0' x='217' y='-88' z='7' xsz='37.5' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Belt L
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text7' panelId='0' x='282.5' y='-256' z='8' xsz='8.4375' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Occ R

' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text8' panelId='0' x='336' y='-256' z='9' xsz='37.5' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Belt L
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text9' panelId='0' x='394' y='-256' z='10' xsz='37.5' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Occ L
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text10' panelId='0' x='200.5' y='-254' z='11' xsz='12.8125' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Belt R' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text12' panelId='0' x='82.5' y='-255' z='12' xsz='9.0625' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Belt M
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text14' panelId='0' x='144' y='-256' z='13' xsz='15.625' ysz='12.5' 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='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Occ M
' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='90' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='11ca2f38-de81-4812-9338-4b5a7a89a658' vmin='0' vmaj='1' codename='Potentiometer1' panelId='0' x='237' y='-505.5' z='14' xsz='53.5714' ysz='43.9579' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='0' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='1' />
					<value target='adc_base1::convspd' data='6' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='10' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='10' />
					<value target='SetValue' data='0.000000' />
					<value target='RetainValue' data='1' />
					<value target='ModifiedConnection' data='An 0' />
					<value target='ComponentLabel' data='001' />
					<value target='LabelColour' data='9125139' />
					<value target='GdiText2::sText' data='Potential divider output
' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='Style' data='1' />
					<value target='Gauge1::brFill' data='288230376147764163' />
					<value target='Gauge1::colFrameOutline' data='9868950' />
					<value target='Gauge1::brFrameFill' data='261490253360251843' />
					<value target='Gauge1::colPointerOutline' data='9868950' />
					<value target='Gauge1::brPointerFill' data='261490253360251843' />
					<value target='Gauge1::colText' data='9125139' />
					<value target='Gauge1::colTickMarkOutline' data='9125139' />
					<value target='Gauge1::brTickMarkFill' data='12829635' />
					<value target='Gauge1::colCapOutline' data='12829635' />
					<value target='Gauge1::brCapFill' data='261490253360251843' />
					<value target='Gauge1::sMainImage' data='' />
					<value target='Gauge1::sCapImage' data='' />
					<value target='GdiGauge1::nPointerKnob' data='  0' />
					<value target='GdiSwitch1::nType' data='  0' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='StoredColourStyle' data='1' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='ARD' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='0' ye='0' ze='386.197' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='237' dy='570' zoom='74.2548' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
		<winpos ID='7005' RectRecentFloat='1149,522,1799,972' RectRecentDocked='0,0,237,593' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</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='-17.6453' ye='45.4736' ze='333.403' xt='-17.6453' yt='45.4736' 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' />
		<winpos ID='7004' RectRecentFloat='1282,75,1920,949' RectRecentDocked='922,141,1547,1013' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='2' >
		<panel2d_0 id='0' name='2D Panel' type='0' >
			<winpos ID='1171' RectRecentFloat='1356,220,1836,962' RectRecentDocked='922,141,1547,1013' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119075691740' snaptogrid='0' fitcomp='0' disp_x='300' disp_y='400' scale='100' disp_col='16777215' />
		</panel2d_0>
		<panel2d_1 id='1' name='NewPanel' type='0' >
			<winpos ID='1172' RectRecentFloat='492,272,1142,722' RectRecentDocked='922,141,1547,1013' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119075691740' snaptogrid='1' fitcomp='0' disp_x='300' disp_y='400' scale='100' disp_col='16777215' />
		</panel2d_1>
	</panels2d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA3gQAAGMDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
