<?xml version="1.0" encoding="utf-8"?>
<FactoryScript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" FactoryScriptVersion="1.0.3" Cancellable="true" Description="ZC706 CM Power System Program and Validate" Required_Num_Devices="1">
  <factoryDeviceScripts>
    <FactoryDeviceScript Part_ID="UCD90120A" Match_Any_Address="false" Address="101" Description="">
      <Task_Groups>
        <FactoryTaskGroup Name="Startup" Description="Program UCD90120A at Addr101">
          <Tasks>
            <FactoryTask Task_Attribute_Name="Configure_and_Validate" description="Configure all parameters on device based on project file from Fusion Power Design GUI." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="Takes project file and identifies the set of parameters to take from a project file based on the config_value.  There is also the option to store to the device after the configuration is completed.&#xD;&#xA;            A parameter check is done to compare which parameters differ between the device and project file.  A write is then done on those select differences.  &#xD;&#xA;            However if you set &lt;b&gt;force_write_of_all to true&lt;/b&gt; then it will write every parameter from the project file to the device." TaskType="PMBUS">
              <Parameters>
                <FactoryTaskArgument Name="file_location">
                  <Value xsi:type="xsd:string">..\Inputs\ZC706_2_0_U48_Addr101_1V8vadj_0.6vscale_r12.xml</Value>
                  <Description>The project file that contains the device configuration desired.</Description>
                  <Arg_Type>System.String</Arg_Type>
                  <Input_Type>FILE</Input_Type>
                </FactoryTaskArgument>
                <FactoryTaskArgument Name="store_to_flash">
                  <Value xsi:type="xsd:boolean">true</Value>
                  <Description>Set to true to store the newly configured parameters to flash. [Default: True]</Description>
                  <Arg_Type>System.Boolean</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
                <FactoryTaskArgument Name="device_choice">
                  <Value xsi:type="ConfigValue">
                    <Specific_Address>101</Specific_Address>
                    <Config_Option>SPECIFIC</Config_Option>
                  </Value>
                  <Description>Choose which device setting you want to use to locate device in project file.</Description>
                  <Arg_Type>TIDP.Factory.CustomerTypes.ConfigValue</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
                <FactoryTaskArgument Name="force_write_of_all">
                  <Value xsi:type="xsd:boolean">true</Value>
                  <Description>Set to true if you want all project file parameters to be written to the device even if they are the same. [Default: False]</Description>
                  <Arg_Type>System.Boolean</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
              </Parameters>
            </FactoryTask>
            <FactoryTask Task_Attribute_Name="Clear_Faults" description="Clears faults on device." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="Displays status in log before and after call to clear faults on device." TaskType="PMBUS">
              <Parameters />
            </FactoryTask>
            <FactoryTask Task_Attribute_Name="Clear_Logged_Faults" description="Clears the logged faults on device as opposed to faults." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="" TaskType="PMBUS">
              <Parameters />
            </FactoryTask>
            <FactoryTask Task_Attribute_Name="Set_Manufacturing_Date" description="Based on the string format will set the mfr_date accordingly." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="Format examples:&lt;ol&gt;&lt;li&gt;yyMMdd would represent June 10 2008 as 080610&lt;/li&gt;&lt;li&gt;MMddyy would represent June 10 2008 as 061008&lt;/li&gt;&lt;li&gt;ddMMyy would represent June 10 2008 as 100608&lt;/li&gt;&lt;li&gt;yy_MM would represent June 10 2008 as 08_06&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;&lt;u&gt;many possiblities keep in mind that the mfr_date field has a limited number of characters if it is exceded then the task will fail.  For UCD9240 it is 6 characters.&lt;/u&gt;&lt;/b&gt;" TaskType="PMBUS">
              <Parameters>
                <FactoryTaskArgument Name="date_format">
                  <Value xsi:type="xsd:string">yyMMdd</Value>
                  <Description> [Default: yyMMdd]</Description>
                  <Arg_Type>System.String</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
              </Parameters>
            </FactoryTask>
            <FactoryTask Task_Attribute_Name="Set_Serial_Number" description="Sets serial number for the device(MFR_SERIAL).  This is either obtained from the user via a dailog &#xD;&#xA;            or is automatically obtained if &lt;b&gt;Automated&lt;/b&gt; is set to true.  Starting value and increment are used in both automation or manual.  If in manual it will &#xD;&#xA;            propose the next value to the user so they would only need to press enter as opposed to entering it." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="It should be noted that even though the serial number is incremented on subsequent runs it will start back from the starting_value set if the GUI is restarted." TaskType="PMBUS">
              <Parameters>
                <FactoryTaskArgument Name="Automated">
                  <Value xsi:type="xsd:boolean">false</Value>
                  <Description>If set to true will not prompt the user for a serial number [Default: False]</Description>
                  <Arg_Type>System.Boolean</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
                <FactoryTaskArgument Name="Starting_Value">
                  <Value xsi:type="xsd:int">5000</Value>
                  <Description>For the first board run with this script when the Manufacturing GUI starts will start with this number [Default: 5000]</Description>
                  <Arg_Type>System.Double</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
                <FactoryTaskArgument Name="Increment">
                  <Value xsi:type="xsd:int">1</Value>
                  <Description>This increment will be added to the Starting value and will either propose the number to the user if Automated is false or will add it automatically and write to MFR_SERIAL. [Default: 1]</Description>
                  <Arg_Type>System.Double</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
              </Parameters>
            </FactoryTask>
            <FactoryTask Task_Attribute_Name="Store_Default" description="Stores the values on the device to the non-voltile memory of the device." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="Stores to flash." TaskType="PMBUS">
              <Parameters />
            </FactoryTask>
          </Tasks>
        </FactoryTaskGroup>
        <FactoryTaskGroup Name="End">
          <Tasks>
            <FactoryTask Task_Attribute_Name="Clear_Faults" description="Clears faults on device." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="Displays status in log before and after call to clear faults on device." TaskType="PMBUS">
              <Parameters />
            </FactoryTask>
            <FactoryTask Task_Attribute_Name="Clear_Logged_Faults" description="Clears the logged faults on device as opposed to faults." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="" TaskType="PMBUS">
              <Parameters />
            </FactoryTask>
          </Tasks>
        </FactoryTaskGroup>
        <FactoryTaskGroup Name="Reset_101">
          <Tasks>
            <FactoryTask Task_Attribute_Name="Device_Reset" description="Resets the device via PMBus and waits a default amount of time." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="" TaskType="PMBUS">
              <Parameters />
            </FactoryTask>
            <FactoryTask Task_Attribute_Name="Pause" description="This task pauses the process by the number of milliseconds entered." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="Basically a Thread.Sleep() with logging." TaskType="OTHER">
              <Parameters>
                <FactoryTaskArgument Name="pause_time_msec">
                  <Value xsi:type="xsd:int">150</Value>
                  <Description>number of milliseconds to pause for</Description>
                  <Arg_Type>System.Int32</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
              </Parameters>
            </FactoryTask>
            <FactoryTask Task_Attribute_Name="Message_With_Image" description="This task causes a pop-up dialog with image.  This can be used to validate that a board looks like a golden image.  If the user clicks ok then it is considered a pass.&#xD;&#xA;            If the user clicks cancel then it is considered a fail." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="Picture is stretched.  If no picture is desired use Message task." TaskType="OTHER">
              <Parameters>
                <FactoryTaskArgument Name="title">
                  <Value xsi:type="xsd:string">Cycle Board Power Now</Value>
                  <Description>Title for pop-up</Description>
                  <Arg_Type>System.String</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
                <FactoryTaskArgument Name="message">
                  <Value xsi:type="xsd:string">Cycle Board Power Now</Value>
                  <Description>Main contents of dialog that appears below the picture.</Description>
                  <Arg_Type>System.String</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
                <FactoryTaskArgument Name="image_location">
                  <Value xsi:type="xsd:string">..\Inputs\power_of_on.GIF</Value>
                  <Description>Location of file.</Description>
                  <Arg_Type>System.String</Arg_Type>
                  <Input_Type>FILE</Input_Type>
                </FactoryTaskArgument>
              </Parameters>
            </FactoryTask>            
          </Tasks>
        </FactoryTaskGroup>
        <FactoryTaskGroup Name="Validate_101">
          <Tasks>
            <FactoryTask Task_Attribute_Name="Validate_Vout_Device_All_Rails" description="Verify READ_VOUT on each output rail is within +-percent_pass% of VOUT_COMMAND on all configured rails." NameSpace="TIDP.Factory.TaskLibrary" classType="UCD9240" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="" TaskType="TEST">
              <Parameters>
                <FactoryTaskArgument Name="percent_pass">
                  <Value xsi:type="xsd:double">5</Value>
                  <Description>The allowed percentage variation. [Default: 5]</Description>
                  <Arg_Type>System.Double</Arg_Type>
                  <Input_Type>NORMAL</Input_Type>
                </FactoryTaskArgument>
              </Parameters>
            </FactoryTask>
          </Tasks>
        </FactoryTaskGroup>
        <FactoryTaskGroup Name="End">
          <Tasks>
            <FactoryTask Task_Attribute_Name="Clear_Faults" description="Clears faults on device." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="Displays status in log before and after call to clear faults on device." TaskType="PMBUS">
              <Parameters />
            </FactoryTask>
            <FactoryTask Task_Attribute_Name="Clear_Logged_Faults" description="Clears the logged faults on device as opposed to faults." NameSpace="TIDP.Factory.TaskLibrary" classType="Manufacturing" Assembly="TIDP.Factory.TaskLibrary" dependencies="" Version="1.0.0" Reason_For_Last_Update="" Assembly_File_Version="1.2.15.0" Assembly_Version="1.2.15.0" Technical_Description="" TaskType="PMBUS">
              <Parameters />
            </FactoryTask>
          </Tasks>
        </FactoryTaskGroup>
      </Task_Groups>
    </FactoryDeviceScript>
  </factoryDeviceScripts>
</FactoryScript>