public bool Connect(String DeviceSerialNumber, t_AsicModels ASICMODEL, int AsicCount)
        {
            SerialNumber = DeviceSerialNumber;
            int retcode = phy.NI_USB3_ConnectDevice_M(DeviceSerialNumber);

            if (retcode == 0)
            {
                ConnectedAsic = ASICMODEL;
                if (ConnectedAsic == t_AsicModels.PETIROC)
                {
                    PetirocClass = new DT5550W_PETIROC(ref phy);
                    PetirocClass.SetManualAsicInfo("PET", AsicCount);
                    PetirocClass.PowerASIC(false);
                    PetirocClass.PowerASIC(true);
                }
                else
                if (ConnectedAsic == t_AsicModels.CITIROC)
                {
                    CitirocClass = new DT5550W_CITIROC(ref phy);
                    CitirocClass.SetManualAsicInfo("CIT", AsicCount);
                }

                phy.NI_USB3_SetIICControllerBaseAddress_M(
                    RFA_IIC_CONTROL,
                    RFA_IIC_STATUS);
                return(true);
            }
            else
            {
                return(false);
            }
        }
        public bool Connect(String DeviceSerialNumber)
        {
            String model      = "AAAAAAAAAAAAAAAAAAA";
            int    asic_count = 0;
            int    SN         = 0;

            SerialNumber = DeviceSerialNumber;
            int retcode = phy.NI_USB3_ConnectDevice_M(DeviceSerialNumber);

            if (retcode != 0)
            {
                return(false);
            }

            phy.NI_USB3_SetIICControllerBaseAddress_M(
                RFA_IIC_CONTROL,
                RFA_IIC_STATUS);

            if (GetDGCardModel(ref model, ref asic_count, ref SN) != true)
            {
                return(false);
            }

            if (model == "PET")
            {
                ConnectedAsic = t_AsicModels.PETIROC;
                PetirocClass  = new DT5550W_PETIROC(ref phy);
                PetirocClass.SetManualAsicInfo("PET", asic_count);
                PetirocClass.PowerASIC(false);
                PetirocClass.PowerASIC(true);
            }
            else
            {
                if (model == "CIT")
                {
                    ConnectedAsic = t_AsicModels.CITIROC;
                    CitirocClass  = new DT5550W_CITIROC(ref phy);
                    CitirocClass.SetManualAsicInfo("CIT", asic_count);
                }
                else
                {
                    return(false);
                }
            }

            if (retcode == 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }