Exemple #1
0
 void Set_and_Send_ELVSS_CMD(OC_Mode SelectedMode, int band, double ELVSS_Voltages)
 {
     ocparam.Set_OC_Mode_ELVSS_Voltage(ELVSS_Voltages, SelectedMode, band);
     byte[][] output_cmd = ModelFactory.Get_DP213_Instance().Get_ELVSS_CMD(DP213OCSet.GetGammaSet(SelectedMode), ocparam.Get_OC_Mode_Cold_ELVSS_Voltages(SelectedMode));
     cmd.SendMipiCMD(output_cmd);
     api.WriteLine("(Set and Send and update_textboxes) set/band ELVSS_Voltages : (" + DP213OCSet.GetGammaSet(SelectedMode).ToString() + "/" + band.ToString() + ")" + ELVSS_Voltages.ToString());
 }
Exemple #2
0
        private void Send_Gamma_AM1_AM0(OC_Mode mode, int band)
        {
            RGB[] RGBs = ocparam.Get_OC_Mode_RGB(mode, band);
            RGB   AM0  = ocparam.Get_OC_Mode_AM0(mode, band);
            RGB   AM1  = ocparam.Get_OC_Mode_AM1(mode, band);

            byte[][] output_cmds = ModelFactory.Get_DP213_Instance().Get_Gamma_AM1_AM0_CMD(DP213OCSet.GetGammaSet(mode), band, RGBs, AM1, AM0);
            cmd.SendMipiCMD(output_cmds);
            Thread.Sleep(20);
        }
Exemple #3
0
        public void Set_and_Send_VREF0(double New_VREF0_Voltage)
        {
            ocparam.Set_Normal_REF0(Convert.ToByte(Imported_my_cpp_dll.DP213_VREF0_Voltage_to_Dec(New_VREF0_Voltage)));

            api.WriteLine("New VREF0 :" + ocparam.Get_Normal_REF0());

            byte[][] Output_CMD = ModelFactory.Get_DP213_Instance().Get_REF4095_REF0_CMD(ocparam.Get_Normal_REF4095(), ocparam.Get_Normal_REF0());
            cmd.SendMipiCMD(Output_CMD);
        }
Exemple #4
0
 protected void ApplyVreg1(OC_Mode mode)
 {
     byte[][] output_cmds = ModelFactory.Get_DP213_Instance().Get_Vreg1_CMD(DP213OCSet.GetGammaSet(mode), ocparam.Get_OC_Mode_Vreg1(mode));
     cmd.SendMipiCMD(output_cmds);
     Thread.Sleep(20);
 }