public void Set_DPHY_Swing(MIPI_Parameter MIPI_Setting) { PGRemoteRPCClient client = new PGRemoteRPCClient(); int rc = client.Connect("", 2799); string errMsg = ""; string statusMsg = ""; byte[] DUTResp = new byte[0]; if (rc < 0) { return; } client.PGRemoteCmd(RPCCmds.START_EDIT_CONFIG, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.SET_HS_HIGH_VOLT, 0, MIPI_Setting.HS_High, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.SET_HS_LOW_VOLT, 0, MIPI_Setting.HS_High, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.SET_LP_HIGH_VOLT, 0, MIPI_Setting.LP_High, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.SET_LP_LOW_VOLT, 0, MIPI_Setting.LP_Low, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.END_EDIT_CONFIG, ref errMsg, ref statusMsg); client.Disconnect(true); }
public void Set_DPHY_Skew(MIPI_Parameter MIPI_Setting) { PGRemoteRPCClient client = new PGRemoteRPCClient(); int rc = client.Connect("", 2799); string errMsg = ""; string statusMsg = ""; byte[] DUTResp = new byte[0]; if (rc < 0) { return; } client.PGRemoteCmd(RPCCmds.START_EDIT_CONFIG, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.SET_HS_DELAY, 0, MIPI_Setting.D0_Delay * 1e-12, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.SET_HS_DELAY, 1, MIPI_Setting.D1_Delay * 1e-12, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.SET_HS_DELAY, 2, MIPI_Setting.D2_Delay * 1e-12, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.SET_HS_DELAY, 3, MIPI_Setting.D3_Delay * 1e-12, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.SET_HS_DELAY, 4, MIPI_Setting.CLK_Delay * 1e-12, ref errMsg, ref statusMsg); client.PGRemoteCmd(RPCCmds.END_EDIT_CONFIG, ref errMsg, ref statusMsg); client.Disconnect(true); }