public List <float[]> ChannelsSnapShot(short n_channels) { List <float[]> snapshot = new List <float[]>(); foreach (DEVICEID id in devices) { float[] aidata = new float[n_channels]; aio.MultiAiEx(id, n_channels, aidata); snapshot.Add(aidata); } return(snapshot); }