<root>
<document scada='1' projtype='3' panel2DSCADA='0' panel3DSCADA='7' panelPropsSCADA='0' panelConsoleSCADA='7' panelDataRecorderSCADA='7' panel2DCount='1' panel2DSCADA_0='6' playbackSCADA='2' ShouldAutoStartSCADA='0' ShouldLockCameraSCADA='0' ShouldBundleSCADA='1' SCADAProgramTitle='UART Setup App V1_0' buildnumber='3' schema='103' license='1,79829088,Q2XNNM' title='Blank PC' description='A blank PC App Developer project suitable for creating apps that run on the PC' fcversion='720897' target='SCADA.SCADA.GENERIC' >
	<config data='' clkspd='100000000' simspd='4' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Main.str' />
		<watch expr='Main.t' />
	</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='03e2346b-50fc-4eeb-bdfa-b493996ae959' 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='1' embeddedCompatible='1' showmacros='1' iconpath='' />
		<component class_type='root' codename='panel' 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='COM Port' target='COMPort1::COM_port' typeid='16' hidden='0' locked='0' info='Selects which port to communicate with, only lists ports which are currently available. ' filter='001COM1 Communications Port
003COM3 Intel(R) Active Management Technology - 
009COM9 Standard Serial over Bluetooth link
010COM10 Standard Serial over Bluetooth link
015COM15 USB Serial Device' />
			</properties>
			<values >
				<value target='COMPort1::COM_port' data='000' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Test_No' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Count' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Dat_Av' 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='Keypad' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</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='Main' 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='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
							<array size='20' />
						</local>
						<local name='t' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot; 0 &quot;' setinit='{0}' >
							<array size='20' />
						</local>
						<local name='i' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='c' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='n' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='f' type='f32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0' />
						<command class_type='sim' title='Component Macro' component='COMPort1' macro='OpenPort' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='sim' title='Component Macro' component='NumberPad1' macro='GetLastChar' >
									<return exp='.c' />
									<argument exp='false' />
								</command>
								<command class_type='decision' title='Decision' exp='.c == &apos;\n&apos;' swap='0' >
									<flowline >
										<command class_type='sim' title='We&apos;ll clear the entry if enter is pressed' component='NumberPad1' macro='GetFloat' >
											<return exp='.f' />
											<argument exp='true' />
										</command>
										<command class_type='comment' title='' comment='Action &apos;value&apos; (f) as required' textarea='36,7,36,7' />
									</flowline>
									<flowline >
										<command class_type='sim' title='Component Macro' component='NumberPad1' macro='GetFloat' >
											<return exp='.f' />
											<argument exp='false' />
										</command>
									</flowline>
								</command>
								<command class_type='sim' title='Component Macro' component='NumericIndicator1' macro='SetValue' >
									<argument exp='.f' />
								</command>
								<command class_type='loop' title='How I looked at the actual &apos;data&apos; returned' disable='1' type='2' forvar='.i' exp='20' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='.t[.i] = .str[.i]' />
										</command>
									</flowline>
								</command>
								<command class_type='sim' title='Component Macro' disable='1' component='NumberPad1' macro='GetLastChar' >
									<return exp='Keypad[0]' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Component Macro' disable='1' component='LED_7Seg1' macro='ShowDigit' >
									<argument exp='Keypad[0]' />
									<argument exp='0' />
								</command>
								<command class_type='delay' title='Delay' exp='100' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='cbb3c28e-2d73-4442-ac52-23a3b45d9870' vmin='11' vmaj='103' codename='COMPort1' panelId='0' x='546.5' y='-140.5' z='0' xsz='25.18' ysz='25.1413' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='0' 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='COM_port' data='000' />
					<value target='Refresh' data='0' />
					<value target='baud_rate' data='9600' />
					<value target='Tout_Val' data='256' />
					<value target='ConsoleData' data='0' />
					<value target='AutoClose' data='1' />
					<value target='NewLineFormat' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='53a15e07-4dcd-4dd6-96a9-d96164d63574' vmin='0' vmaj='1' codename='NumberPad1' panelId='0' x='137.5' y='-149.5' z='1' xsz='25' ysz='25.0902' 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='ShowTextBuffer' data='1' />
					<value target='MouseInput' data='1' />
					<value target='KeyboardInput' data='1' />
					<value target='CallMacro' data='0' />
					<value target='Theme' data='000' />
					<value target='Font' data='Calibri' />
					<value target='TextSize' data='4.000000' />
					<value target='TextColour' data='13816530' />
					<value target='TextColourActive' data='0' />
					<value target='BufferSize' data='1.400000' />
					<value target='BufferColour' data='0' />
					<value target='KeyColour' data='0' />
					<value target='KeyColourActive' data='49152' />
					<value target='KeyGradient' data='1710618' />
					<value target='KeyGradientActive' data='32768' />
					<value target='BackgroundColour' data='15132390' />
					<value target='CallEvent' data='000' />
					<value target='Macro' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='6a9e9265-e261-4604-8dc3-252ea3ccf02c' vmin='4' vmaj='1' codename='LED_7Seg1' panelId='0' x='261.17' y='-96.1217' z='2' xsz='25.293' ysz='25.0381' 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='display_type' data='001' />
					<value target='ShowSegLabels' data='0' />
					<value target='UseCommonPin' data='1' />
					<value target='common_type' data='000' />
					<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='$PORTB.4' />
					<value target='pin5' data='$PORTB.5' />
					<value target='pin6' data='$PORTB.6' />
					<value target='pin7' data='$PORTB.7' />
					<value target='common_pin' data='$PORTA.0' />
					<value target='FGColour' data='255' />
					<value target='BGColour' data='5921370' />
					<value target='LabelColour' data='16777215' />
					<value target='LEDAutoOffColour' data='5921370' />
					<value target='AppDevDetected' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='6a9e9265-e261-4604-8dc3-252ea3ccf02c' vmin='4' vmaj='1' codename='LED_7Seg2' panelId='0' x='332.178' y='-97.1143' z='3' xsz='25.293' ysz='25.0381' 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='display_type' data='001' />
					<value target='ShowSegLabels' data='0' />
					<value target='UseCommonPin' data='1' />
					<value target='common_type' data='000' />
					<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='$PORTB.4' />
					<value target='pin5' data='$PORTB.5' />
					<value target='pin6' data='$PORTB.6' />
					<value target='pin7' data='$PORTB.7' />
					<value target='common_pin' data='$PORTA.0' />
					<value target='FGColour' data='255' />
					<value target='BGColour' data='5921370' />
					<value target='LabelColour' data='16777215' />
					<value target='LEDAutoOffColour' data='5921370' />
					<value target='AppDevDetected' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='6a9e9265-e261-4604-8dc3-252ea3ccf02c' vmin='4' vmaj='1' codename='LED_7Seg3' panelId='0' x='402.178' y='-97.1143' z='4' xsz='25.293' ysz='25.0381' 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='display_type' data='001' />
					<value target='ShowSegLabels' data='0' />
					<value target='UseCommonPin' data='1' />
					<value target='common_type' data='000' />
					<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='$PORTB.4' />
					<value target='pin5' data='$PORTB.5' />
					<value target='pin6' data='$PORTB.6' />
					<value target='pin7' data='$PORTB.7' />
					<value target='common_pin' data='$PORTA.0' />
					<value target='FGColour' data='255' />
					<value target='BGColour' data='5921370' />
					<value target='LabelColour' data='16777215' />
					<value target='LEDAutoOffColour' data='5921370' />
					<value target='AppDevDetected' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiEditBox' codename='EditBox1' panelId='0' x='370' y='-210' z='5' xsz='40' ysz='10' 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='' />
					<value target='sPromptText' data='Type text here...' />
					<value target='bMultiline' data='0' />
					<value target='nAutoScroll' data='0' />
					<value target='nScrollbars' data='0' />
					<value target='nHorizontalAlignment' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleHeight' data='0' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='bUseTheme' data='0' />
					<value target='colText' data='16777215' />
					<value target='colBackground' data='3156272' />
					<value target='colPrompt' data='14187871' />
					<value target='colBorder' data='6579300' />
					<value target='colBorderFocussed' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiNumericIndicator' codename='NumericIndicator1' panelId='0' x='560' y='-240' z='6' xsz='50' ysz='12.5' zsz='37.5' 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='dValue' data='0.0' />
					<value target='iResponsiveness' data='1' />
					<value target='nStyle' data='  3' />
					<value target='nType' data='1' />
					<value target='nCellCount' data='007' />
					<value target='bShowDP' data='1' />
					<value target='bShowLeadingZeros' data='0' />
					<value target='bShowSign' data='1' />
					<value target='nDecimalPlaces' data='000' />
					<value target='nInactiveStyle' data='0' />
					<value target='brFill' data='432151290760396800' />
					<value target='colOutline' data='16777215' />
					<value target='colSeparator' data='16777215' />
					<value target='colDigit' data='65298' />
					<value target='colDecimal' data='49152' />
					<value target='colDot' data='49152' />
					<value target='colSign' data='65298' />
				</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='323.07' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='267' dy='1556' zoom='100' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='16777215' />
		<winpos ID='7005' RectRecentFloat='749,196,1411,941' RectRecentDocked='0,0,267,1606' 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='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' />
		<winpos ID='7004' RectRecentFloat='556,304,1206,754' RectRecentDocked='931,328,1409,1985' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='1' >
		<panel2d_0 id='0' name='2D Panel' type='0' >
			<winpos ID='1171' RectRecentFloat='841,1021,1627,1422' RectRecentDocked='869,328,1409,1985' 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='1' fitcomp='0' disp_x='300' disp_y='400' scale='100' disp_col='16777215' />
		</panel2d_0>
	</panels2d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAzAAAAMwQAAHQGAAA' zoom='135' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
