Пример #1
0
        public void Send_CM_CMDs_As_Original_Values()
        {
            DP213_CMDS_Write_Read_Update_Variables cmds = DP213_CMDS_Write_Read_Update_Variables.getInstance();

            for (int Set_index = 0; Set_index < DP213_Static.Max_Set_Amount; Set_index++)
            {
                Gamma_Set Set = DP213_Static.Convert_to_Gamma_Set_From_int(Set_index);
                if (Is_GammaSet_ELVSS_Changed[Set_index])
                {
                    cmds.Send_ELVSS_CMD(Set);
                }
                if (Is_GammaSet_Cold_ELVSS_Changed[Set_index])
                {
                    cmds.Send_Cold_ELVSS_CMD(Set);
                }
                if (Is_GammaSet_Vinit2_Changed[Set_index])
                {
                    cmds.Send_Vinit2_CMD(Set);
                }
                if (Is_GammaSet_Cold_Vinit2_Changed[Set_index])
                {
                    cmds.Send_Cold_Vinit2_CMD(Set);
                }
            }
        }
Пример #2
0
 private void ELVSS_Margin_Test(Gamma_Set Set, int band)
 {
     for (double ELVSS_Voltage = -6.0; ((ELVSS_Voltage <= -0.8) && (vars.Optic_Compensation_Stop == false)); ELVSS_Voltage += 0.1)
     {
         cmds.Set_Voltage_ELVSS_and_and_Update_Textboxes(Set, band, ELVSS_Voltage);
         cmds.Send_ELVSS_CMD(Set);
         Thread.Sleep(50);
         f1().CA_Measure_For_ELVSS(ELVSS_Voltage.ToString());
     }
 }