private void LoadHp(XmlDocument xmlDoc, HpConfigData configData)
        {
            XmlOldHp xmlHp = new XmlOldHp();
            xmlHp.LoadConfig(xmlDoc);

            configData.Gpib.IsController = xmlHp.Gpib.SystemController;
            configData.Gpib.BoardIndex = xmlHp.Gpib.BoardIndex;
            configData.Gpib.BoardPrimaryAddress = xmlHp.Gpib.BoardPrimaryAddress;
            configData.Gpib.BoardSecondaryAddress = xmlHp.Gpib.BoardSecondaryAddress;
            configData.Gpib.DevicePrimaryAddress = xmlHp.Gpib.DevicePrimaryAddress;
            configData.Gpib.DeviceSecondaryAddress = xmlHp.Gpib.DeviceSecondaryAddress;
            configData.Gpib.IsEOI = xmlHp.Gpib.IsEoi;
            configData.Gpib.IsEOS = xmlHp.Gpib.IsEos;
            configData.Gpib.EightBitEOS = xmlHp.Gpib.EightBitEos;
            configData.Gpib.EosChar = xmlHp.Gpib.EosChar;
        }
        private void SaveHp(XmlDocument xmlDoc, HpConfigData configData)
        {
            XmlOldHp xmlHp = new XmlOldHp();

            xmlHp.Gpib.SystemController = configData.Gpib.IsController;
            xmlHp.Gpib.BoardIndex = configData.Gpib.BoardIndex;
            xmlHp.Gpib.BoardPrimaryAddress = configData.Gpib.BoardPrimaryAddress;
            xmlHp.Gpib.BoardSecondaryAddress = configData.Gpib.BoardSecondaryAddress;
            xmlHp.Gpib.DevicePrimaryAddress = configData.Gpib.DevicePrimaryAddress;
            xmlHp.Gpib.DeviceSecondaryAddress = configData.Gpib.DeviceSecondaryAddress;
            xmlHp.Gpib.IsEoi = configData.Gpib.IsEOI;
            xmlHp.Gpib.IsEos = configData.Gpib.IsEOS;
            xmlHp.Gpib.EightBitEos = configData.Gpib.EightBitEOS;
            xmlHp.Gpib.EosChar = configData.Gpib.EosChar;

            xmlHp.SaveConfig(xmlDoc);
        }