<?xml version="1.0"?>
<xidml Version="2.4.2">
	<Documentation>
		<CreatedBy>Joseph Bloggs</CreatedBy>
		<CreatedDate>2004-10-14</CreatedDate>
		<ShortDescription>Synchro module, 2-channels</ShortDescription>
		<LongDescription> 
This example illustrates a parameter type, parameter definition and instrumentation associated with a 2 channel synchro to digital module.
The vendor names associated with the channels are AngleIndex0 and AngleIndex1, AngularVelocityIndex0 and AngularVelocityIndex1.
The channels typically measure a range of 0 to 360 degrees and do not support linearization or filtering. The user wants a range of plus or minus 180 degrees, balanced so that the card should read 90 degrees and 0 RPM after balancing.
The module is called MySDC and is assumed to be in slot 3 of chassis called MyDAU and is connected to a sensor called MySdcSensor.
</LongDescription>
    <LastUpdated>2008-6-25</LastUpdated>
	</Documentation>
	<Parameters>
		<ParameterTypeSet>
			<ParameterType Name="My_Degrees">
				<!-- Radian is the SI unit for angle = Degrees x Pi/180 = x 0.017453292 
				RangeMinimum defaults to -RangeMaximum
				DataFormat and DataSize default to OffsetBinary and 16-bits -->
				<BaseUnit>Radian</BaseUnit>
				<Scale>0.017453292</Scale>
				<RangeMaximum>180</RangeMaximum>
			</ParameterType>
			<ParameterType Name="My_RPM">
				<!-- RadiansPerSecond = RPM x 2 x pi / 60 = RPM x 0.104719755-->
				<BaseUnit>RadianPerSecond</BaseUnit>
				<Scale>0.104719755</Scale>
				<RangeMaximum>30</RangeMaximum>
				<RangeMinimum>0</RangeMinimum>
			</ParameterType>
		</ParameterTypeSet>
		<ParameterSet>
			<Parameter Name="MyAngle">
				<ParameterProperties>
					<ParameterTypeReference> My_Degrees</ParameterTypeReference>
					<BalanceSettings>
						<BalanceType>RangeAdjust</BalanceType>
						<Target>90</Target>
					</BalanceSettings>
				</ParameterProperties>
				<Source>
					<Signal>
						<InstrumentReference>MySDC</InstrumentReference>
						<VendorMap> AngleIndex0 </VendorMap>
					</Signal>
				</Source>
			</Parameter>
			<Parameter Name="MyAngleRate">
				<ParameterProperties>
					<ParameterTypeReference> My_RPM</ParameterTypeReference>
					<BalanceSettings>
						<BalanceType>RangeAdjust</BalanceType>
						<Target>0</Target>
					</BalanceSettings>
				</ParameterProperties>
				<Source>
					<Signal>
						<InstrumentReference>MySDC</InstrumentReference>
						<VendorMap>AngularVelocityIndex0</VendorMap>
					</Signal>
				</Source>
			</Parameter>
		</ParameterSet>
	</Parameters>
	<Instrumentation>
		<InstrumentSet>
			<X-DAU-1.1 Name="MyDAU">
				<InstrumentSet>
					<SubLocation Name="3">
						<X-Module-Analog-In-1.3 Name="MySDC">
							<Manufacturer>
								<Name> SDCsRus </Name>
								<PartReference> Module-5000</PartReference>
								<SerialNumber>M1235</SerialNumber>
							</Manufacturer>
							<InterConnect>MySdcSensor</InterConnect>
							<Settings>
								<Module-Analog-In-1.3>
									<Channel Name="Channel(0)">
										<ExcitationFrequency>20</ExcitationFrequency>
										<ExcitationAmplitude>2</ExcitationAmplitude>
									</Channel>
								</Module-Analog-In-1.3>
							</Settings>
						</X-Module-Analog-In-1.3>
					</SubLocation>
				</InstrumentSet>
			</X-DAU-1.1>
		</InstrumentSet>
	</Instrumentation>
</xidml>

