public float CardPoll() //use this method for getting data { ushort Jump20v = 0; ushort Bipolar = 0; //1-yes, 0-no float result = PISO813.AD_Float(_config.AddressBase, Jump20v, Bipolar); //should return -10 10, value scaled according to SetChGain if (result == -100) { throw new ApplicationException("a/d converter failed"); } return(result); }