引用
引用第3樓030403118于2018-11-11 21:50發表的  :
因為你是浮點數 轉成浮點數就好了
 short[] arr = new short[2];
            float[] b = new float[arr.Length];
            int rtn=  com.ReadDeviceBlock2("D0",2, out arr[0]);                      
            for (int ia= 0; a < arr.Length; a++)
            {
                b[a] = (float)arr[a];
            }
我這樣輸出的還是一樣的 我很懵逼