<xidml Version="2.4.2">
	<Documentation>
		<CreatedBy>Joseph Bloggs</CreatedBy>
		<CreatedDate>2004-10-14</CreatedDate>
		<ShortDescription>Thermocouple, 15-channels + reference</ShortDescription>
		<LongDescription> 
This example illustrates a parameter type, parameter definition and instrumentation associated with a 15 channel thermocouple module with a reference channel.
The vendor names associated with the channels are Thermocouple1 (to thermocouple 15) and ReferenceTemperature
The channels typically measure a range of -40 to 100mV but can be programmed so that all channels read one of 8 types of thermocouples. The user wants a range of -100 to 500F, balanced so that the card should read 78F after balancing.
The module is called MyTC and is assumed to be in slot 3 of chassis called MyDAU and is connected to sensors called MyTcSensor1 to 15.
</LongDescription>
    <LastUpdated>2008-6-25</LastUpdated>
	</Documentation>
	<Parameters>
		<ParameterTypeSet>
			<ParameterType Name="My_Fahrenheit">
				<!-- Celsius = (Fahrenheit - 32) x 5/9 = F x 0.5555555 - 17.7777777
				DataFormat and DataSize default to OffsetBinary and 16-bits -->
				<BaseUnit>Celsius</BaseUnit>
				<Scale>0.5555555555</Scale>
				<Offset>-17.77777777</Offset>
				<RangeMaximum>500</RangeMaximum>
				<RangeMinimum>-100</RangeMinimum>
			</ParameterType>
		</ParameterTypeSet>
		<ParameterSet>
			<Parameter Name="MyTC#1">
				<ParameterProperties>
					<ParameterTypeReference>My_Fahrenheit</ParameterTypeReference>
					<BalanceSettings>
						<BalanceType>RangeAdjust</BalanceType>
						<Target>78</Target>
					</BalanceSettings>
				</ParameterProperties>
				<Source>
					<Signal>
						<InstrumentReference> MyTC </InstrumentReference>
						<VendorMap>Thermocouple1</VendorMap>
					</Signal>
				</Source>
			</Parameter>
			<Parameter Name="MyRefernceTemperature">
				<ParameterProperties>
					<ParameterTypeReference>My_Fahrenheit</ParameterTypeReference>
					<RangeMaximum>185</RangeMaximum>
					<RangeMinimum>-49</RangeMinimum>
				</ParameterProperties>
				<Source>
					<Signal>
						<InstrumentReference>MyTC</InstrumentReference>
						<VendorMap>ReferenceTemperature</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="MyTC">
							<Manufacturer>
								<Name> TCsRus </Name>
								<PartReference> Module-5000</PartReference>
								<SerialNumber> M1235</SerialNumber>
							</Manufacturer>
							<InterConnect VendorName="1">MyTC#1</InterConnect>
							<InterConnect VendorName="2">MyTC#2</InterConnect>
							<InterConnect VendorName="15">MyTC#15</InterConnect>
							<Settings>
								<Module-Analog-In-1.3>
									<Channel Name="Channel(0)">
										<FilterCutoff>0.25</FilterCutoff>
										<Linearization>MyNtypeVoltstoTemperature</Linearization>
									</Channel>
									<Channel Name="Channel(1)">
										<FilterCutoff>0.25</FilterCutoff>
										<Linearization>MyNtypeVoltstoTemperature</Linearization>
									</Channel>
									<Channel Name="Channel(2)">
										<FilterCutoff>0.5</FilterCutoff>
										<Linearization>MyNtypeVoltstoTemperature</Linearization>
									</Channel>
									<Channel Name="Channel(3)">
										<FilterCutoff>0.25</FilterCutoff>
										<Linearization>MyNtypeVoltstoTemperature</Linearization>
									</Channel>
								</Module-Analog-In-1.3>
							</Settings>
						</X-Module-Analog-In-1.3>
					</SubLocation>
				</InstrumentSet>
			</X-DAU-1.1>
		</InstrumentSet>
	</Instrumentation>
</xidml>

