public double[] TDMSReadColumn(int reqColumn) { double[] logColumn = new double[logLength]; TdmsChannel tempChannel = channelsFETCH[reqColumn]; logColumn = tempChannel.GetData <double>(0, (int)logLength); return(logColumn); }
public double[] TDMSReadLine(int reqLine) { double[] logLine = new double[logChannelCount]; for (int i = 0; i < logChannelCount; i++) { TdmsChannel tempChannel = channelsFETCH[i]; logLine[i] = tempChannel.GetData <double>(reqLine, 1)[0]; } return(logLine); }
public double[] TDMSTimeColumn() { double[] logColumn = new double[logLength]; TdmsChannelGroup channelGroupFETCHTime = this.channelGroupsFETCH["EXAM_Data_Internal"]; // Get the channels TdmsChannelCollection channelsFETCHTime = channelGroupFETCHTime.GetChannels(); TdmsChannel tempChannel = channelsFETCHTime["System Time"]; logColumn = tempChannel.GetData <double>(0, (int)logLength); return(logColumn); }