上位机与下位机数据采集
voidCHiekouDlg::OnComm() { //TODO:Addyourcontrolnotificationhandlercodehere VARIANTvariant_inp; COleSafeArraysafearray_inp; floattemp; LONGlen,k; BYTErxdata[2048];//设置BYTE数组An8-bitintegerthatisnotsigned. CStringstrtemp; //floatFSR20V=20,Bit12=4096,LSB; //