604 double retval, V, Vcor;
608 case datrw::tsoft::SIDIODE:
609 case datrw::tsoft::SIDIODE1:
612 case datrw::tsoft::PT100:
615 case datrw::tsoft::PT100V:
619 case datrw::tsoft::PT100_K:
622 case datrw::tsoft::PT100V_K:
626 case datrw::tsoft::PSI_1_1:
629 case datrw::tsoft::GEPLHe19:
632 case datrw::tsoft::GEPLHe23:
635 case datrw::tsoft::TD:
638 case datrw::tsoft::TDV:
641 case datrw::tsoft::MASFLO1:
647 retval = ( -39.35 + (48.390 * V) - (11.737 * V * V) + (2.3064 * V * V * V) ) ;
653 case datrw::tsoft::H2OFLO1:
656 case datrw::tsoft::SIDIODE2:
659 if ( Vcor > 1.25 ) { Vcor = chanval - (0.2363 * ( chanval - 1.25 )); }
663 case datrw::tsoft::SIDIODE3:
665 Vcor = chanval/4.98 ;
668 case datrw::tsoft::SIDIODE4:
670 Vcor = chanval/4.98 ;
671 if ( Vcor > 1.25) { Vcor = Vcor - (0.2363 * ( Vcor - 1.25 )); }
674 case datrw::tsoft::POWERV:
678 { retval = chanval * chanval; }
680 case datrw::tsoft::PSI_500:
683 case datrw::tsoft::PSI_3000:
686 case datrw::tsoft::KPA_3447:
689 case datrw::tsoft::KPA_20684:
692 case datrw::tsoft::PSI_2500:
695 case datrw::tsoft::KPA_17236:
698 case datrw::tsoft::MPA_17236:
701 case datrw::tsoft::MPA_3447:
704 case datrw::tsoft::MPA_20684:
707 case datrw::tsoft::FAN16:
710 case datrw::tsoft::C20P4:
711 retval = chanval * 20.4;
713 case datrw::tsoft::CNSP:
714 case datrw::tsoft::CNFD:
718 std::cerr <<
"WARNING: \n" 719 <<
" unknown channel conversion code: " << ConvCode <<
"\n";
double convert_v_to_Pres_KPa_0_3447(double volts)
double convert_v_to_Pres_MPa_0_3447(double volts)
double convert_pt100_ohms_to_Kelvin(double ohms)
double convert_pt100_ohms_to_celsius(double ohms)
double convert_v_to_Pres_MPa_0_20684(double volts)
double convert_td_ohms_to_celsius(double ohms)
double convert_sidiode_volts_to_kelvin_with_correction(double volts)
double convert_volts_to_psi(double volts)
double convert_v_to_Pres_KPa_0_17236(double volts)
double convert_sidiode_volts_to_kelvin(double volts)
double convert_v_to_FAN16(double volts)
double convert_v_to_Pres_PSI_0_3000(double volts)
double convert_GEPLHe19_volts_to_percent(double volts)
double convert_v_to_Pres_PSI_0_500(double volts)
double convert_v_to_Pres_MPa_0_17236(double volts)
double convert_v_to_Pres_PSI_0_2500(double volts)
double convert_v_to_Pres_KPa_0_20684(double volts)
double convert_GEPLHe23_volts_to_percent(double volts)